latestOpenAPI 3.0.32026-08-19299284712.8 KB

67d9f45bb99b

Currencies

Update dimension conversion rate mapping

Update an existing dimension conversion rate mapping. An update may trigger the deletion of other existing mappings if the updated fields would cause a conflict with those mappings. Clients that receive a 200 OK response for an update should subsequently request the mappings list to learn of any deletions.

put/currencies/rates/dimension-mappings/{id}

Path parameters

idstring required

Headers

HTTP_ACCEPTstring required

Set the version of API the request is for

X-Company-IDstring required

Associates request with company

Request body

idinteger required
accountinteger required
is_defaultboolean
rate_typestring required
exchange_rate_typeinteger required
from_currencyinteger nullable
to_currencyinteger nullable
constant_ratestring decimal nullable
content_type_idinteger required

A helper property method for grabbing the id of the ContentType of this model. This is used for creating the rateable relationships with ConversionRate instances.

Returns: an integer representing the content type

created_atstring date-time required
modified_atstring date-time required

Response

idinteger required
accountinteger required
is_defaultboolean
rate_typestring required
exchange_rate_typeinteger required
from_currencyinteger nullable
to_currencyinteger nullable
constant_ratestring decimal nullable
content_type_idinteger required

A helper property method for grabbing the id of the ContentType of this model. This is used for creating the rateable relationships with ConversionRate instances.

Returns: an integer representing the content type

created_atstring date-time required
modified_atstring date-time required