From wix-cli
Handle Wix Stores Catalog V1 and V3 SDK compatibility. Use when building any integration that interacts with Wix Stores products, inventory, orders, or collections. Triggers include Wix Stores, products API, inventory API, catalog version, productsV3, V1 vs V3, store products, queryProducts, getProduct.
npx claudepluginhub wix-playground/skills-architecture-test --plugin wix-cliThis skill uses the workspace's default tool permissions.
Wix Stores has two catalog versions that are **NOT backwards compatible**:
Provides curl command patterns for direct Wix REST API calls to Stores Catalog V1-V3, with authentication, site/account headers, queries, pagination, bulk updates, and PATCH operations.
Builds and reviews Wix CLI app extensions: dashboard pages, modals, plugins, Editor React components, backend APIs, events, service plugins, data collections. Prepares apps for App Market review.
Upgrades webflow-api SDK from v1 to v3: detects breaking changes, migrates v1-to-v2 API endpoints/auth, maps operations like sites/collections/items. Useful for Webflow integrations.
Share bugs, ideas, or general feedback.
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.
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;
}
Always look up permissions for each API method you use:
SearchWixSDKDocumentationReadFullDocsArticle to get the required permissionsgetCatalogVersion() at the start of each flowUse MCP tools to search for version-specific documentation:
SearchWixSDKDocumentation - Search for methods and permissionsReadFullDocsArticle - Read full documentation when neededSearch 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.
V1 and V3 have different field structures. For field mapping, see: Catalog V1 to V3 Migration Guide