--- title: >- New Set Quantities Graphql Endpoint for Setting Available and On Hand Inventory Quantites - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/new-set-quantities-graphql-endpoint-for-setting-available-and-on-hand-inventory-quantites md: >- https://shopify.dev/changelog/new-set-quantities-graphql-endpoint-for-setting-available-and-on-hand-inventory-quantites.md metadata: effectiveApiVersion: 2024-07 affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: Deprecation Announcement handle: deprecation indicatesActionRequired: false createdAt: '2024-04-30T16:20:14-04:00' postedAt: '2024-07-01T13:51:00-04:00' updatedAt: '2024-05-15T12:09:36-04:00' effectiveAt: '2024-07-01T13:51:00-04:00' --- July 1, 2024 Tags: * Admin GraphQL API * 2024-07 # New Set Quantities Graphql Endpoint for Setting Available and On Hand Inventory Quantites As of GraphQL Admin API version 2024-07, you can now set available and on hand quantities for inventory via the new `inventorySetQuantities` graphql mutation. At the same time, the `inventorySetOnHandQuantities` mutation will be deprecated.