Skip to main content

SubscriptionPlanGroupCreateInput

The input fields for creating a subscription plan group.

input SubscriptionPlanGroupCreateInput {
billingBehaviour: SubscriptionBillingBehaviourInput!
deliveryBehaviour: SubscriptionDeliveryBehaviourCreateInput
deliveryBehaviourType: SubscriptionDeliveryBehaviourType!
id: GlobalID
inventoryBehaviour: SubscriptionInventoryBehaviourInput!
name: String!
pricingBehaviour: SubscriptionPricingBehaviourInput!
productGroup: SubscriptionProductGroupInput!
reference: String!
subscriptionPlans: [SubscriptionPlanCreateInput!]!
timezone: Timezone
}

Fields​

SubscriptionPlanGroupCreateInput.billingBehaviour ● SubscriptionBillingBehaviourInput! non-null input types​

How far before delivery the group's orders are billed.

SubscriptionPlanGroupCreateInput.deliveryBehaviour ● SubscriptionDeliveryBehaviourCreateInput input types​

How delivery dates are chosen for the group's subscriptions.

SubscriptionPlanGroupCreateInput.deliveryBehaviourType ● SubscriptionDeliveryBehaviourType! non-null enum types​

Whether the group's plans use fixed or flexible delivery dates.

SubscriptionPlanGroupCreateInput.id ● GlobalID scalar types​

The ID to give the new subscription plan group. One is generated if omitted.

SubscriptionPlanGroupCreateInput.inventoryBehaviour ● SubscriptionInventoryBehaviourInput! non-null input types​

How the group's orders handle inventory.

SubscriptionPlanGroupCreateInput.name ● String! non-null scalar types​

The subscription plan group's name.

SubscriptionPlanGroupCreateInput.pricingBehaviour ● SubscriptionPricingBehaviourInput! non-null input types​

How the group's orders are priced.

SubscriptionPlanGroupCreateInput.productGroup ● SubscriptionProductGroupInput! non-null input types​

The products and variants the group's plans are offered for.

SubscriptionPlanGroupCreateInput.reference ● String! non-null scalar types​

The merchant's reference for the subscription plan group.

SubscriptionPlanGroupCreateInput.subscriptionPlans ● [SubscriptionPlanCreateInput!]! non-null input types​

The subscription plans to create in the group.

SubscriptionPlanGroupCreateInput.timezone ● Timezone scalar types​

The time zone used to calculate delivery and billing dates. Defaults to the channel's time zone.

Member Of​

subscriptionPlanGroupCreate mutation