Blocklist
List Blocklist Items
APIs
- Return Actions
- Return Data
- Programmatic Webhooks
- Item Grading and Dispositioning
- Cart
- Destinations
- Blocklist
- Allowlist
- Fraud Reports
- Happy Returns Shipments
- Label Requests
Blocklist
List Blocklist Items
Retrieve a list of paginated blocklist entries.
Required API key scope
- Orders
GET
/
blocklists
curl --request GET \
--url https://api.loopreturns.com/api/v1/blocklists \
--header 'X-Authorization: <api-key>'
{
"data": [
{
"id": 1,
"type": "order",
"value": "example@example.com",
"secondary_value": "example.2@example.com"
}
],
"links": [
{
"url": "https://api.loopreturns.com/api/v1/blocklists?page=1",
"label": 1,
"active": true
}
],
"next_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=2",
"current_page": 1,
"from": 1,
"first_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=1",
"last_page": 2,
"last_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=2",
"path": "https://api.loopreturns.com/api/v1/blocklists",
"per_page": 15,
"prev_page_url": "<string>",
"to": 15,
"total": 20
}
Authorizations
Response
200
application/json
Success
The response is of type object
.
curl --request GET \
--url https://api.loopreturns.com/api/v1/blocklists \
--header 'X-Authorization: <api-key>'
{
"data": [
{
"id": 1,
"type": "order",
"value": "example@example.com",
"secondary_value": "example.2@example.com"
}
],
"links": [
{
"url": "https://api.loopreturns.com/api/v1/blocklists?page=1",
"label": 1,
"active": true
}
],
"next_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=2",
"current_page": 1,
"from": 1,
"first_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=1",
"last_page": 2,
"last_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=2",
"path": "https://api.loopreturns.com/api/v1/blocklists",
"per_page": 15,
"prev_page_url": "<string>",
"to": 15,
"total": 20
}