Export Branch Inventory
JSON-REST endpoint for exporting branch inventory by item and variant.
Purpose
This endpoint provides per-branch inventory for one item including variant structure.
Endpoint
- Method:
GET - URL pattern:
http://<server>:<odata-port>/<service-tier>/api/BEterna/Export/v2.0/companies(<company-system-id>)/branchInventories?$filter=webshopChannelCode eq '<webshop-channel-code>' and no eq '<item-no>'&$expand=branchItemVariants($expand=branchLocations)
Required Parameters
webshopChannelCodein filterno(item number) in filter
Key Response Fields
- Header:
webshopChannelCode,no - Variants:
code - Branch data:
code,inventory,calculationTimeStamp
Result
- The webshop receives branch-level availability data.