انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

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.

    معاملات المسار

    • store_idstringمطلوب

    معاملات الاستعلام

    • afterstring

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

    الترويسات

    • shop-api-versionYYYY-MM

      الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

    ما يُرجعه

    200 Signals, as they happen

    الأخطاء

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