Cancel Order Lines

You can cancel one or more order lines. You must include a purchaseOrderId when cancelling an order line. After cancelling your order, update the inventory for the cancelled order and send it in the next inventory feed.

The response to a successful call contains the order with the cancelled line item.

Cancellation Reasons supported:

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

The purchase order ID

Body Params

File fields

orderLines
object
required

Container for the cancellation details

Headers
string
required

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
required

The Epoch timestamp

string
required

The vendor's digital signature, generated by running the JAR file or custom generation code

string
required

A unique ID required to access the API

Response

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