Skip to content

Store live

GET/admin/v1/stores/{store_id}/live

    The store's live signals, as Server-Sent Events. Each message's data is a signal: refetch what it names through the API. Named events: ready (caught up; its id is where to resume), resync (some signals were missed: refetch everything this stream feeds) and reconnect (open a new stream now with ?after= the last ID). Staff sessions only.

    Path parameters

    • store_idstringrequired

    Query parameters

    • afterstring

      The last message ID this browser saw (the header wins when both are sent).

    Headers

    • shop-api-versionYYYY-MM

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

    Returns

    200 Signals, as they happen

    Errors

    • 403forbidden
    • 429rate_limited
    • 503unavailableBusy, or not listening yet: poll and try again