GET
/
destinations
/
{id}
curl --request GET \
  --url https://api.loopreturns.com/api/v1/destinations/{id} \
  --header 'X-Authorization: <api-key>'
{
  "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

X-Authorization
string
header
required

Path Parameters

id
integer
required

The destination's unique identifier.

Response

200
application/json
Success

A physical location such as a warehouse or donation center to which returns are shipped.

id
integer

The destination's unique identifier.

type
enum<string>

The type of location represented by the destination.

Available options:
warehouse,
donate
name
string

The destination's name.

enabled
boolean

Whether the destination is enabled as a return destination.

address
object

The destination's address.