لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
List collection products
GET
/ admin/ v1/ stores/ {store_id}/ collections/ {collection_id}/ products- products:read
List a collection's products in its sort order (smart collections: the products matching its rules right now).
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.collection_idstringمطلوبمعرّف من نوع
col، مثلcol_01k8qs5s….
معاملات الاستعلام
limitinteger1–250, default 50.
cursorstringpage.next_cursorfrom the previous page.
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 A page of products.
الأخطاء
- 400
bad_requestMalformed query or cursor. - 404
not_foundNo such collection.