Skip to content
Navigation

Counts a product's entries by status and section.

GET
https://api.sherpo.io/merchant/v1/stores/{store}/products/{product}/entries/stats

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • product
    string
    required

    An id, or slug:<slug>.

    minLength: 1

Returns

200

Counts a product's entries by status and section.

JSON
  • students
    number
    required
  • average_completion
    required

    One of the following:

    • number
    • null
  • entries
    array of
    object
    required
    • entry_id
      string
      required
    • completions
      number
      required
    • completed_fraction
      required

      One of the following:

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