productVariantLeaveSellingPlanGroups - admin-graphql - MUTATION
Version: 2024-07
Description:
Remove multiple groups from a product variant.
Access Scopes
`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.
Arguments
id
: ID! - The ID of the product variant.
sellingPlanGroupIds
: ID! - The IDs of the selling plan groups to leave.
Returns
productVariant
: ProductVariant The product variant object.
userErrors
: SellingPlanGroupUserError! The list of errors that occurred from executing the mutation.
Examples