v1

latestSwagger 2.02026-07-149019.3 KB
Version 3

Cancel order lines

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

post/v3/orders/{purchaseOrderId}/cancel

Path parameters

purchaseOrderIdstring required

Purchase Order ID

Query parameters

shipNodestring

Ship Node

Headers

Content-Type'application/xml' | 'application/json' required

application/xml, application/json

Accept'application/xml' | 'application/json' required

application/xml, application/json

WM_CONSUMER.CHANNEL.TYPE'SWAGGER_CHANNEL_TYPE' required

Channel Type

WM_CONSUMER.IDstring required

Your Consumer ID

WM_SEC.TIMESTAMPstring required

Epoch timestamp

WM_SEC.AUTH_SIGNATUREstring required

Authentication signature

WM_SVC.NAMEstring required

The Service name

WM_QOS.CORRELATION_IDstring required

A Transaction ID

Request body

string required

Response

successful operation