stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > SellingPlanGroup

AdminTypes.SellingPlanGroup interface

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.

Signature:

export interface SellingPlanGroup extends HasPublishedTranslations, Node 

Extends: HasPublishedTranslations, Node

Properties

Property Modifiers Type Description
appId?   Maybe<Scalars[‘String’][‘output’]> (Optional) The ID for app, exposed in Liquid and product JSON.
appliesToProduct   Scalars[‘Boolean’][‘output’] Whether the given product is directly associated to the selling plan group.
appliesToProductVariant   Scalars[‘Boolean’][‘output’] Whether the given product variant is directly associated to the selling plan group.
appliesToProductVariants   Scalars[‘Boolean’][‘output’] Whether any of the product variants of the given product are associated to the selling plan group.
createdAt   Scalars[‘DateTime’][‘output’] The date and time when the selling plan group was created.
description?   Maybe<Scalars[‘String’][‘output’]> (Optional) The merchant-facing description of the selling plan group.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
merchantCode   Scalars[‘String’][‘output’] The merchant-facing label of the selling plan group.
name   Scalars[‘String’][‘output’] The buyer-facing label of the selling plan group.
options   Array<Scalars[‘String’][‘output’]> 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?   Maybe<Scalars[‘Int’][‘output’]> (Optional) The relative position of the selling plan group for display.
productCount   Scalars[‘Int’][‘output’] A count of products associated to the selling plan group.
products   ProductConnection Products associated to the selling plan group.
productVariantCount   Scalars[‘Int’][‘output’] A count of product variants associated to the selling plan group.
productVariants   ProductVariantConnection Product variants associated to the selling plan group.
sellingPlans   SellingPlanConnection Selling plans associated to the selling plan group.
summary?   Maybe<Scalars[‘String’][‘output’]> (Optional) A summary of the policies associated to the selling plan group.
translations   Array<Translation> The translations associated with the resource.