Skip to main content
Anchor to SellingPlanGroupCreatePayload

SellingPlanGroupCreatePayload

payload

Return type for sellingPlanGroupCreate mutation.

•SellingPlanGroup

The created selling plan group object.

•[SellingPlanGroupUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

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



Was this section helpful?