Skip to main content

CartAddItemInput

No description

input CartAddItemInput {
quantity: Int
notes: String
productId: Int!
clusterId: Int
price: Float
childItems: [CartChildItemInput!]
}

Fields

CartAddItemInput.quantity ● Int scalar

Item quantity

CartAddItemInput.notes ● String scalar

Item notes

CartAddItemInput.productId ● Int! non-null scalar

Product unique identifier

CartAddItemInput.clusterId ● Int scalar

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

CartAddItemInput.price ● Float scalar

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

CartAddItemInput.childItems ● [CartChildItemInput!] list input

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

Member Of

cartAddItem mutation