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
| Name | Required | Type | Description |
|---|---|---|---|
actions | Required | MyCartUpdateAction[] | Operations to be performed on the cart |
id | Required | string | Cart ID |
version | Required | string | number | Cart version |
versionFallback | Optional | boolean | Should the request be retried if there was a cart version mismatch |