cURL
curl --request GET \ --url https://api.loopreturns.com/api/v1/destinations \ --header 'X-Authorization: <api-key>'
{ "destinations": [ { "id": 1, "type": "warehouse", "name": "Example Destination", "enabled": true, "address": { "address1": "123 Main St", "address2": "Unit 456", "city": "Columbus", "state": "Ohio", "zip": "43210", "country": "United States", "country_code": "US" } } ] }
Retrieve all destinations.
Success
The response is of type object.
object