Destinations
Get All Destinations
APIs
- Return Actions
- Return Data
- Programmatic Webhooks
- Item Grading and Dispositioning
- Cart
- Destinations
- Blocklist
- Allowlist
- Fraud Reports
- Happy Returns Shipments
Destinations
Get All Destinations
Retrieve all destinations.
Required API key scope
- Destinations (Read)
GET
/
destinations
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"
}
}
]
}
Authorizations
Response
200
application/json
Success
The destination's unique identifier.
The type of location represented by the destination.
Available options:
warehouse
, donate
The destination's name.
Whether the destination is enabled as a return destination.
The destination's address.
The street address of the destination.
The secondary address details of the destination.
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"
}
}
]
}