# BXGY discount support for subscriptions — Shopify developer changelog --- ## 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). *Published: January 01, 2025* Tags: API, New Link: https://shopify.dev/changelog/bxgy-discount-support-for-subscriptions ---