Skip to content
Navigation

Pages the store's own bans: the domains, addresses and patterns it refuses as customers.

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

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

Query parameters

  • filter
    optional
    object

    filter[<field>]=<value> is an equality, filter[<field>][<op>]=<value> names the operator; in repeats the parameter.

  • sort
    optional
    created
  • direction
    optional
    asc
    or
    desc
  • limit
    optional
    integer
    maximum: 100 · minimum: 1
  • cursor
    optional
    string
    maxLength: 8192
  • count
    optional
    boolean
  • search
    optional
    string
    maxLength: 200 · minLength: 1

Returns

200

Pages the store's own bans: the domains, addresses and patterns it refuses as customers.

JSON
  • items
    array of
    object
    required
    • id
      string
      required
    • kind
      string
      required

      domain (with its subdomains), email (exact) or pattern (matched whole on the lowercased address).

    • value
      string
      required

      The domain or address in lowercase, a domain in ASCII; the pattern as written.

    • note
      required

      Why the address is banned, for staff alone; null for none.

      One of the following:

      • string
      • null
    • created_at
      string
      required
    • updated_at
      string
      required
  • cursor
    required

    One of the following:

    • string
    • null
  • total
    optional
    number
  • facets
    optional
    map of
    map<number>
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