Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

MyCartUpdateAction

export type MyCartUpdateAction = {
    addDiscountCode?: InputMaybe<AddCartDiscountCode>;
    addItemShippingAddress?: InputMaybe<AddCartItemShippingAddress>;
    addLineItem?: InputMaybe<AddMyCartLineItem>;
    addPayment?: InputMaybe<AddCartPayment>;
    addShoppingList?: InputMaybe<AddCartShoppingList>;
    applyDeltaToLineItemShippingDetailsTargets?: InputMaybe<ApplyCartDeltaToLineItemShippingDetailsTargets>;
    changeLineItemQuantity?: InputMaybe<ChangeCartLineItemQuantity>;
    changeTaxMode?: InputMaybe<ChangeMyCartTaxMode>;
    recalculate?: InputMaybe<RecalculateCart>;
    removeDiscountCode?: InputMaybe<RemoveCartDiscountCode>;
    removeItemShippingAddress?: InputMaybe<RemoveCartItemShippingAddress>;
    removeLineItem?: InputMaybe<RemoveCartLineItem>;
    removePayment?: InputMaybe<RemoveCartPayment>;
    setBillingAddress?: InputMaybe<SetCartBillingAddress>;
    setBillingAddressCustomField?: InputMaybe<SetCartBillingAddressCustomField>;
    setBillingAddressCustomType?: InputMaybe<SetCartBillingAddressCustomType>;
    setCountry?: InputMaybe<SetCartCountry>;
    setCustomField?: InputMaybe<SetCartCustomField>;
    setCustomType?: InputMaybe<SetCartCustomType>;
    setCustomerEmail?: InputMaybe<SetCartCustomerEmail>;
    setDeleteDaysAfterLastModification?: InputMaybe<SetCartDeleteDaysAfterLastModification>;
    setItemShippingAddressCustomField?: InputMaybe<SetCartItemShippingAddressCustomField>;
    setItemShippingAddressCustomType?: InputMaybe<SetCartItemShippingAddressCustomType>;
    setLineItemCustomField?: InputMaybe<SetCartLineItemCustomField>;
    setLineItemCustomType?: InputMaybe<SetCartLineItemCustomType>;
    setLineItemDistributionChannel?: InputMaybe<SetCartLineItemDistributionChannel>;
    setLineItemShippingDetails?: InputMaybe<SetCartLineItemShippingDetails>;
    setLineItemSupplyChannel?: InputMaybe<SetCartLineItemSupplyChannel>;
    setLocale?: InputMaybe<SetCartLocale>;
    setShippingMethod?: InputMaybe<SetMyCartShippingMethod>;
    setShippingAddress?: InputMaybe<SetCartShippingAddress>;
    setShippingAddressCustomField?: InputMaybe<SetCartShippingAddressCustomField>;
    setShippingAddressCustomType?: InputMaybe<SetCartShippingAddressCustomType>;
    updateItemShippingAddress?: InputMaybe<UpdateCartItemShippingAddress>;
};

Referenced Types

On this page