--- title: sellingPlanGroupRemoveProductVariants - GraphQL Admin description: Removes multiple product variants from a selling plan group. api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/sellingplangroupremoveproductvariants md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/sellingplangroupremoveproductvariants.md --- # selling​Plan​Group​Remove​Product​Variants mutation Requires `write_products` access scope as well as any of `write_own_subscription_contracts`, `write_purchase_options` access scopes. Also: The user must have `manage_orders_information` permissions. Removes multiple product variants from a selling plan group. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The ID of the selling plan group. * product​Variant​Ids [\[ID!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The IDs of the product variants to remove. *** ## Selling​Plan​Group​Remove​Product​Variants​Payload returns * removed​Product​Variant​Ids [\[ID!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) The removed product variant ids. * user​Errors [\[Selling​Plan​Group​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/SellingPlanGroupUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### sellingPlanGroupRemoveProductVariants reference ## Mutation Reference ```graphql mutation sellingPlanGroupRemoveProductVariants($id: ID!, $productVariantIds: [ID!]!) { sellingPlanGroupRemoveProductVariants(id: $id, productVariantIds: $productVariantIds) { removedProductVariantIds userErrors { field message } } } ``` ## Input ```json { "id": "gid://shopify//10079785100", "productVariantIds": [ "gid://shopify//10079785100" ] } ``` ##### Variables ``` { "id": "gid://shopify//10079785100", "productVariantIds": [ "gid://shopify//10079785100" ] } ```