post
https://marketplace.walmartapis.com/v3/orders//cancel
To cancel one or more order lines, you must include the purchaseOrderId in your request. After a successful cancellation, the response will show the order with the canceled line items.
Cancellation Reason Codes Table
| Market | Cancellation Reason |
|---|---|
| CA ( Canada) | CUSTOMER_REQUESTED_SELLER_TO_CANCEL CANCEL_BY_SELLER |
| CL ( Chile ) | ERROR_DE_PRECIO AGOTADO RECHAZAR |
| MX ( Mexico ) | MIRAKL_REFUND_45 MIRAKL_REFUND_15 SELLER_REJECTION |
| US ( USA ) | 1. Do not use CUSTOMER_REQUESTED_SELLER_TO_CANCEL for non-intent to cancel orders. 2. Do not use SELLER_CANCEL_FRAUD_STOP_SHIPMENT for non-fraudulent orders. If you suspect fraud, contact the Walmart Risk Prevention Team at( [email protected] ) with PO details and your reason. The team will respond in 2-4 hours. If fraud is confirmed, Walmart will cancel the order and notify you. 3. If you use SELLER_CANCEL_OUT_OF_STOCK, Walmart will mark the item as out of stock in the selected warehouse. To make the item available for sale again, replenish its inventory. |
Market availability: Global

