Cancel order lines

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 your 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_DISCONTINUED
  • SUPPLIER_CANCEL_UNRECOGNIZED
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier associated of the purchase order.

Query Params
string
required

Distribution facility distributor identifier.

This parameter identifies the facility from which the inventory is requested. Facility identifiers are autogenerated during account creation, when adding new facilities, and when updating existing facilities in Supplier Center. Take care to use the latest value for your desired facility.

Body Params

Request fields

orderCancellation
object
required

Contains purchase order line cancel request information.

Headers
string

Identifier that tracks the consumer request by channel.

Use the consumer channel type received during your onboarding. Contact your system administrator or developer management for the correct WM_CONSUMER.CHANNEL.TYPE value.

string
required

Unique identifier for each API call, used to track and debug issues.

Use a randomly generated GUID for this ID.

string
required

Access token returned by the Create access token request.

This value is required for token-based authentication.

Response

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