لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
List storefront recommendations
GET
/ store/ v1/ products/ {handle}/ recommendationsProducts to recommend with one: related alternatives (the merchant's picks, similar products, then those bought with it) or complementary add-ons (picks, then those bought with it). Only products for sale; suggestions only while they can be bought.
معاملات المسار
handlestringمطلوبProduct handle, e.g.
rose-oil
معاملات الاستعلام
intentenumrelated(the default) orcomplementary.- related
- complementary
limitinteger1 to 10; 4 by default.
localestringOne of the store's published languages; the default language otherwise.
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 Product cards, best first.
الأخطاء
- 404
not_foundNo such product for sale.