Skip to main content

Updates the active rate identified by the given code. The code in the body must match the code in the route. The currency cannot be changed (see UpdateTariffAsync).

PUT 

/api/rates/:code

This is a full replacement of the rate: the Prices matrix sent in the body replaces the existing one entirely. Omitting it (empty) clears every price; to edit individual cells without touching the rest use PATCH /api/rates/{id}/prices instead.

Request

Responses

Returns the updated rate