APIs
- Return Actions
- Return Data
- Programmatic Webhooks
- Item Grading and Dispositioning
- Cart
- Destinations
- Blocklist
- Allowlist
- Fraud Reports
- Happy Returns Shipments
- Label Requests
Destinations
Create Destination
Create a destination.
Required API key scope
- Destinations (Write)
POST
/
destinations
curl --request POST \
--url https://api.loopreturns.com/api/v1/destinations \
--header 'Content-Type: application/json' \
--header 'X-Authorization: <api-key>' \
--data '{
"name": "Example Destination",
"type": "warehouse",
"enabled": true,
"address": {
"address1": "123 Main St",
"address2": "Unit 456",
"city": "Columbus",
"state": "Ohio",
"zip": "43210",
"country": "United States",
"country_code": "US"
}
}'
{
"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
Body
application/json
Response
200
application/json
Success
A physical location such as a warehouse or donation center to which returns are shipped.
curl --request POST \
--url https://api.loopreturns.com/api/v1/destinations \
--header 'Content-Type: application/json' \
--header 'X-Authorization: <api-key>' \
--data '{
"name": "Example Destination",
"type": "warehouse",
"enabled": true,
"address": {
"address1": "123 Main St",
"address2": "Unit 456",
"city": "Columbus",
"state": "Ohio",
"zip": "43210",
"country": "United States",
"country_code": "US"
}
}'
{
"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"
}
}
Assistant
Responses are generated using AI and may contain mistakes.