You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
AddToCartProps
Properties for adding a product to a cart.
export interface AddToCartProps extends BaseProps, BaseUserId {
cartId: string;
entry: OrderEntry & RequiredOrderEntryProps;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
cartId | Required | string | Cart identifier: cart code for logged in user, cart guid for anonymous user, current for the last modified cart. |
entry | Required | OrderEntry & RequiredOrderEntryProps | Request body parameter that contains details such as the product code (product.code), the quantity of a product (quantity), and the pickup store name (deliveryPointOfService.name). |