Skip to content

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.

    Query parameters

    • 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

    Headers

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Returns

    200 A page of results.

    Errors

    • 422validation_failedInvalid parameters.