Skip to content
Navigation

Pages the commissions affiliates earned.

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

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
    occurred
  • direction
    optional
    asc
    or
    desc
  • limit
    optional
    integer
    maximum: 100 · minimum: 1
  • cursor
    optional
    string
    maxLength: 8192
  • count
    optional
    boolean
  • facets
    optional
    array of
    string

Returns

200

Pages the commissions affiliates earned.

JSON
  • items
    array of
    object
    required
    • settlement_id
      string
      required
    • order_item_id
      string
      required
    • user_id
      string
      required
    • discount_id
      required

      One of the following:

      • string
      • null
    • currency
      string
      required
    • exponent
      required

      One of the following:

      • number
      • null
    • fee
      required

      One of the following:

      • number
      • null
    • status
      string
      required
    • occurred_at
      required

      One of the following:

      • string
      • null
    • sale
      required

      One of the following:

      • number
      • null
    • sale_currency
      string
      required
    • sale_exponent
      required

      One of the following:

      • number
      • null
    • order
      required

      One of the following:

      • object
      • null
    • product
      required

      One of the following:

      • object
      • null
    • discount
      required

      One of the following:

      • object
      • null
    • resolution
      required

      One of the following:

      • object
      • null
    • user
      required

      One of the following:

      • object
      • null
  • 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