createPhoneNumber()
Creates a PhoneNumber
for the specified user.
- Name
userId
- Type
string
- Description
The ID of the user to create the phone number for.
- Name
phoneNumber
- Type
string
- Description
The phone number to assign to the specified user.
- Name
primary?
- Type
boolean
- Description
Whether or not to set the phone number as the user's primary phone number.
- Name
verified?
- Type
boolean
- Description
Whether or not the phone number is verified.
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/phone_numbers
. See the BAPI reference for more details.