Skip to main content

Update rate by code

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. The code in the body must match the code in the route, and the rate's currency cannot be changed.

Request​

Responses​

Returns the updated rate