Warehouses and bin locations
Use warehouse and bin-location operations when a merchant integration needs to mirror the warehouse structure or maintain storage-location codes.
Available operations
- List warehouses with warehouses.
- List bin locations with binLocations.
- Create warehouses with createWarehouse.
- Delete warehouses with deleteWarehouse.
- Create or update bin locations with upsertBinLocation.
- Delete bin locations with deleteBinLocation.
Example: list bin locations in a warehouse
query BinLocations($warehouseId: ID!) {
binLocations(filter: { warehouseId: { equals: $warehouseId } }) {
edges {
node {
id
code
position
}
}
}
}
Notes
Deleting a warehouse or bin location can fail when relevant stock still exists. Integrations should read stock first when they need to clean up warehouse structures.