Create chargers in location (durable)
Create chargers in location (durable)
Create chargers in location (durable)
Create multiple charger deployments under the selected location. Returns 202 Accepted in under a second once the job row is written; each charger is provisioned as its own durable Upstash Workflow step with per-step retries, so a 1000-charger batch completes without holding the HTTP connection open. Poll GET {status_url} every 1-2s until status == READY (or FAILED). The poll payload’s results column returns the same created / failed shape the old synchronous endpoint used to return inline.
Bearer authentication of the form Bearer <token>, where token is your auth token.
Explicit identity suffixes. Truncated to chargers_number when longer.
Total chargers to create. Pads with random hex suffixes when charger_ids is shorter.
Bulk charger provisioning accepted; poll status_url
Terminal + in-flight states for async charger provisioning.
Mirrors CpoProvisioningStatus so callers observe the same shape
for both durable flows. PENDING is the transient state between
the 202 response and the workflow’s first webhook.