Selling Plan Group User Error
Represents a selling plan group custom error.
Anchor to FieldsFields
- Anchor to codecode•Selling
Plan Group User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Adds multiple selling plan groups to a product.
- •ID!required
The ID of the product.
- Anchor to sellingPlanGroupIdsselling•[ID!]!
Plan Group Ids required The IDs of the selling plan groups to add.
Arguments
- •ID!
- •mutation
Removes multiple groups from a product.
- •ID!required
The ID of the product.
- Anchor to sellingPlanGroupIdsselling•[ID!]!
Plan Group Ids required The IDs of the selling plan groups to add.
Arguments
- •ID!
- •mutation
Adds multiple selling plan groups to a product variant.
- •ID!required
The ID of the product variant.
- Anchor to sellingPlanGroupIdsselling•[ID!]!
Plan Group Ids required The IDs of the selling plan groups to add.
Arguments
- •ID!
- •mutation
Remove multiple groups from a product variant.
- •ID!required
The ID of the product variant.
- Anchor to sellingPlanGroupIdsselling•[ID!]!
Plan Group Ids required The IDs of the selling plan groups to leave.
Arguments
- •ID!
- •mutation
Adds multiple products to a selling plan group.
- •ID!required
The ID of the selling plan group.
- Anchor to productIdsproduct•[ID!]!
Ids required The IDs of the products to add.
Arguments
- •ID!
- •mutation
Adds multiple product variants to a selling plan group.
- •ID!required
The ID of the selling plan group.
- Anchor to productVariantIdsproduct•[ID!]!
Variant Ids required The IDs of the product variants to add.
Arguments
- •ID!
- •mutation
Creates a selling plan group that defines how products can be sold and purchased. A selling plan group represents a selling method such as "Subscribe and save", "Pre-order", or "Try before you buy" and contains one or more selling plans with specific billing, delivery, and pricing policies.
Use the
resourcesargument to associate products or product variants with the group during creation. You can also add products later usingor.Learn more about building selling plan groups or explore examples of creating TBYB and other selling plan groups.
- Anchor to inputinput•Selling
Plan Group Input! required The properties of the new Selling Plan Group.
- Anchor to resourcesresources•Selling
Plan Group Resource Input The resources this Selling Plan Group should be applied to.
Arguments
- •mutation
Delete a Selling Plan Group. This does not affect subscription contracts.
- •ID!required
The id of the selling plan group to delete.
Arguments
- •ID!
- •mutation
Removes multiple products from a selling plan group.
- •ID!required
The ID of the selling plan group.
- Anchor to productIdsproduct•[ID!]!
Ids required The IDs of the products to remove.
Arguments
- •ID!
- •mutation
Removes multiple product variants from a selling plan group.
- •ID!required
The ID of the selling plan group.
- Anchor to productVariantIdsproduct•[ID!]!
Variant Ids required The IDs of the product variants to remove.
Arguments
- •ID!
- •mutation
Update a Selling Plan Group.
- •ID!required
The Selling Plan Group to update.
- Anchor to inputinput•Selling
Plan Group Input! required The properties of the Selling Plan Group to update.
Arguments
- •ID!