We added 3 new filters to the locations
query to make finding a specific one easier and cheaper in credits:
name: "string"
You can now pull them by their name. If multiple warehouses share the same naming convention, use combined with thewarehouse_id
to pull only one. This is not a wildcard field, the full exact name needs to be passed.pickable: boolean
sellable: boolean
Pickable and sellable are bin attributes. You can use either or both to pull all bins that match the boolean value for that attribute.
Here are all of them used in a query:
query {
locations(
name: "string"
pickable: boolean
sellable: boolean
) {
data {
edges {
node {
id
}
}
}
}
}