Home > @vsf-enterprise/sapcc-api > Endpoints > addGuestEmailToCart
Endpoints.addGuestEmailToCart() method
Assigns an email to the cart. This step is required to make a guest checkout.
Signature:
addGuestEmailToCart(context: SapccIntegrationContext, props: AddGuestEmailToCartProps): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
props | AddGuestEmailToCartProps | An object containing necessary props for guest checkout. |
Returns:
Promise<void>