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
1mutation sellingPlanGroupDelete($id: ID!) {2 sellingPlanGroupDelete(id: $id) {3 deletedSellingPlanGroupId4 userErrors {5 field6 message7 }8 }9}
Input
1{2 "id": "gid://shopify/<objectName>/10079785100"3}
{
"id": "gid://shopify/<objectName>/10079785100"
}