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

The access token retrieved in the Token API call

string

A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding

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
required

Walmart Service Name

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 request content types

Allowed:
Response

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