Skip to main content

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

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.