Skip to main content
Anchor to sellingPlanGroupCreate

sellingPlanGroupCreate

mutation

Requires write_products access scope as well as any of write_own_subscription_contracts, write_purchase_options access scopes. Also: The user must have manage_orders_information permissions.

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.

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

Anchor to SellingPlanGroupCreatePayload returnsSellingPlanGroupCreatePayload returns

•SellingPlanGroup

The created selling plan group object.

•[SellingPlanGroupUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?