Bulk-upserts price-interval entries on a DYNAMIC tariff. All entries in one request share the same resolution and source. The conflict key is (timeStart, resolution) — re-submitted entries update their price, timeEnd, and source in place.
The operation is all-or-nothing: if any entry is misaligned to its resolution grid, has the wrong interval length, or duplicates a timeStart within the request body, the entire batch is rejected with 400 BAD_REQUEST and no rows are written. Maximum 5000 entries per request.
Returns 204 No Content on success.
Clients may send an Idempotency-Key header for safe retry semantics; the header is currently accepted and ignored (no enforcement yet).
Required scope: tariffs:write
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204Prices upserted
400The tariff is not DYNAMIC, or an entry is misaligned, mis-sized, or duplicates a timeStart
404Tariff not found or not visible to this consumer