--- title: BXGY discount support for subscriptions - 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/bxgy-discount-support-for-subscriptions' md: 'https://shopify.dev/changelog/bxgy-discount-support-for-subscriptions.md' metadata: effectiveApiVersion: 2025-01 affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2024-11-29T15:22:30-05:00' postedAt: '2025-01-01T00:00:00-05:00' updatedAt: '2024-12-10T17:22:39-05:00' effectiveAt: '2025-01-01T00:00:00-05:00' --- January 1, 2025 Tags: * Admin GraphQL API * 2025-01 # BXGY discount support for subscriptions As of 2025-01, Buy X Get Y (BXGY) discounts support subscriptions, only in cases where X is a subscription and Y is a one-time purchase item at a discounted price or a free item. You can use the [discountAutomaticBxgyCreate](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/discountAutomaticBxgyCreate) or [discountCodeBxgyCreate](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/discountCodeBxgyCreate) mutations to create a new BXGY discount, or the [discountAutomaticBxgyUpdate](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/discountAutomaticBxgyUpdate) or [discountCodeBxgyUpdate](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/discountCodeBxgyUpdate) mutations to update an existing BXGY discount. Use the isOneTimePurchase and isSubscription fields on [DiscountCustomerBuysInput](https://shopify.dev/docs/api/admin-graphql/2025-01/input-objects/DiscountCustomerBuysInput) to specify which items can be discounted. Learn more [building discounts with GraphQL Admin API](https://shopify.dev/docs/apps/build/discounts#build-with-the-graphql-admin-api).