Skip to content
Navigation

Requires a tier to unlock a resource.

PUT
https://api.sherpo.io/merchant/v1/stores/{store}/{kind}/{id}/access_requirements

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • kind
    string
    required

    The target's kind, in the plural.

    minLength: 1
  • id
    string
    required
    minLength: 1

Request body JSON required

  • channel
    api
    or
    web
    or
    mcp
    or
    feed
    or
    any
    required
  • tier
    required

    One of the following:

    • object
    • null
  • closed
    optional
    boolean

    Shuts a product to everyone over MCP, all it heads included; it takes no tier.

  • from
    optional
    object
    • preview_only
      optional
      boolean
    • asset
      optional
      object
      • id
        string
        required
        maxLength: 512 · minLength: 1
  • if_none
    optional
    boolean

    Refused when the resource already has a row on the channel, as a rule put back over one set since.

Returns

200

Requires a tier to unlock a resource.

JSON
  • 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