--- title: sellingPlanGroup - GraphQL Admin description: Returns a `SellingPlanGroup` resource by ID. api_version: 2025-01 api_name: admin type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/queries/SellingPlanGroup md: https://shopify.dev/docs/api/admin-graphql/2025-01/queries/SellingPlanGroup.md --- # selling​Plan​Group query Returns a `SellingPlanGroup` resource by ID. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID) required The ID of the `SellingPlanGroup` to return. *** ## Possible returns * Selling​Plan​Group [Selling​Plan​Group](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/SellingPlanGroup) A selling method that defines how products can be sold through purchase options like subscriptions, pre-orders, or try-before-you-buy. Groups one or more [`SellingPlan`](https://shopify.dev/docs/api/admin-graphql/latest/objects/SellingPlan) objects that share the same selling method and options. The group provides buyer-facing labels and merchant-facing descriptions for the selling method. Associates [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and [`ProductVariant`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) objects with selling plan groups to offer them through these purchase options. *** Caution Selling plan groups and their associated records are automatically deleted 48 hours after a merchant uninstalls the [`App`](https://shopify.dev/docs/api/admin-graphql/latest/objects/App) that created them. Back up these records if you need to restore them later. *** *** ## Examples * ### sellingPlanGroup reference ## Query Reference ```graphql { sellingPlanGroup(id) { # sellingPlanGroup fields } } ```