Newer Version Available

This content describes an older version of this product. View Latest

Commerce Webstore My Profile Verify OTP

Validate the one-time-password (OTP) provided by the buyer.

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
Resource example
Available version
64.0
HTTP methods
POST
Request body for POST
JSON example
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