Modifications to a Port Order

Details that comprise a port order can only be changed based on the current status of the order.

Method

PATCH /portorders

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains status information of the specified port order ID.

    Operation Allowed Port Order Status URI
    Change Phone Numbers Pending /portorders/<portorder_id>/relationships/numbers
    Add Business Documents

    Pending, Rejected

    POST

    /portorders/<portorder_id>/upload_file


    /portorders/<portorder_id>/files

    Change Presets

    Pending, Processing, Submitted, Rejected, Review, Accepted

    PATCH

    /portorders/<portorder_id>

    Change Other Details

    Pending, Rejected

    PATCH

    /portorders/<portorder_id>


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"],
}
						
					

Response Format

						200 OK

{
  "data": {
    "attributes": {
      "status": "cancelled",
      "status_updated_at": "2018-07-31T21:34:17Z"
    },
    "id": "41351",
    "type": "portorder"
  }
}