Skip to content

Record listing visit

POST/admin/v1/stores/{store_id}/apps/catalog/{handle}/visit
  • Idempotency-Key supported

Counts the store's visit to an app's listing, for its developer's funnel: once a day per store, with where the merchant came from and whether they started installing.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • handlestringrequired

    App handle

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • sourceenumrequired

    Where the merchant found the listing.

    • home
    • search
    • category
    • browse
    • link
  • started_installboolean

    The merchant opened the install dialog.

Returns

204 Counted.

Errors

  • 404not_foundNo such app.