--- 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 --- [Back to Developer changelog](https://shopify.dev/changelog) 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).