Inventory API Frequently Asked Questions
Can I update inventory levels in bulk?
Yes. You can use the GraphQL Admin API and the inventoryBulkAdjustQuantityAtLocation mutation to update inventory levels in bulk.
If you're using the REST Admin API and the adjust endpoint, then you can only update inventory levels individually.
Can I create new locations with the API?
No. The Location API is read-only.
How do I check if a shop uses multiple locations?
Query the Shop endpoint. If a shop is multi-location enabled, then the
multi_location_enabled property returns
How many locations can a single Shopify store have?
The maximum number of locations that you can have depends on your plan:
- Shopify Lite - 3
- Basic Shopify - 4
- Shopify - 5
- Advanced Shopify - 8
- Shopify Plus - 20 (Contact Plus Support if you need more than 20 locations.)
If a product variant is deleted, will its associated inventory item be automatically deleted as well?
Why am I getting a 403 Forbidden error response code?
The server is refusing to respond to the request. This is usually because you haven't included the inventory scopes for this action. Make sure you have the required
read/write_inventory permissions. For more information on the required permissions, see the guide for Migrating to multi-location inventory.