You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
AddCartLineItem
export type AddCartLineItem = {
addedAt?: InputMaybe<Scalars['DateTime']>;
shippingDetails?: InputMaybe<ItemShippingDetailsDraft>;
externalTotalPrice?: InputMaybe<ExternalLineItemTotalPriceDraft>;
externalPrice?: InputMaybe<BaseMoneyInput>;
externalTaxRate?: InputMaybe<ExternalTaxRateDraft>;
custom?: InputMaybe<CustomFieldsDraft>;
distributionChannel?: InputMaybe<ResourceIdentifierInput>;
supplyChannel?: InputMaybe<ResourceIdentifierInput>;
variantId?: InputMaybe<Scalars['Int']>;
quantity?: InputMaybe<Scalars['Long']>;
sku?: InputMaybe<Scalars['String']>;
productId?: InputMaybe<Scalars['String']>;
};