Docs

Cancel Order Lines

Cancel one or more order lines for a specific `purchaseOrderId`.

PUT

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
stringrequired

Unique Walmart purchaseOrderId that identifies the purchase order.

string

Identifier of the specific order line to be cancelled.

array of object

Array of objects, each specifying cancellation details for an individual order line.

string

Unit of measure for the status quantity (such as EACH or EA), defining how the `amount` is counted.

number

Numeric value representing how many units to be cancelled.

string

Reason for cancellation. Example: 'CUSTOMER_REQUESTED_SELLER_TO_CANCEL'. Cancellation reason should not be "CUSTOMER_REQUESTED_SELLER_TO_CANCEL" for non intent to cancel orders' Cancellation reason should not be "SELLER_CANCEL_FRAUD_STOP_SHIPMENT" for non fraudulent orders. If you suspect fraud, contact Walmart Risk Prevention Team ([email protected]). Include PO details and reason you suspect the order. We will contact you in 2-4 hours. If your suspicion of fraud is proven, we will cancel the order and notify you. If you select the cancellation reason as "SELLER_CANCEL_OUT_OF_STOCK", Walmart will mark the specific item as out of stock in the selected warehouse. To make the item available for sale again, please replenish its inventory.

Uncommon arguments
boolean

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.