SIM Management
API Reference
Edit order notes

Edit order notes

POST /api/SimSubmission/EditOrderNotes

Queues an update to the selected SIMs' purchase-order reference fields. This changes real account records. Use API authentication and confirm the affected SIMs and order values before submitting.

All requested SIMs must be accessible to the authenticated user and have the same network. Processing requires a valid owning account, an MSISDN and an active rental agreement. Failures discovered during processing are reported through the submission result.

Request

FieldTypeDescription
serialNumbersstring arraySupply a non-empty list of unique, non-blank SIM serial numbers.
order1string or nullFirst order reference, at most 255 characters.
order2string or nullSecond order reference, at most 255 characters.
order3string or nullThird order reference, at most 255 characters.
order4string or nullFourth order reference, at most 255 characters.
order5string or nullFifth order reference, at most 255 characters.

Supply at least one non-null order field. An omitted or null field retains its existing value. An empty string clears that field. The values are applied to every SIM in the request.

curl --location 'https://api.cellhire.com/api/SimSubmission/EditOrderNotes' \
  --header 'Authorization: Bearer <access-token>' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '{
    "serialNumbers": ["01234567890"],
    "order1": "PO12345",
    "order2": ""
  }'

Responses

200 OK returns a submission ticket:

{ "ticketNumber": "1beeb8dd-1825-4bcd-8a62-f941aacb8d15" }

The ticket confirms creation, not completion. Follow submission status and recovery to verify each SIM's result. The default submission name is Edit Purchase Order.

StatusMeaning
400Missing body, no supplied order field, an order field over 255 characters, invalid/unavailable serials, or mixed/missing SIM networks.
403The authenticated user is not permitted to edit order notes.
500Submission creation failed or the command type is unavailable.