--- title: Subscription Billing Attempt now Respects Inventory Policy to not Allow Overselling - 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/subscription-billing-attempt-now-respects-inventory-policy-to-not-allow-overselling md: https://shopify.dev/changelog/subscription-billing-attempt-now-respects-inventory-policy-to-not-allow-overselling.md --- [Back to Developer changelog](https://shopify.dev/changelog) July 1, 2024 Tags: * Action Required * Admin GraphQL API * 2024-07 # Subscription Billing Attempt now Respects Inventory Policy to not Allow Overselling As of the **2024-07** release of the GraphQL Admin API, the availability of inventory is now checked during the billing attempt process. Where product variants are configured to [prevent overselling](https://help.shopify.com/manual/products/inventory/getting-started-with-inventory/selling-when-out-of-stock) and one or more items in the contract are out of stock, then the billing attempt will fail with the new [`INSUFFICIENT_INVENTORY`](https://shopify.dev/docs/api/admin-graphql/2024-07/enums/SubscriptionBillingAttemptErrorCode#value-insufficientinventory) error code. Learn more about [subscription contracts and billing attempts on Shopify.dev](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/build-a-subscription-contract#step-4-create-a-billing-attempt).