post

/orders/cancel

Cancels an order.

Special Conditions

Only the approved orders can be cancelled.

Returns

The cancelled order.

Request Parameters

1 Query Parameter

Request Body

Schema
object
reason
string

Order refund reason code. Possible values: “unableToFulfill” - unable to fulfill for some reason not listed here (please provide a note with this reason code), “outOfStock” - product variation is out of stock, “wrongAddress” - shipping address is invalid.

note
string

A note to the user explaining reason for the refund. This field is required if reason_code is “unableToFulfill”

Responses

Order

Schema
object
data
object

An order

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
host