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

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

Review channel listing

PUT/admin/v1/stores/{store_id}/sales-channel/listings/{product_id}

    For a sales channel app: the channel's review of a listed product.

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

    • store_idstringمطلوب

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

    • product_idstringمطلوب

      معرّف من نوع prod، مثل prod_01k8qs5s….

    الترويسات

    • shop-api-versionYYYY-MM

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

    الجسم

    • reviewenumمطلوب

      The channel's answer about a listed product; only the channel's app reports it.

      • waiting
      • approved
      • rejected
      • paused
    • issuesarray of objects

      Up to 20.

    • external_urlstring · أو null

      The product's HTTPS page on the channel.

    ما يُرجعه

    200 The listing.

    الأخطاء

    • 403forbiddenNot a sales channel app.
    • 404not_foundNot listed on the channel.
    • 422validation_failedToo many issues, or an address that isn't HTTPS.