لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Search the store's products
/ store/ v1/ searchSearch the store's products. Every word must match — Arabic spelling variants (أ/ا, ة/ه, ى/ي, diacritics), near spellings and the store's synonyms included — in titles (any language), variants, options, SKUs, tags, vendor or type. Filters: available, price_min/price_max (minor units), type, vendor and option.{Name} (repeat a key to accept several values), collection. Facets count each filter's values with the others applied. Sort: relevance (default), price_asc, price_desc, newest, title.
معاملات الاستعلام
qstringThe words
availablebooleanIn stock (true) or not (false)
price_minintegerLowest price, minor units
price_maxintegerHighest price, minor units
typearray of stringsProduct types (repeatable)
vendorarray of stringsVendors (repeatable)
option.{name}array of stringsValues of an option, e.g.
option.Size=M(repeatable)collectionstringOnly this collection's products
sortstringrelevance, price_asc, price_desc, newest or title
pageinteger1–50
limitinteger1–100, default 24
localestringA published language for titles
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 A page of results.
الأخطاء
- 422
validation_failedInvalid parameters.