One order with every piece and its scan history

GET/v1/orders/{id}
Auth: Factory API key

Path parameters

NameTypeDescription
idrequiredstring·

Response

200

FieldTypeDescription
idstring·
order_nostring·
statusstring·
one of: "awaiting_production", "in_production", "produced", "in_stock", "partially_dispatched", "dispatched", "cancelled"
production_datestring (date), nullable·
needed_bystring (date), nullable·
sourcestring·
one of: "upload", "api"
created_atstring (date-time)·
produced_atstring (date-time), nullable·
in_stock_atstring (date-time), nullable·
dispatched_atstring (date-time), nullable·
retailer_idstring·
retailer_namestring·
retailer_codestring·
stuckbooleanproduced/in_stock for longer than the factory's stuck_after_days, or partially dispatched
pieces_totalinteger·
pieces_scannedinteger·
pieces_in_stockinteger·
pieces_dispatchedinteger·
piece_statesstring[]·
itemsstringSKU + colour of every line, comma separated
piecesobject[]·
idstring·
barcodestring·
unit_nointeger·
piece_nointeger·
piece_namestring, nullable·
statusstring·
locationstring, nullable·
produced_atstring (date-time), nullable·
in_stock_atstring (date-time), nullable·
dispatched_atstring (date-time), nullable·
label_printed_atstring (date-time), nullable·
skustring·
colourstring, nullable·
qtyinteger·
pieces_per_unitinteger·
scansobject[]·
eventstring·
acceptedboolean·
reasonstring, nullable·
locationstring, nullable·
stationstring·
atstring (date-time)·

Code samples

curl "https://api.skuflo.io/v1/orders/id_9c1a4e" \
  -H "Authorization: Bearer sk_live_..."