Settings
English
cURL
curl --request POST \ --url https://api.hubapi.com/settings/v3/currencies/exchange-rates/batch/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "inputs": [ { "effectiveAt": "2023-11-07T05:31:56Z", "conversionRate": 123, "fromCurrencyCode": "AED" } ] }'
{ "completedAt": "2023-11-07T05:31:56Z", "requestedAt": "2023-11-07T05:31:56Z", "startedAt": "2023-11-07T05:31:56Z", "links": {}, "results": [ { "createdAt": "2023-11-07T05:31:56Z", "toCurrencyCode": "AED", "visibleInUI": true, "effectiveAt": "2023-11-07T05:31:56Z", "id": "<string>", "conversionRate": 123, "fromCurrencyCode": "AED", "updatedAt": "2023-11-07T05:31:56Z" } ], "status": "PENDING" }
Create multiple exchange rates in a single request.
settings.currencies.write
The access token received from the authorization server in the OAuth 2.0 flow.
successful operation
The response is of type object.
object
Was this page helpful?