Inputs

AddToCartInput

Fields

billingGroup ID

If missing, default billing group will be used.

cartId ID!

The cart to add line item to.

description String

Optional description that will be visible on receipts and invoices.

product ID!

Product id.

quantity Int

Quantity is mandatory if the product requires it.

variantId ID

The id of one of the product's variants. Mandatory when adding a hardware product.