RECIPE: Business Recipe - Query Products (Catalog V1)

Download skill
Copy

STEP 1: Query Products

Use POST https://www.wixapis.com/stores-reader/v1/products/query to query products from a V1 store.

Basic query (all products):

Copy

STEP 2: Filtering and Sorting

CRITICAL: In V1, filter and sort are JSON-encoded strings, not objects — unlike V3 where they are plain objects.

Query with filter and sort:

Copy

Query by product IDs:

Copy

Key Differences from V3

FeatureCatalog V1Catalog V3
Query endpointPOST /stores-reader/v1/products/queryPOST /stores/v3/products/query
Filter/sortJSON-encoded stringsPlain objects
Additional fieldsNot applicableEnum values like DESCRIPTION, URL

Important Notes

  • Never use /stores/v3/ endpoints on a CATALOG_V1 site — they return 428 Precondition Required.
  • Check the site's catalog version in dynamic context before choosing endpoints.
  • To create products on a V1 site, see Create Product (Catalog V1).

References

Did this help?