Cancel order

Cancels the order with the given id, with an optional reason, and options to restock the cancelled items and issue a refund. Returns the resulting refund.

Required scope: UPDATE_ORDERS.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

For detailed request and response body specifications, please refer to the Partner API reference documentation here.

Path Params
string
required

The site's unique name (its ID), returned when the site is created.

string
required

The order's ID.

Body Params
string | null
boolean
boolean
Responses

500

Internal error in the Integration Hub. The body is empty.

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