more cart
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "fulfill-order",
|
||||
"description": "Create a fulfillment (shipment) for an order and send the shipping notification to the customer.",
|
||||
"steps": [
|
||||
{
|
||||
"name": "fulfill",
|
||||
"action": "create_fulfillment",
|
||||
"hooks": {
|
||||
"after": [
|
||||
{ "type": "log", "params": { "message": "fulfillment created" } },
|
||||
{ "type": "send_email", "when": "has_customer_email", "params": { "template": "fulfillment-shipped" } },
|
||||
{ "type": "fulfillment_webhook", "params": { "url": "", "method": "POST" }, "continueOnError": true }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user