MageSmith
INPUT_OBJECT Magento 2.4.9

CartItemInput

Defines an item to be added to the cart.

Declared or extended by: Quote

Fields

sku String! Required

The SKU of the product.

quantity Float! Required

The amount or number of an item to add.

parent_sku String

For a child product, the SKU of its parent product.

selected_options [ID!]

The selected options for the base product, such as color or size, using the unique ID for an object such as `CustomizableRadioOption`, `CustomizableDropDownOption`, or `ConfigurableProductOptionsValues`.

entered_options [EnteredOptionInput!]

An array of entered options for the base product, such as personalization text.

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.