You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
CreateCartProps
Parameters for creating a cart.
export interface CreateCartProps extends BaseProps, BaseUserId {
oldCartId?: string;
toMergeCartGuid?: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
oldCartId | Optional | string | Anonymous cart GUID. |
toMergeCartGuid | Optional | string | GUID of the current user's cart that will be merged with the anonymous cart. |