Skip to main content

CartAddItemInput

No description

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

Fields​

CartAddItemInput.cartId ● String! non-null scalar​

Cart identifier for this cart item.

CartAddItemInput.quantity ● Int scalar​

Quantity value for this cart item.

CartAddItemInput.notes ● String scalar​

CartAddItemInput.productId ● Int! non-null scalar​

Product ID of the cart item.

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