Get details about an existing order along with order notes and process notes (for Port-In orders). For realtime updates on the order status, please refer to the Webhooks section. wich is the recommended way to get updates on the order status.
- v1.0 of the porting APIhttps://porting.api.sinch.com/v1/projects/YOUR_project_id/orders/portIns/{orderId}
curl -i -X GET \
-u '<username>:<password>' \
https://porting.api.sinch.com/v1/projects/YOUR_project_id/orders/portIns/897867Successful operation
The date and time you want the numbers to be ported in. If you set a defaultPortTime and defaultPortTimeZone in defaults those settings will be used if not set per order. If you haven't set defaults and do not set the time and time zone on the order the system default will be used.
System Default Time: 09:00:00 US/Eastern
The current status of the port order.
| Enum Value | Description |
|---|---|
| ORDER_BUILDING | The order is being created |
| PENDING | The order is pending, and can be updated |
| CONFIRMED | The order is confirmed, and can not be updated but if onDemand is true it can be activated |
| COMPLETED | The order is completed, the port has completed and the numbers are active |
| PENDING_CANCELATION | The order is in the process of being cancelled. During this time you cannot submit the same numbers on a new order |
| CANCELED | The order is cancelled, either by the customer or by the system |
Your reference you specified when creating the order
If you use onDemand activation you will need to make sure the numbers are both confirmed and released for activation, if you don't use onDemand the numbers will be activated on the desiredPortDate is the recommended way. If true the numbers will be activated as when you call :activate, if false they will be activated on the desiredPortDate
Date when the LOA was uploaded. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
Notes if any on the order, you will get notes if there is any problems with the order and you send notes as reply to those problems
Documents if any on the order, you will get documents if there is any problems with the order and you send documents as reply to those problems
When the order was created. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
{ "id": 890192331, "status": "PENDING", "customerOrderReference": "123456", "onDemandActivation": false, "desiredPortSchedule": { "desiredPortDate": "2025-01-31", "desiredPortTime": "09:00:00", "desiredPortTimeZone": "US/Eastern" }, "loaUploadedBy": "john doe", "loaAttachmentDate": "2024-09-24T12:00:00Z", "phoneNumbers": [ { … } ], "notes": [ { … } ], "documents": [ { … } ], "createdDate": "2024-09-24T12:00:00Z", "resellerName": "" }