Delete an order
DELETE
/v1/orders/{id}Factory API keyBase URL api.skuflo.io!
This endpoint changes or removes real data. It cannot easily be undone, so check the values before you call it, and use a test factory if you have one.
One with scanned pieces needs an admin and force=true; other staff ask with POST /v1/orders/:id/delete-request.
Try it nowPath parameters#
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | · |
Query parameters#
| Name | Type | Description |
|---|---|---|
forceoptional | boolean | · Default false |
Responses#
| Status | Meaning |
|---|---|
| 200 | Success. An example body is in the column on the right. |
Other errors#
| Status | Meaning |
|---|---|
| 401 | No key, or the key is not recognised. |
| 402 | billing_required. Reading always works, but this is a write and stops once a trial ends or a plan is cancelled. |
| 403 | The key is valid but its role cannot do this. |
| 404 | Nothing with that id in your factory. |
| 429 | More than 600 requests a minute. Wait retry-after seconds. |