Anchor to sellingPlanGroupDeleteselling
sellingPlanGroupDelete
mutation
Requires access scope as well as any of
,
access scopes. Also: The user must have
permissions.
Delete a Selling Plan Group. This does not affect subscription contracts.
Anchor to Arguments
Arguments
- •ID!required
The id of the selling plan group to delete.
Was this section helpful?
Anchor to SellingPlanGroupDeletePayload returnsSellingPlanGroupDeletePayload returns
- Anchor to deletedSellingPlanGroupIddeleted•
Selling Plan Group Id The ID of the deleted selling plan group object.
- Anchor to userErrorsuser•
Errors [SellingPlan non-nullGroup User Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation sellingPlanGroupDelete($id: ID!) {
sellingPlanGroupDelete(id: $id) {
deletedSellingPlanGroupId
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}