Anchor to section titled 'undefined'

sellingPlanGroupDelete
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.

Delete a Selling Plan Group. This does not affect subscription contracts.


Anchor to id
id
required

The id of the selling plan group to delete.


Was this section helpful?

The ID of the deleted selling plan group object.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation sellingPlanGroupDelete($id: ID!) {
  sellingPlanGroupDelete(id: $id) {
    deletedSellingPlanGroupId
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "id": "gid://shopify/<objectName>/10079785100"
}