You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
AddGuestEmailToCartProps
Parameters for adding an email to an anoymous cart and initializing guest checkout.
export interface AddGuestEmailToCartProps extends BaseUserId {
cartId: string;
email: string;
}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 |
email | Required | string | Email of the guest user. It will be used during the checkout process. |