Cancel Order Lines

You can cancel one or more order lines. You must include a purchaseOrderId when cancelling an order line. The response to a successful call contains the order with the cancelled line items

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique Walmart purchaseOrderId that identifies the purchase order.

Body Params

File fields

orderCancellation
object

Container for cancellation details on a purchase order, including which lines to cancel and their new statuses.

Headers
string
required

A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID

string
enum

Include this header to access the Marketplace dynamic sandbox environment. The dynamic sandbox is only available in the US market.

Allowed:
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json