SIM Management
API Reference
Read provisioning details

Read provisioning details

Read provisioning orders or a SIM's assigned tariff and BoltOns using the bearer token described in Authentication. These are read operations; use Provision or Change Provision to request changes.

Get a provisioning order

GET /api/account/{accountId}/network/{networkId}/provisioningOrder/{provisioningOrderNumber}

Path parameterTypeDescription
accountIdintegerRequired account identifier
networkIdintegerRequired Atlas network identifier from Networks
provisioningOrderNumberintegerRequired order number returned by Get available provisioning orders
curl --location 'https://api.cellhire.com/api/account/456/network/3/provisioningOrder/12' \
  --header 'Authorization: Bearer <access-token>'

The implementation returns one provisioning order object from the upstream lookup. The published OpenAPI response incorrectly declares an array for this route, so do not rely on that array declaration when generating a client. A missing upstream order produces no populated order; handle an empty response without inventing an order. A Hireman network returns 409 Conflict with Not valid for this network.

{
  "number": 12,
  "name": "ExampleOrder",
  "displayName": "ExampleOrder",
  "isPooled": false,
  "isNetworkAccountDefault": true,
  "hiremanCurrencyId": null
}
Order fieldTypeDescription
numberintegerProvisioning order number
name, displayNamestring or nullOrder name and display label
isPooledbooleanWhether the order uses pooling
isNetworkAccountDefaultboolean or nullWhether it is the network account default, when available
hiremanCurrencyIdinteger or nullCurrency identifier when populated

Get current provisioning for an MSISDN

GET /api/provisioning/{msisdn}

msisdn is the required telephone number as a string, not the SIM serial number. Obtain it from the SIM's tel field. URL-encode the path value when necessary.

curl --location 'https://api.cellhire.com/api/provisioning/447700900001' \
  --header 'Authorization: Bearer <access-token>'

200 OK returns one provisioning object with the fields below. This lookup obtains provisioning information through Atlas. The response may have no populated provisioning fields when the caller's access hides them. Missing stock, ownership/account information, permission or upstream provisioning information returns 404 Not Found.

FieldTypeDescription
subscriberIdUUID or nullSubscriber identifier when populated
tariffobject or nullAssigned tariff with integer number, nullable string name, booleans isLegacy, requiresDataBoltOn, supportsFullPooling, and nullable string configurationAttributes
standardBoltOnsarray or nullNon-temporal BoltOns
temporalBoltOnsarray or nullTemporal BoltOns
provisioningOrderobject or nullAssigned order using the order fields above

Each BoltOn includes integer number, nullable string name, booleans isDataBoltOn, isLegacy and isTemporal, nullable string configurationAttributes, and nullable booleans publicIp and fixedIp. Only use fields actually populated in the response; a nullable value does not establish that a feature is disabled. See Provisioning extras to obtain available alternatives for a new request.

Both operations require a valid API token; missing or invalid credentials return 401 Unauthorized. Invalid integer path values in the order lookup return 400 Bad Request. These reads do not confirm completion of an outstanding provisioning submission; check its submission status.