Whitelist

Create Whitelist Entry

Changed on

Creates a new whitelist entry.

post/v1/shops/{shopId}/whitelist

Request

Request body

valuestring required
type'email' | 'email_domain' | 'discord_id' | 'country_code' | 'city' | 'ip' | 'ip_range' | 'isp' | 'asn' | 'user_agent' required
reasonstring nullable
payment_method_idsstring[]

Must match an existing stored value.

enabledboolean
active_fromstring nullable

Must be a valid date. Must be a date before <code>2038-01-19</code>.

active_tostring nullable

Must be a valid date. Must be a date after <code>active_from</code>. Must be a date before <code>2038-01-19</code>.

Example request

{
  "value": "consequatur",
  "type": "country_code",
  "reason": "consequatur",
  "active_from": "2012-05-18",
  "active_to": "2012-05-18"
}

Changes

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property / became nullable

    • info

      the request property became nullable