Types > BuyLinkLineItemCreate
Commerce APITypesBuyLinkLineItemCreate
BuyLinkLineItemCreate

Description

Fields

custom_item_index: CustomItemIndex

Custom item index (makes variant optional when specified)


field_set_id: String


fields: [LineItemFieldCreate!]


quantity: Int!

Quantity of items to add to cart

Example: 1

Valid when: quantity is a positive integer


subscription_plan_index: SubscriptionPlanIndex

Product subscription plan index if subscription needs to be initiated, -1 for no subscription


variant_id: String!

A unique product variant identifier

Example: "va_EQzGqWoY"

Valid when: variant_id matches regexp pattern: ^va_


Used By

Types

BuyLinkCreate, BuyLinkModify

Preview (typescript)

Loading module