Alokai

UpdateCartParams

Parameters for the updateCart API endpoint

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

Properties

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

Referenced Types

On this page