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

UpdateCartParams

Parameters for the updateCart API endpoint

export interface UpdateCartParams {
	actions: MyCartUpdateAction[];
	id: string;
	version: string | number;
	versionFallback?: boolean;
}

Properties

NameRequiredTypeDescription
actionsRequiredMyCartUpdateAction[]Operations to be performed on the cart
idRequiredstringCart ID
versionRequiredstring | numberCart version
versionFallbackOptionalbooleanShould the request be retried if there was a cart version mismatch

Referenced Types

On this page