Orders
Cancel Order
Cancel an order before it ships. The agents stop calling about it.
POST
https://rassmi.com/api/v1/orders/{order}/cancel
Authorization
-
Authorizationheaderrequired
Bearer rsk_…: the store's API key, from API Key in your Rassmi dashboard.
Path parameters
-
order
string
required
The order ID.
Responses
| Status | Meaning |
200 | Success. The body is shown on the right. |
404 | No such resource in this store.
|
422 | The order is shipped, delivered, returned or cancelled already.
|
401 | Missing, unknown, paused or expired API key. |
429 | More than 60 requests in a minute. See Rate limits. |