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
| Name | Required | Type | Description |
|---|---|---|---|
actions | Required | MyCartUpdateAction[] | Operations to be performed on the cart. |
cartId | Required | ApiUpdateCartParams["id"] | ID of the cart to update. |
cartVersion | Required | ApiUpdateCartParams["version"] | Version of the cart to update. |
versionFallback | Optional | ApiUpdateCartParams["versionFallback"] | Flag enabling request retry in case of a ConcurrentModification error. |