لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
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 objectsUp to 20.
external_urlstring · أو nullThe product's HTTPS page on the channel.
ما يُرجعه
200 The listing.
الأخطاء
- 403
forbiddenNot a sales channel app. - 404
not_foundNot listed on the channel. - 422
validation_failedToo many issues, or an address that isn't HTTPS.