Skip to content
Navigation

Reads the access requirements of many resources at once.

POST
https://api.sherpo.io/merchant/v1/stores/{store}/access_requirements/query

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

Request body JSON required

  • resources
    array of
    object
    required
    • kind
      product
      or
      entry
      or
      download
      or
      quiz
      or
      attachment
      or
      page
      required
    • id
      string
      required
      maxLength: 512 · minLength: 1

Returns

200

Reads the access requirements of many resources at once.

JSON
  • resource
    object
    required
    • kind
      string
      required
    • id
      string
      required
      maxLength: 512 · minLength: 1
  • requirements
    array of
    object
    required
    • resource
      object
      required
      • kind
        string
        required
      • id
        string
        required
    • channel
      string
      required
    • tier_id
      required

      One of the following:

      • string
      • null
    • closed
      boolean
      required
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