Commerce Register Guest Buyer API

lightning/commerceRegisterGuestBuyerApi

Register a guest buyer account against a webstore using the lightning/commerceRegisterGuestBuyerApi module. The lightning/commerceRegisterGuestBuyerApi module requires API version 62.0 or later.

For Use In

Lightning Experience, Experience Builder Sites, Salesforce Mobile App

::::::tabset{tabs='[ "Develop", "Specifications" ]'}

:::::tab The lightning/commerceRegisterGuestBuyerApi module includes a method to register a guest buyer account against a webstore.

To use the Commerce Register Guest Buyer API in your component, import the function in your component's JavaScript file.

import { registerGuestBuyer } from "lightning/commerceRegisterGuestBuyerApi";

For this module's specification and examples, see the Lightning Web Components Developer Guide.

:::::

:::::tab ::component-specification{component="commerceRegisterGuestBuyerApi" model="lwc" namespace="lightning"}

:::::

::::::