Skip to content

Public batch

POST/store/v1/telemetry
  • Idempotency-Key supported

A batch from a page with nobody signed in (a sign-in page, the hosted checkout): errors and speed only, no identity kept. Limited per client address like every anonymous request.

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

  • surfacestringrequired

    admin, console, developers or checkout.

  • visit_idstring · or null

    A random ID the tab keeps for its visit.

  • releasestring · or null

    The build that sent it: <YYYYMMDDHHMM>-<commit>.

  • localestring · or null
  • devicestring · or null

    phone, tablet or desktop, from the viewport.

  • eventsarray of objects

    Product events, as the catalogue names them (at most 50).

  • errorsarray of objects

    At most 20.

  • speedarray of objects

    One per page view (at most 20).

Returns

202

Errors

  • 400bad_request