cURL
curl --request POST \ --url https://prod01-apigw.{customer_name}.fabric.zone/api-order/orders/bulk-cancel \ --header 'Content-Type: application/json' \ --header 'x-site-context: <x-site-context>' \ --data '[ { "cancellationCode": "123", "orderId": "2947-5955-82579", "returnMessage": "Customer not interested" } ]'
[ { "orderId": "2566-5214-47418", "status": "Error", "code": "ORDER_NOT_FOUND", "message": "Order ID Not Found" }, { "orderId": "8426-1549-34543", "status": "Successfully cancelled order" } ]
Bulk cancel orders
15
Was this page helpful?