GitHub

ShopifySellingPlanGroup

Type

import { ShopifySellingPlanGroup } from '@daffodil/driver/shopify'

A selling method that defines how products can be sold through purchase options like subscriptions, pre-orders, or try-before-you-buy. Groups one or more SellingPlan objects that share the same selling method and options.

The SellingPlanGroup acts as a container for one or more individual SellingPlan objects, enabling merchants to offer multiple options (like weekly or monthly deliveries) under one, unified category on a product page.

interface ShopifySellingPlanGroup {
  __typename: "SellingPlanGroup"
  appName: string
  name: string
  options: ShopifySellingPlanGroupOption[]
  sellingPlans: ShopifySellingPlanConnection
}

Properties

__typename
"SellingPlanGroup"
appName
string

A display friendly name for the app that created the selling plan group.

name
string

The name of the selling plan group.

options
ShopifySellingPlanGroupOption[]

Represents 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.

sellingPlans
ShopifySellingPlanConnection

A list of selling plans in a selling plan group. A selling plan is a representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'.