One order with every piece and its scan history
GET
Try it now/v1/orders/{id}Factory API keyBase URL api.skuflo.ioPath parameters#
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | · |
Responses#
| Status | Meaning |
|---|---|
| 200 | Success. An example body is in the column on the right. |
Response fields
| Name | Type | Description |
|---|---|---|
id | string | · |
order_no | string | · |
po_number | string, nullable | the retailer's purchase order number, when they gave one |
status | string | pending_review is an order a retailer sent that you have not accepted yet: it is not on the production list. rejected was turned down (see rejection_reason).One of "pending_review", "rejected", "awaiting_production", "in_production", "produced", "in_stock", "partially_dispatched", "dispatched", "cancelled" |
processed_at | string (date-time), nullable | when the factory marked the order as processed (sent into production) |
rejection_reason | string, nullable | · |
production_date | string (date), nullable | · |
needed_by | string (date), nullable | · |
source | string | · One of "upload", "api", "portal", "manual" |
created_at | string (date-time) | · |
produced_at | string (date-time), nullable | · |
in_stock_at | string (date-time), nullable | · |
dispatched_at | string (date-time), nullable | · |
retailer_id | string | · |
retailer_name | string | · |
retailer_code | string | · |
stuck | boolean | produced/in_stock for longer than the factory's stuck_after_days, or partially dispatched |
pieces_total | integer | · |
pieces_scanned | integer | · |
pieces_in_stock | integer | · |
pieces_dispatched | integer | · |
piece_states | string[] | · |
items | string | SKU + colour of every line, comma separated |
pieces | object[] | · |
id | string | · |
barcode | string | The label barcode as your scanner reads it. Send it raw: control characters, symbology prefixes and our QR link are cleaned up for you. |
unit_no | integer | · |
piece_no | integer | · |
piece_name | string, nullable | · |
status | string | · |
location | string, nullable | · |
produced_at | string (date-time), nullable | · |
in_stock_at | string (date-time), nullable | · |
dispatched_at | string (date-time), nullable | · |
label_printed_at | string (date-time), nullable | · |
sku | string | · |
colour | string, nullable | · |
qty | integer | · |
pieces_per_unit | integer | · |
description | string, nullable | · |
product_type | string, nullable | · |
scans | object[] | · |
event | string | · |
accepted | boolean | · |
reason | string, nullable | · |
location | string, nullable | · |
station | string | · |
at | string (date-time) | · |