Create Phone
Request
POST /v2/customers/100/phones HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json
{
"type" : "work",
"value" : "222-333-4444"
}
Path Parameters
/v2/customers/{customerId}/phones
Request fields
Path | Type | Required | Description |
---|---|---|---|
type |
String |
Y | Location for this phone. Accepted values are:fax home mobile other other pager work |
value |
String |
Y | Telephone number |
Response
HTTP/1.1 201 Created
Resource-ID: 500
Response Headers
Name | Description |
---|---|
Resource-Id |
Internal ID of the newly created phone |