Skip to main content

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

Returns the updated rate