Types > BuyLinkLineItem
Commerce APITypesBuyLinkLineItem
BuyLinkLineItem

Description

Fields

custom_item_index: Int!

Custom item index (makes variant optional when specified)

Example: -1


field_set: ProductFieldSet

Field set fields on this line item belong to

Expandable


fields: [LineItemField!]!


quantity: Int!

Quantity of items to add to cart

Example: 1


subscription_plan_index: Int!

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

Example: -1


variant: ProductVariant

Product variant for this line item

Expandable

Permission bit: "product_variants.read"


Used By

Types

BuyLink

Preview (typescript)

Loading module