Skip to main content

Interface: CartAddItemInput

Defined in: type/CartAddItemInput.ts:5

Input object for CartAddItemInput

Properties​

childItems?​

optional childItems?: CartChildItemInput[]

Defined in: type/CartAddItemInput.ts:17

Adds child items to this cart item, this field is used when adding configurable clusters to the Cart.


clusterId?​

optional clusterId?: number

Defined in: type/CartAddItemInput.ts:13

Cluster ID the item belongs to. Any child items provided must be part of the cluster's configuration as well.


notes?​

optional notes?: string

Defined in: type/CartAddItemInput.ts:9

Item notes


price?​

optional price?: number

Defined in: type/CartAddItemInput.ts:15

Cart item unit price. Defaults to calculated price. Only use for external pricing.


productId​

productId: number

Defined in: type/CartAddItemInput.ts:11

Product unique identifier


quantity?​

optional quantity?: number

Defined in: type/CartAddItemInput.ts:7

Item quantity