Alokai
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

NameRequiredTypeDescription
cartIdRequiredstringCart identifier: cart code for logged in user, cart guid for anonymous user, current for the last modified cart
emailRequiredstringEmail of the guest user. It will be used during the checkout process.

Referenced Types

On this page