post https://api-gateway.walmart.com/v3/orders//cancel
POST /v3/orders/{purchaseOrderId}/cancel
This request cancels one or more order lines before an order has been fulfilled.
A purchaseOrderId
must be included to cancel an order line.
Update the inventory after canceling an order.
The response to a successful call contains the order with the canceled line item.
Supported cancellation reasons include:
- SUPPLIER_CANCEL_CUSTOMER_REQUEST
- SUPPLIER_CANCEL_BACKORDER
- SUPPLIER_CANCEL_DISCONTINUE
- SUPPLIER_CANCEL_UNRECOGNIZED