Update Alias of a Number

Private Beta Notice

The Port Orders API endpoints are currently in Private Beta. Some features may change as we receive and incorporate your feedback. To get invited and start testing the beta version, please send an email to support@flowroute.com.

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": []
}