Commerce Webstore My Profile Verify OTP
The OTP is initiated through the Commerce Webstore My Profile Initiate OTP API, which is triggered when there is a change in the buyer's email or phone number.
This API must be called before updating the buyer's email and phone number using the Commerce Webstore My Profile PATCH method. Upon successful verification, the buyer's email or phone number is updated, and the corresponding verification fields, including hasUserVerifiedEmail or hasUserVerifiedPhoneNumber are set to true in the API response.
- Resource
-
1/commerce/webstores/webstoreId/myprofile/actions/verify - Resource example
-
1https://yourInstance.salesforce.com/services/data/v67.0/commerce/webstores/0ZExx000000005rGAA/myprofile/actions/verify - Available version
- 64.0
- HTTP methods
- POST
- Request body for POST
-
- JSON example
-
1{ 2 "code": "87XXXX", 3 "identifier": "z9jOsN8Buj8bRISupnbg" 4} - Properties
-
Name Type Description Required or Optional Available Version code String The one-time-password (OTP) to be verified. This is generated through the Commerce Webstore My Profile Initiate OTP API. Required 64.0 identifier String An identifier associated with the OTP. This is generated through the Commerce Webstore My Profile Initiate OTP API. Required 64.0
- Response body for POST
- Buyer Profile Verify Output