Modify the Phone Numbers on a Port Order

If the Port Order is in a ‘Pending’ status, the user is able to change the phone numbers on the Port Order.

Method

PATCH /portorders

Body Parameters

  • data
    object

    Top level container.

  • add
    list

    A comma delimited list of numbers to add. Can be empty.

  • remove
    list

    A comma delimited list of numbers to remove. Can be empty.

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains a new copy of the specified Port Order.

Example Request

						PATCH /v2/portorders/41351/relationships/numbers HTTP/1.1
Content-Type: application/json
Accept: application/json

"data": {
  "add": ["+1206555444", "+15465934334"],
  "remove": ["+18474859454", "+120611233212"],
}
						
					

Example Request

                            
curl -X PATCH https://api.flowroute.com/v2/portorders/41352/relationships/numbers -u accessKey:secretKey -d '{"data":{"add": ["+12342235677", "+14536775443"]}}' -H 'Content-Type':'application/json'
                            
                        

Response Format

						200 OK