Skip to content
Developersskuflo.iov1Changelog

Finished goods by bay, ageing and value

GET/v1/stockFactory API keyBase URL api.skuflo.io

Pieces made and stored in a rack bay, not yet loaded (and older pieces booked in stock). Filter to one rack with ?rack=A.

Try it now

Query parameters#

NameTypeDescription
rackoptionalstringRack code, e.g. A. Matches every bay on that rack.

Responses#

StatusMeaning
200Success. An example body is in the column on the right.

Response fields

NameTypeDescription
summaryobject·
piecesinteger·
under_7integerpieces in stock under 7 days
days_8_14integer·
over_14integer·
avg_daysanyPostgres numeric, comes back as a decimal string
value_at_costanyPostgres numeric, comes back as a decimal string; null with no unit_cost configured
racksobject[]·
codestring·
zonestring·
baysinteger·
bay_capacityinteger·
baysobject[]·
baystring·
piecesinteger·
oldeststring (date-time)·
over_7_daysboolean·

Other errors#

StatusMeaning
401No key, or the key is not recognised.
429More than 600 requests a minute. Wait retry-after seconds.