Skip to main content
object

Requires unauthenticated_read_selling_plans access scope.

Represents deferred or recurring purchase options for products and product variants, such as subscriptions, pre-orders, or try-before-you-buy. Each selling plan belongs to a SellingPlanGroup and defines billing, pricing, inventory, and delivery policies.

•SellingPlanBillingPolicy

The billing policy for the selling plan.

Show union types
•SellingPlanCheckoutCharge!
non-null

The initial payment due for the purchase.

Show fields
•SellingPlanDeliveryPolicy

The delivery policy for the selling plan.

Show union types
•String

The description of the selling plan.

•ID!
non-null

A globally-unique ID.

•Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

Show fields

Arguments

•String!
required

The identifier for the metafield.

•String

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.


•[Metafield]!
non-null

A list of custom fields that a merchant associates with a Shopify resource.

Show fields

Arguments

•[HasMetafieldsIdentifier!]!
required

The list of metafields to retrieve by namespace and key.

The input must not contain more than 250 values.

Show input fields

•String!
non-null

The name of the selling plan. For example, '6 weeks of prepaid granola, delivered weekly'.

•[SellingPlanOption!]!
non-null

The selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called option1: Delivery every. One selling plan in that group could contribute option1: 2 weeks with the pricing for that option, and another selling plan could contribute option1: 4 weeks, with different pricing.

Show fields
•[SellingPlanPriceAdjustment!]!
non-null

The price adjustments that a selling plan makes when a variant is purchased with a selling plan.

Show fields
•Boolean!
non-null

Whether purchasing the selling plan will result in multiple deliveries.


Was this section helpful?


Was this section helpful?