Update a pricing unit conversion rate

View as Markdown

Updates a conversion rate. Existing rates only allow changing effective_to, matching the dashboard.

Authentication

AuthorizationBearer
API key obtained from the Grant dashboard

Path parameters

idstringRequiredformat: "cuid"
rateIdstringRequiredformat: "cuid"

Request

This endpoint expects an object.
effective_tostring or nullOptionalformat: "^\d{4}-\d{2}-\d{2}(T.*)?$"
Optional exclusive end of this conversion rate

Response

Conversion rate updated
successboolean
conversion_rateobject
request_idstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error