Skip to content
Navigation

Lists the customers holding access now whose address a domain, an address or a pattern would ban, with the grants giving it, so they can be revoked too.

GET
https://api.sherpo.io/merchant/v1/stores/{store}/customer_bans/matches

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

Query parameters

  • value
    string
    required

    The domain (a leading @ dropped), the address, or the pattern: literals, ., classes, \d \w \s, groups, | and repeats up to 100, in lowercase, refused when it can't be matched safely.

    maxLength: 254 · minLength: 1
  • kind
    email
    or
    domain
    or
    pattern
    required

    What the ban names: domain (an address's domain and its subdomains), email (one exact address) or pattern (matched whole on the lowercased address).

Returns

200

Lists the customers holding access now whose address a domain, an address or a pattern would ban, with the grants giving it, so they can be revoked too.

JSON
  • customers
    array of
    object
    required
    • id
      string
      required
    • display_name
      required

      One of the following:

      • string
      • null
    • emails
      array of
      string
      required

      The customer's addresses the ban names.

    • grants
      array of
      object
      required

      The grants giving the customer access now, the first 50 by id.

      • id
        string
        required
      • product_id
        string
        required
    • more_grants
      boolean
      required

      Whether the customer holds more grants than listed.

  • complete
    boolean
    required

    False when more customers may match than were read: one past 100 of them, or reading stopped at 20,000 addresses.

JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close