Productivity

wix-stores-versioning

wix/skills · updated Apr 8, 2026

$npx skills add https://github.com/wix/skills --skill wix-stores-versioning
summary

Wix Stores has two catalog versions that are NOT backwards compatible:

skill.md

Wix Stores Catalog Versioning

Wix Stores has two catalog versions that are NOT backwards compatible:

Version Status
V1_CATALOG Legacy (e.g., products, inventory)
V3_CATALOG Current (e.g., productsV3, inventoryItemsV3)

V3 modules typically have a V3 suffix. Use Wix MCP to search for the specific module you need.

Core Pattern

Always check catalog version before any Stores operation:

import { catalogVersioning, products, productsV3 } from '@wix/stores';

async function getProducts() {
  const { catalogVersion } = await catalogVersioning.getCatalogVersion();

  if (catalogVersion === 'STORES_NOT_INSTALLED') {
    return [];
  }

  if (catalogVersion === 'V3_CATALOG') {
    // Use V3 module
    const result = await productsV3.queryProducts().limit(10).find();
    return result.items;
  }

  // Use V1 module
  const result = await products.queryProducts().limit(10).find();
  return result.items;
}

Required Permissions

Always look up permissions for each API method you use:

  1. Search for the method using SearchWixSDKDocumentation
  2. Read the full docs with ReadFullDocsArticle to get the required permissions
  3. Return the required permissions to the user

Key Rules

  • Call getCatalogVersion() at the start of each flow
  • Catalog version is permanent per site (won't downgrade from V3 to V1)
  • V1 and V3 have different payload structures — field names, nesting, and types differ
  • Subscribe to both V1 and V3 webhooks to handle all sites

Finding SDK Details

Use MCP tools to search for version-specific documentation:

  • SearchWixSDKDocumentation - Search for methods and permissions
  • ReadFullDocsArticle - Read full documentation when needed

Search queries (results show both V1 and V3 namespaces):

  • "getCatalogVersion" → permissions and usage
  • "createProduct"productsV3 (V3) and products (V1)
  • "queryProducts"productsV3 (V3) and products (V1)
  • "getInventoryItem"inventoryItemsV3 (V3) and inventory (V1)

Important: After finding the method, use ReadFullDocsArticle to get the full documentation including required permissions. Return them to the user.

API Differences Reference

V1 and V3 have different field structures. For field mapping, see: Catalog V1 to V3 Migration Guide

general reviews

Ratings

4.727 reviews
  • Mateo Jain· Dec 28, 2024

    I recommend wix-stores-versioning for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Chaitanya Patil· Dec 4, 2024

    We added wix-stores-versioning from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Piyush G· Nov 23, 2024

    wix-stores-versioning reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Nikhil Brown· Nov 19, 2024

    Useful defaults in wix-stores-versioning — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Rahul Santra· Nov 15, 2024

    wix-stores-versioning fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Shikha Mishra· Oct 14, 2024

    wix-stores-versioning is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Carlos Garcia· Oct 10, 2024

    Registry listing for wix-stores-versioning matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Pratham Ware· Oct 6, 2024

    wix-stores-versioning has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Yash Thakker· Sep 21, 2024

    Useful defaults in wix-stores-versioning — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Luis Chawla· Sep 21, 2024

    wix-stores-versioning is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

showing 1-10 of 27

1 / 3