Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Which fields are being searched when query products with "Term search" in GraphQL Storefront API?

Which fields are being searched when query products with "Term search" in GraphQL Storefront API?

ShengLong
Shopify Partner
17 0 11
Hi, We are working with the GraphQL Storefront Search API (https://shopify.dev/docs/api/storefront/unstable/queries/search). We are using "Term search" to search for product and we need to know which fields are being searched. In this document https://shopify.dev/docs/api/usage/search-syntax, it says "A case-insensitive search of all the fields in a document", But when we tried to search with some fields such as "productCategory", "status", "seo.title", it did not work. Can you please provide us with the list of fields that are searchable?
Reply 1 (1)

ShengLong
Shopify Partner
17 0 11

Does anyone have any idea? Please help me