Skip to content
Navigation

Records a page your front end showed for the store's analytics, with where the visitor came from on a visit's first page; call it from the visitor's browser.

POST
https://api.sherpo.io/customer/v1/stores/{store}/visits

Authorization

  • bearer
    optional
    HTTP
  • publishableKey
    optional
    API key in header

Path parameters

  • store
    string
    required

    A hostname of the store.

Request body JSON required

One of the following:

  • object
  • object
  • object
  • object

Returns

201

Records a page your front end showed for the store's analytics, with where the visitor came from on a visit's first page; call it from the visitor's browser.

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