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

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

Record listing visit

POST/admin/v1/stores/{store_id}/apps/catalog/{handle}/visit
  • يدعم Idempotency-Key

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.

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

  • store_idstringمطلوب

    معرّف من نوع store، مثل store_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.

  • handlestringمطلوب

    App handle

الترويسات

  • Idempotency-Keystring

    أرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.

  • shop-api-versionYYYY-MM

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

الجسم

  • sourceenumمطلوب

    Where the merchant found the listing.

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

    The merchant opened the install dialog.

ما يُرجعه

204 Counted.

الأخطاء

  • 404not_foundNo such app.