Overview
Cancel an order that cannot be fulfilled. You must provide a cancellation date and reason for the cancellation.Cancel Order
Cancel an order by providing the cancellation date and reason.Path Parameters
The e-CROSS order ID of the order to cancel.
Request Parameters
The date and time of the cancellation event, in ISO 8601 format (e.g.,
2025-01-05T20:00:00Z).Human-readable reason for the cancellation. Examples:
- “Missing inventory to fulfill the order”
- “Customer requested cancellation”
- “Payment issue”
- “Product discontinued”
Response Fields
The response returns the complete order object with updated status. Key fields include:The order status, which will be
CANCELLED after successful cancellation.The date when the order was cancelled, in ISO 8601 format.
The status history will include a new entry with status
CANCELLED and the cancelReason in the eventData.Common reasons for cancellation include missing inventory, customer requests, payment issues, or product discontinuation. Provide clear, descriptive reasons to help with order management and reporting.
Create Shipment
Next: Learn how to create shipments for first mile dispatch
