Cancelled order
documentedWebhook invoked when an order is cancelled.
POST /cancelledOrderOrderno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$webhook_domain}}/cancelledOrder" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"orderNumber":"{{$orderNumber}}","status":"{{$status}}","supplierId":{{$supplierId}},"supplierName":"{{$supplierName}}","resellerId":{{$resellerId}},"resellerName":"{{$resellerName}}","customer":{"id":{{$customerId}},"name":"{{$customerName}}","email":"{{$customerEmail}}","mobile":"{{$customerPhone}}"},"items":[{"productName":"{{$productName}}","productCode":"{{$productCode}}","startTime":"{{$startTime}}","startTimeLocal":"{{$startTimeLocal}}","quantities":[{"optionLabel":"{{$optionLabel}}","value":{{$quantity}}}]}],"totalAmount":{{$totalAmount}},"totalCurrency":"{{$currency}}","dateCreated":"{{$dateCreated}}","dateUpdated":"{{$dateUpdated}}"}'