The physical inventory feature preview gives you early access to a new set of inventory APIs in the unstable version of the GraphQL Admin API. Enable it on a development store to build and test against the core primitives merchants use to organize a stockroom: bins, counts, and purchase orders.
Because these APIs are under active development, they're available behind a feature preview. This lets you start building early and provide feedback on the schema and behavior before the APIs become stable.
What's included
- Bins. Named storage locations within a location, such as a shelf or rack. Create and update bins, and read the on-hand quantities held in each one.
- Counts. Set the on-hand quantity of an inventory item in a specific bin with the
mutation. - Purchase orders. Read purchase order data through the GraphQL Admin API, including the purchase order, its line items, and its supplier.
How to enable it
- Create a development store or use an existing one.
- Enable the Physical inventory feature preview on that store.
- Configure your app to use the
unstableversion of the GraphQL Admin API for all physical inventory queries and mutations.
Only stores with the feature preview enabled can call these APIs; calls from stores that haven't enabled the preview return an access error.
For examples and details on how bins integrate with your existing location inventory, see the Physical inventory feature preview guide.