Home > @vsf-enterprise/commercetools > useGuestEmail

# useGuestEmail() function

Signature:

declare function useGuestEmail(): {
    guestEmail: import("@vue/composition-api").Ref<string>;
    setCustomerEmail: (email: string) => Promise<void>;
    updateCustomerEmail: (email: string) => string;
};

Returns:

{ guestEmail: import("@vue/composition-api").Ref<string>; setCustomerEmail: (email: string) => Promise<void>; updateCustomerEmail: (email: string) => string; }