Accept several waiting orders at once
POST/v1/orders/review/acceptFactory API keyBase URL api.skuflo.io
Puts each order on the production list for production_date (default: the next working day). Emits order.accepted for each.
Try it nowBody parameters#
| Name | Type | Description |
|---|
order_idsrequired | string (uuid)[] | · |
production_dateoptional | string | · |
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. |
| 422 | The body failed validation. The response lists every problem at once. |
| 429 | More than 600 requests a minute. Wait retry-after seconds. |