Upserts individual price cells of the active rate identified by the given id, leaving every other price untouched. Each cell is matched by its model/category and its time and distance range: when a matching cell already exists its price is updated, otherwise the cell is added. Every cell not present in the request is preserved as-is.
PATCH/api/rates/:id/prices
Upserts individual price cells of the active rate identified by the given id, leaving every other price untouched. Each cell is matched by its model/category and its time and distance range: when a matching cell already exists its price is updated, otherwise the cell is added. Every cell not present in the request is preserved as-is.
Request
Responses
- 200
- 400
- 403
- 404
Returns the updated rate
Api Error
Unauthenticated user
No active rate exists with the given identifier