Alokai

CartItemInput

Defines an item to be added to the cart.

type CartItemInput = {
  entered_options?: InputMaybe<Array<InputMaybe<EnteredOptionInput>>>; /** For a child product, the SKU of its parent product. */
  parent_sku?: InputMaybe<Scalars['String']['input']>; /** The amount or number of an item to add. */
  quantity: Scalars['Float']['input']; /** 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`. */
  selected_options?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>; /** The SKU of the product. */
  sku: Scalars['String']['input'];
};

Referenced Types

On this page