Bins Realtime-enabled
GETPOSTPATCHDELETETable: Bin
eOne/core/v1.0/bins
Read and write warehouse bins. A bin belongs to a location; locationCode + code together form the key, so both are required on create.
Create a bin
POST/bins
{
"locationCode": "MAIN",
"code": "A-01-001",
"displayName": "Aisle A, Bay 01, Level 001",
"zoneCode": "PICK",
"integrationId": "WMS-A01001"
}Create bins under a location (deep insert)
Bins are also a child of Locations. POST to the location with a bins array and the parent locationCode is stamped for you:
POST /locations
{
"code": "MAIN",
"displayName": "Main Warehouse",
"bins": [
{ "code": "RECEIVE", "displayName": "Receiving" },
{ "code": "SHIP", "displayName": "Shipping" }
]
}Rename
Changing
locationCode or code on a PATCH renames the bin (carrying its contents) rather than creating a new one.Bins carry an
integrationId, so you can also address one by your own external key. See The Integration Id.