v1

latestOpenAPI 3.1.02026-07-2689175245.8 KB
Allowlist

Create Allowlist Item

Create an allowlist entry.

Required API key scope

  • Orders
post/allowlists

Request body

valuestring required

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

type'order' | 'email' required

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.

Example request

{
  "value": "example@example.com"
}

Response

Success

idinteger

The unique identifier associated with the allowlist entry.

type'order' | 'email'

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.

valuestring

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

created_atstring nullable

The date and time at which the entry was created.

Example response

{
  "id": 1,
  "value": "example@example.com",
  "created_at": "2023-06-09 00:00:00"
}