Change a SIM's plan
One endpoint puts a SIM on a plan, whatever state it's in, and Axis works out what that means. The rule to remember: a SIM that's already on a plan moves at the start of next month. Plans are billed by the month, so a SIM stays on its current plan (and its current allowance) until the month is out.
Move a SIM to another pool or tariff
curl -X PUT https://app.zentarinetworks.com/api/v1/sims/4183/plan \
-H "Authorization: Bearer $AXIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "poolId": 9 }'
{
"outcome": "scheduled",
"ticket": null,
"effectiveFrom": "2026-11-01T00:00:00Z",
"message": "Queued: the change happens at the start of next month (1 November 2026)."
}
The SIM now shows what's coming:
{
"id": 4183,
"plan": { "kind": "tariff", "poolId": null, "tariffId": 2, "name": "UK 5GB" },
"pendingPlanChange": { "kind": "pool", "poolId": 9, "tariffId": null, "effectiveFrom": "2026-11-01T00:00:00Z" },
…
}
On the 1st, Axis makes the move and records a reprovision ticket in the SIM's history. Asking again with a
different plan before then replaces the queued change.
Take a SIM off its plan
Also queued for the start of next month: the SIM keeps working, and is billed, until then. On the 1st it's switched
off on the network (an unprovision ticket) and becomes offline.
{
"outcome": "scheduled",
"ticket": null,
"effectiveFrom": "2026-11-01T00:00:00Z",
"message": "Queued: the change happens at the start of next month (1 November 2026)."
}
pendingPlanChange.kind is then "unassign".
Change your mind
Clears whatever is queued, leaving the SIM on its current plan. 204 No Content. (Asking for the plan it's already
on, with PUT /plan, does the same.)
Finding SIMs with changes queued
There's no filter for this, but every SIM has pendingPlanChange, so a sync or a
report on your side can pick them out. The Estate report also shows each
SIM's plan.
What can go wrong
| Answer | Why | What to do |
|---|---|---|
400 invalid_request | Both or neither of poolId/tariffId, a pool tariff used directly, or a pool or tariff that isn't yours | Send one of your own pools, or a standard tariff |
402 payment_required | Only when the SIM had no plan (switching it on starts billing) and there's no card | An admin adds a card in the portal |
404 not_found | Not your SIM | Check the id |