Skip to main content
Anchor to SellingPlanGroupUserError

SellingPlanGroupUserError

object

Represents a selling plan group custom error.

•SellingPlanGroupUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Adds multiple selling plan groups to a product.

Arguments

•ID!
required

The ID of the product.

•[ID!]!
required

The IDs of the selling plan groups to add.


•mutation

Removes multiple groups from a product.

Arguments

•ID!
required

The ID of the product.

•[ID!]!
required

The IDs of the selling plan groups to add.


•mutation

Adds multiple selling plan groups to a product variant.

Arguments

•ID!
required

The ID of the product variant.

•[ID!]!
required

The IDs of the selling plan groups to add.


•mutation

Remove multiple groups from a product variant.

Arguments

•ID!
required

The ID of the product variant.

•[ID!]!
required

The IDs of the selling plan groups to leave.


•mutation

Adds multiple products to a selling plan group.

Arguments

•ID!
required

The ID of the selling plan group.

•[ID!]!
required

The IDs of the products to add.


•mutation

Adds multiple product variants to a selling plan group.

Arguments

•ID!
required

The ID of the selling plan group.

•[ID!]!
required

The IDs of the product variants to add.


•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 resources argument to associate products or product variants with the group during creation. You can also add products later using sellingPlanGroupAddProducts or sellingPlanGroupAddProductVariants.

Learn more about building selling plan groups or explore examples of creating TBYB and other selling plan groups.

Arguments

•SellingPlanGroupInput!
required

The properties of the new Selling Plan Group.

•SellingPlanGroupResourceInput

The resources this Selling Plan Group should be applied to.


•mutation

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

Arguments

•ID!
required

The id of the selling plan group to delete.


•mutation

Removes multiple products from a selling plan group.

Arguments

•ID!
required

The ID of the selling plan group.

•[ID!]!
required

The IDs of the products to remove.


•mutation

Removes multiple product variants from a selling plan group.

Arguments

•ID!
required

The ID of the selling plan group.

•[ID!]!
required

The IDs of the product variants to remove.


•mutation

Update a Selling Plan Group.

Arguments

•ID!
required

The Selling Plan Group to update.

•SellingPlanGroupInput!
required

The properties of the Selling Plan Group to update.



Was this section helpful?


Was this section helpful?