v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Phones

Update phone

Update phone number.

This event generates a Phone updated event.

patch/accounts/v1/accounts/{accountId}/phones/{phoneId}

Path parameters

accountIdinteger required
Example:6912345

Account ID

phoneIdinteger required
Example:456

Phone ID

Request body

area_codeinteger

Phone number area code

numberstring

Phone number

type'RESIDENTIAL' | 'COMMERCIAL' | 'MOBILE'

Phone number type

extensionstring

Optional phone number extension

activeboolean

Is phone active? Default is true.

country_codestring

Phone number's country code

Example request

{
  "area_code": 11,
  "number": "11912345678",
  "type": "MOBILE",
  "extension": "ext. 9",
  "country_code": "555"
}

Response

Phone was successfully updated

idinteger required

Phone ID

Example response

{
  "id": 8714
}