Buyer Profile Input

Input details for the buyer profile update request.
JSON examples
Here's an example of a request that includes both email and phone number updates when two-factor authentication is disabled:
1{
2  "firstName": "Morton",
3  "lastName": "Strosin",
4  "email": "Ma**********@vi*****.info",
5  "phoneNumber": "********7740",
6  "verificationInput": {}
7}
Here's an example of a request that includes an email update when two-factor authentication is enabled:
1{
2  "firstName": "Morton",
3  "lastName": "Strosin",
4  "email": "Ma**********@vi*****.info",
5  "verificationInput": {
6    "reCaptchaToken": "03AFcWe45uIQZjl6LznRTupQwTySasFVbN7_8Pj9",
7    "stepUpVerificationIdentifier": "hjdfghjdfgj768"
8  }
9}
Here's an example of a request that includes a phone number update when two-factor authentication is enabled:
1{
2  "firstName": "Morton",
3  "lastName": "Strosin",
4  "phoneNumber": "********7740",
5  "verificationInput": {
6    "reCaptchaToken": "03AFcWe45uIQZjl6LznRTupQwTySasFVbN7_8Pj9",
7    "stepUpVerificationIdentifier": "hjdfghjdfgj768"
8  }
9}
Properties
Name Type Description Required or Optional Available Version
email String The email address of the buyer. Optional 59.0
firstName String The first name of the buyer. Optional 59.0
lastName String The last name of the buyer. Optional 59.0
phoneNumber String The phone number of the buyer. Optional 59.0
verification​Input Buyer Profile Verification Input The verification details required to update either the buyer's email or phone number. This update process applies only when two-factor authentication is enabled in your Salesforce org.

When two-factor authentication is disabled in your org, you can update both the buyer's email and phone number within a single API request.

Note

Required 64.0