UPDATE: New filters for Locations query

We added 3 new filters to the locations query to make finding a specific one easier and cheaper in credits:

  1. name: "string" You can now pull them by their name. If multiple warehouses share the same naming convention, use combined with the warehouse_id to pull only one. This is not a wildcard field, the full exact name needs to be passed.
  2. pickable: boolean
  3. 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
        }
      }
    }
  }
}
2 Likes