Home > @vsf-enterprise/commercetools-types > CartUpdateAction
# CartUpdateAction type
Signature:
export declare type CartUpdateAction = {
addCustomLineItem?: InputMaybe<AddCartCustomLineItem>;
addDiscountCode?: InputMaybe<AddCartDiscountCode>;
addItemShippingAddress?: InputMaybe<AddCartItemShippingAddress>;
addLineItem?: InputMaybe<AddCartLineItem>;
addPayment?: InputMaybe<AddCartPayment>;
addShoppingList?: InputMaybe<AddCartShoppingList>;
applyDeltaToCustomLineItemShippingDetailsTargets?: InputMaybe<ApplyCartDeltaToCustomLineItemShippingDetailsTargets>;
applyDeltaToLineItemShippingDetailsTargets?: InputMaybe<ApplyCartDeltaToLineItemShippingDetailsTargets>;
changeCustomLineItemMoney?: InputMaybe<ChangeCartCustomLineItemMoney>;
changeCustomLineItemQuantity?: InputMaybe<ChangeCartCustomLineItemQuantity>;
changeLineItemQuantity?: InputMaybe<ChangeCartLineItemQuantity>;
changeTaxCalculationMode?: InputMaybe<ChangeCartTaxCalculationMode>;
changeTaxMode?: InputMaybe<ChangeCartTaxMode>;
changeTaxRoundingMode?: InputMaybe<ChangeCartTaxRoundingMode>;
recalculate?: InputMaybe<RecalculateCart>;
removeCustomLineItem?: InputMaybe<RemoveCartCustomLineItem>;
removeDiscountCode?: InputMaybe<RemoveCartDiscountCode>;
removeItemShippingAddress?: InputMaybe<RemoveCartItemShippingAddress>;
removeLineItem?: InputMaybe<RemoveCartLineItem>;
removePayment?: InputMaybe<RemoveCartPayment>;
setAnonymousId?: InputMaybe<SetCartAnonymousId>;
setBillingAddress?: InputMaybe<SetCartBillingAddress>;
setBillingAddressCustomField?: InputMaybe<SetCartBillingAddressCustomField>;
setBillingAddressCustomType?: InputMaybe<SetCartBillingAddressCustomType>;
setKey?: InputMaybe<SetCartKey>;
setCartTotalTax?: InputMaybe<SetCartTotalTax>;
setCountry?: InputMaybe<SetCartCountry>;
setCustomField?: InputMaybe<SetCartCustomField>;
setCustomLineItemCustomField?: InputMaybe<SetCartCustomLineItemCustomField>;
setCustomLineItemCustomType?: InputMaybe<SetCartCustomLineItemCustomType>;
setCustomLineItemShippingDetails?: InputMaybe<SetCartCustomLineItemShippingDetails>;
setCustomLineItemTaxAmount?: InputMaybe<SetCartCustomLineItemTaxAmount>;
setCustomLineItemTaxRate?: InputMaybe<SetCartCustomLineItemTaxRate>;
setCustomShippingMethod?: InputMaybe<SetCartCustomShippingMethod>;
setCustomType?: InputMaybe<SetCartCustomType>;
setCustomerEmail?: InputMaybe<SetCartCustomerEmail>;
setCustomerGroup?: InputMaybe<SetCartCustomerGroup>;
setCustomerId?: InputMaybe<SetCartCustomerId>;
setDeleteDaysAfterLastModification?: InputMaybe<SetCartDeleteDaysAfterLastModification>;
setItemShippingAddressCustomField?: InputMaybe<SetCartItemShippingAddressCustomField>;
setItemShippingAddressCustomType?: InputMaybe<SetCartItemShippingAddressCustomType>;
setLineItemCustomField?: InputMaybe<SetCartLineItemCustomField>;
setLineItemCustomType?: InputMaybe<SetCartLineItemCustomType>;
setLineItemDistributionChannel?: InputMaybe<SetCartLineItemDistributionChannel>;
setLineItemPrice?: InputMaybe<SetCartLineItemPrice>;
setLineItemShippingDetails?: InputMaybe<SetCartLineItemShippingDetails>;
setLineItemSupplyChannel?: InputMaybe<SetCartLineItemSupplyChannel>;
setLineItemTaxAmount?: InputMaybe<SetCartLineItemTaxAmount>;
setLineItemTaxRate?: InputMaybe<SetCartLineItemTaxRate>;
setLineItemTotalPrice?: InputMaybe<SetCartLineItemTotalPrice>;
setLocale?: InputMaybe<SetCartLocale>;
setShippingAddress?: InputMaybe<SetCartShippingAddress>;
setShippingAddressCustomField?: InputMaybe<SetCartShippingAddressCustomField>;
setShippingAddressCustomType?: InputMaybe<SetCartShippingAddressCustomType>;
setShippingMethod?: InputMaybe<SetCartShippingMethod>;
setShippingMethodTaxAmount?: InputMaybe<SetCartShippingMethodTaxAmount>;
setShippingMethodTaxRate?: InputMaybe<SetCartShippingMethodTaxRate>;
setShippingRateInput?: InputMaybe<SetCartShippingRateInput>;
updateItemShippingAddress?: InputMaybe<UpdateCartItemShippingAddress>;
};
References: InputMaybe, AddCartCustomLineItem, AddCartDiscountCode, AddCartItemShippingAddress, AddCartLineItem, AddCartPayment, AddCartShoppingList, ApplyCartDeltaToCustomLineItemShippingDetailsTargets, ApplyCartDeltaToLineItemShippingDetailsTargets, ChangeCartCustomLineItemMoney, ChangeCartCustomLineItemQuantity, ChangeCartLineItemQuantity, ChangeCartTaxCalculationMode, ChangeCartTaxMode, ChangeCartTaxRoundingMode, RecalculateCart, RemoveCartCustomLineItem, RemoveCartDiscountCode, RemoveCartItemShippingAddress, RemoveCartLineItem, RemoveCartPayment, SetCartAnonymousId, SetCartBillingAddress, SetCartBillingAddressCustomField, SetCartBillingAddressCustomType, SetCartKey, SetCartTotalTax, SetCartCountry, SetCartCustomField, SetCartCustomLineItemCustomField, SetCartCustomLineItemCustomType, SetCartCustomLineItemShippingDetails, SetCartCustomLineItemTaxAmount, SetCartCustomLineItemTaxRate, SetCartCustomShippingMethod, SetCartCustomType, SetCartCustomerEmail, SetCartCustomerGroup, SetCartCustomerId, SetCartDeleteDaysAfterLastModification, SetCartItemShippingAddressCustomField, SetCartItemShippingAddressCustomType, SetCartLineItemCustomField, SetCartLineItemCustomType, SetCartLineItemDistributionChannel, SetCartLineItemPrice, SetCartLineItemShippingDetails, SetCartLineItemSupplyChannel, SetCartLineItemTaxAmount, SetCartLineItemTaxRate, SetCartLineItemTotalPrice, SetCartLocale, SetCartShippingAddress, SetCartShippingAddressCustomField, SetCartShippingAddressCustomType, SetCartShippingMethod, SetCartShippingMethodTaxAmount, SetCartShippingMethodTaxRate, SetCartShippingRateInput, UpdateCartItemShippingAddress