Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

An access token, bound to one account.

Path Parameters

id
string
required
orderId
string
required

Body

application/json
reason
enum<string>
Available options:
customer,
declined,
fraud,
inventory,
staff,
other
staffNote
string
Maximum string length: 255
restock
any
Available options:
1,
1,
true,
true,
on,
0,
0,
false,
false
refund
any
Available options:
1,
1,
true,
true,
on,
0,
0,
false,
false
notify
any
Available options:
1,
1,
true,
true,
on,
0,
0,
false,
false
requestApproval
any
Available options:
1,
1,
true,
true,
on,
0,
0,
false,
false

Response

OK

data
object
required