SellingPlanGroup
Requires access scope.
Represents a selling method (for example, "Subscribe and save" or "Pre-paid"). Selling plan groups and associated records (selling plans and policies) are deleted 48 hours after a merchant uninstalls their subscriptions app. We recommend backing up these records if you need to restore them later.
Anchor to Fields and connectionsFields and connections
- Anchor to appIdapp•
Id The ID for app, exposed in Liquid and product JSON.
- Anchor to appliesToProductapplies•
To Product Boolean!non-null Whether the given product is directly associated to the selling plan group.
- Anchor to appliesToProductVariantapplies•
To Product Variant Boolean!non-null Whether the given product variant is directly associated to the selling plan group.
- Anchor to appliesToProductVariantsapplies•
To Product Variants Boolean!non-null Whether any of the product variants of the given product are associated to the selling plan group.
- Anchor to createdAtcreated•
At DateTime! non-null The date and time when the selling plan group was created.
- Anchor to descriptiondescription•
The merchant-facing description of the selling plan group.
- •ID!non-null
A globally-unique ID.
- Anchor to merchantCodemerchant•
Code String!non-null The merchant-facing label of the selling plan group.
- Anchor to namename•String!non-null
The buyer-facing label of the selling plan group.
- Anchor to optionsoptions•[String!]!non-null
The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they're created by the same app, and have the same
and
values.
- Anchor to positionposition•
The relative position of the selling plan group for display.
- Anchor to productsproducts•Product
Connection! non-null Products associated to the selling plan group.
- Anchor to productsCountproducts•
Count A count of products associated to the selling plan group.
- Anchor to productVariantsproduct•
Variants ProductVariant non-nullConnection! Product variants associated to the selling plan group.
- Anchor to productVariantsCountproduct•
Variants Count A count of product variants associated to the selling plan group.
- Anchor to sellingPlansselling•
Plans SellingPlan non-nullConnection! Selling plans associated to the selling plan group.
- Anchor to summarysummary•
A summary of the policies associated to the selling plan group.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
Map
Fields and connections with this object
Anchor to QueriesQueries
- •query
Returns a Selling Plan Group resource by ID.
- •query
List Selling Plan Groups.
SellingPlanGroup Queries
Queried by
Anchor to MutationsMutations
- •mutation
Adds multiple products to a selling plan group.
- •mutation
Adds multiple product variants to a selling plan group.
- •mutation
Creates a Selling Plan Group.
- •mutation
Update a Selling Plan Group.