Using the business contact id in the request path, the method creates the contact's phone number.
POST
/business-contacts/{businessContactId}/phone-numbers
curl \
--request POST 'http://api.example.com/business-contacts/{businessContactId}/phone-numbers' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"typeCode":"string","ext":"string","number":"string"}'
Request example
{
"typeCode": "string",
"ext": "string",
"number": "string"
}
Response examples (201)
{}
Response examples (404)
{
"code": 42,
"message": "string",
"details": [
"string"
]
}
Response examples (409)
{
"code": 42,
"message": "string",
"details": [
"string"
]
}