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

UpdateCartParams

Parameters for updating cart.

export interface UpdateCartParams {
	actions: MyCartUpdateAction[];
	cartId: ApiUpdateCartParams["id"];
	cartVersion: ApiUpdateCartParams["version"];
	versionFallback?: ApiUpdateCartParams["versionFallback"];
}

Properties

NameRequiredTypeDescription
actionsRequiredMyCartUpdateAction[]Operations to be performed on the cart.
cartIdRequiredApiUpdateCartParams["id"]ID of the cart to update.
cartVersionRequiredApiUpdateCartParams["version"]Version of the cart to update.
versionFallbackOptionalApiUpdateCartParams["versionFallback"]Flag enabling request retry in case of a ConcurrentModification error.

Referenced Types

On this page