stack

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

AdminTypes.SellingPlan interface

Represents how a product can be sold and purchased. Selling plans and associated records (selling plan groups 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.

For more information on selling plans, refer to [*Creating and managing selling plans*](https://shopify.dev/docs/apps/selling-strategies/subscriptions/selling-plans).

Signature:

export interface SellingPlan extends HasPublishedTranslations, Node 

Extends: HasPublishedTranslations, Node

Properties

Property Modifiers Type Description
billingPolicy   SellingPlanBillingPolicy A selling plan policy which describes the recurring billing details.
category?   Maybe<SellingPlanCategory | `${SellingPlanCategory}`> (Optional) The category used to classify the selling plan for reporting purposes.
createdAt   Scalars[‘DateTime’][‘output’] The date and time when the selling plan was created.
deliveryPolicy   SellingPlanDeliveryPolicy A selling plan policy which describes the delivery details.
description?   Maybe<Scalars[‘String’][‘output’]> (Optional) Buyer facing string which describes the selling plan commitment.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
inventoryPolicy?   Maybe<SellingPlanInventoryPolicy> (Optional) When to reserve inventory for a selling plan.
name   Scalars[‘String’][‘output’] <p>A customer-facing description of the selling plan.</p><p>If your store supports multiple currencies, then don’t include country-specific pricing content, such as “Buy monthly, get 10$ CAD off”. This field won’t be converted to reflect different currencies.</p>
options   Array<Scalars[‘String’][‘output’]> The values of all options available on the selling plan. 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) Relative position of the selling plan for display. A lower position will be displayed before a higher position.
pricingPolicies   Array<SellingPlanPricingPolicy> Selling plan pricing details.
translations   Array<Translation> The translations associated with the resource.