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

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

Search the store's products

GET/store/v1/search

    Search 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.

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

    • qstring

      The words

    • availableboolean

      In stock (true) or not (false)

    • price_mininteger

      Lowest price, minor units

    • price_maxinteger

      Highest price, minor units

    • typearray of strings

      Product types (repeatable)

    • vendorarray of strings

      Vendors (repeatable)

    • option.{name}array of strings

      Values of an option, e.g. option.Size=M (repeatable)

    • collectionstring

      Only this collection's products

    • sortstring

      relevance, price_asc, price_desc, newest or title

    • pageinteger

      1–50

    • limitinteger

      1–100, default 24

    • localestring

      A published language for titles

    الترويسات

    • shop-api-versionYYYY-MM

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

    ما يُرجعه

    200 A page of results.

    الأخطاء

    • 422validation_failedInvalid parameters.