Orders
Discard a draft order
Discards a draft order, such as a quote, and returns a message under order.
POST
cURL
Send an optional
note under order. The draft is removed: reading the order afterwards returns 404.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set
host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.Authorizations
An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.
Path Parameters
The quote's order id. A quote is an order created with quote_order: true.
Body
application/json
Response
200 - application/json
A confirmation message, under order.message.