Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Returns a Selling Plan Group resource by ID.

ID!required

The ID of the SellingPlanGroup to return.


Was this section helpful?

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.

appId

The ID for app, exposed in Liquid and product JSON.

appliesToProduct
non-null

Whether the given product is directly associated to the selling plan group.

appliesToProductVariant
non-null

Whether the given product variant is directly associated to the selling plan group.

appliesToProductVariants
non-null

Whether any of the product variants of the given product are associated to the selling plan group.

createdAt
non-null

The date and time when the selling plan group was created.

description

The merchant-facing description of the selling plan group.

id
non-null

A globally-unique ID.

merchantCode
non-null

The merchant-facing label of the selling plan group.

name
non-null

The buyer-facing label of the selling plan group.

options
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 selling_plan_group.name and selling_plan_group.options values.

position

The relative position of the selling plan group for display.

products
non-null

Products associated to the selling plan group.

productsCount

A count of products associated to the selling plan group.

productVariants
non-null

Product variants associated to the selling plan group.

productVariantsCount

A count of product variants associated to the selling plan group.

sellingPlans
non-null

Selling plans associated to the selling plan group.

summary

A summary of the policies associated to the selling plan group.

translations
non-null

The published translations associated with the resource.


Was this section helpful?