AddToCartProps
Properties for adding a product to a cart.
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). |