2. Endpoints > 2.1. Address
https://api.lookupdatas.com
To Get [TOKEN] go to 1.1. Token
curl --location '[BASEURL]/addressmanagement/api/countrycurrency/getbycountryid?countryid=406FCF8F-8925-4B6A-8B5A-071D7808C971' --header 'Authorization: Bearer [TOKEN]'
curl --location '[BASEURL]/addressmanagement/api/countrycurrency/getbycurrencycode?currencycode=TRY' --header 'Authorization: Bearer [TOKEN]'
{ "header": { "globalId": "5f603421-3226-4c30-afbc-41a2232bae07", "isSuccess": true, "message": null }, "body": [ { "id": "2c8a7f67-1311-456f-8c82-29e753d64b69", "countryId": "406FCF8F-8925-4B6A-8B5A-071D7808C971", "currencyCode": "TRY" } ] }
curl --location '[BASEURL]/addressmanagement/api/countrycurrency/getbyid?id=2c8a7f67-1311-456f-8c82-29e753d64b69' --header 'Authorization: Bearer [TOKEN]'
{ "header": { "globalId": "46c4356a-0f3f-4b0b-8c97-00bb52d8efc3", "isSuccess": true, "message": null }, "body": { "id": "2c8a7f67-1311-456f-8c82-29e753d64b69", "countryId": "406FCF8F-8925-4B6A-8B5A-071D7808C971", "currencyCode": "TRY" } }