Update Alias of a Number

This endpoint is in Beta. Some features may change as we receive and incorporate your feedback. We will notify you of any breaking changes before deploying them.

Use this endpoint to update the alias of a phone number within a port order.

Endpoint

PATCH /portorders/:portorder_id/relationships/numbers/:number_id

Path Parameters

  • portorder_id
    integer

    The unique identifier for the Port Order that you would like to update

  • number_id
    integer

    The unique identifier for the number that you would like to update


Example Request

curl https://api.flowroute.com/v2/portorders/899011/relationships/numbers/12068843283 \
    -u accessKey:secretKey \
    -X PATCH \
    -d '{"data": {"attributes": {"alias": "Eastern Dental"}}}' 

            

Example Response

{
  "type": "number",
  "id": "12068843283",
  "links": {
    "self": "https://api.flowroute.com/v2/portorders/899011/relationships/numbers/12068843283"
  },
  "attributes": {
    "alias": "Eastern Dental",
    "cnam_lookups_enabled": false,
    "number_type": "long-code",
    "rate_center": "seattle",
    "state": "wa",
    "value": "12068843283"
  },
  "relationships": {
    "cnam": {
      "data": null
    },
    "e911": {
      "data": null
    },
    "failover_route": {
      "data": null
    },
    "primary_route": {
      "data": null
    }
  },
  "included": []
}