GET
/
blocklists
/
{id}
curl --request GET \
  --url https://api.loopreturns.com/api/v1/blocklists/{id} \
  --header 'X-Authorization: <api-key>'
{
  "id": 1,
  "type": "order",
  "value": "example@example.com",
  "secondary_value": "example.2@example.com",
  "created_at": "2023-06-09 00:00:00"
}

Authorizations

X-Authorization
string
header
required

Path Parameters

id
integer
required

The unique identifier associated with the blocklist entry.

Response

200
application/json
Success
id
integer

The unique identifier associated with the blocklist entry.

type
enum<string>

The type of value blocked by this blocklist entry. order is the order number of the blocked order, email is the blocked customer's email address, product is the variant ID of the blocked product, and product_tag disables returns for all products with that tag.

Available options:
order,
email,
product,
product_tag
value
string

The blocked value. Items purchased using this value will be ineligible for return.

secondary_value
string

An additional blocked value associated with this entry. Items purchased using this value will also be ineligible for return.

created_at
string

The date and time at which the entry was created, using the ISO 8601 date format.