You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
RemoveProductFromCartParams
Parameters for the removeProductFromCart API endpoint
export interface RemoveProductFromCartParams {
cartId: string;
cartVersion: number;
product: LineItem;
quantity: number;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
cartId | Required | string | |
cartVersion | Required | number | |
product | Required | LineItem | |
quantity | Required | number |