GET
/
allowlists
/
{id}
curl --request GET \
  --url https://api.loopreturns.com/api/v1/allowlists/{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 allowlist entry.

Response

200
application/json
Success
id
integer

The unique identifier associated with the allowlist entry.

type
enum<string>

The type of value allowed by this allowlist entry. order is the order number of the allowed order and email is the customer's email address.

Available options:
order,
email
value
string

The allowed value. Returns made using this value will override any other return ineligibility.

secondary_value
string

This value is not used.

created_at
string

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