200 Successful Response
Schema: SupplyChainResponse
-
nodesarray · SupplyChainNode SupplyChainNode -
12 fields
-
idstring required -
Location ID.
-
namestring required -
Display name of the location.
-
codestring -
Short code (e.g. 'WH1').
-
location_typestring required -
LocationTypeEnum value.
-
is_defaultboolean -
Whether this is the business default location.
-
citystring -
City for layout grouping.
-
statestring -
State/region for layout grouping.
-
on_hand_unitsnumber -
Total units on hand at this location across all variants.
-
on_hand_value_centsinteger -
Total value of on-hand inventory at this location, in cents.
-
open_po_countinteger -
POs with this location as ship_from or ship_to and a non-terminal status.
-
low_stock_countinteger -
Variants at this location whose available <= reorder_point.
-
vendor_idstring -
Vendor whose default_location_id points here, if any.
-
-
edgesarray · SupplyChainEdge SupplyChainEdge -
8 fields
-
idstring required -
Underlying PO or Transfer ID.
-
kindstring required -
'purchase_order' or 'transfer'.
-
from_location_idstring -
Source location ID.
-
to_location_idstring -
Destination location ID.
-
labelstring -
Human-readable label (e.g. 'PO-123' or 'TRF-456').
-
statusstring required -
Current status of the PO or transfer.
-
total_centsinteger -
PO total (for PO edges) in cents. None for transfers.
-
expected_arrival_datestring · date-time -
When goods are expected to arrive.
-
-
generated_atstring · date-time required -
Server time the payload was computed.