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
| Field | Type | Description |
|---|---|---|
serialNumbers | string array | Supply a non-empty list of unique, non-blank SIM serial numbers. |
order1 | string or null | First order reference, at most 255 characters. |
order2 | string or null | Second order reference, at most 255 characters. |
order3 | string or null | Third order reference, at most 255 characters. |
order4 | string or null | Fourth order reference, at most 255 characters. |
order5 | string or null | Fifth 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.
| Status | Meaning |
|---|---|
400 | Missing body, no supplied order field, an order field over 255 characters, invalid/unavailable serials, or mixed/missing SIM networks. |
403 | The authenticated user is not permitted to edit order notes. |
500 | Submission creation failed or the command type is unavailable. |