RECIPE: Business Recipe – Initial Setup for a Wix Online Store (Catalog V3)
A concise checklist for preparing any new Wix site that uses the Online Stores app with Catalog V3. Notice that this recipe is NOT meant for coding purposes and is ONLY meant for initial catalog setup.
YOU MUST Complete all the following steps in the given order (1 -5) without skipping any and without requiring additional user input. YOU MUST remind yourself as many times as needed throughout the process that you most complete all the steps and not stop at all in the middle.
⚠️ CRITICAL ORDER REQUIREMENT: You MUST start with creating products FIRST (Steps 1-2), then categories (Steps 3-5). Categories API might take some time to be fully available after Stores installation, so always create products before attempting category operations.
Check if the site uses Catalog V3.
This can be done using the Get Catalog Version endpoint.
path: https://www.wixapis.com/stores/v3/provision/version
From this point forward, as long as the result is V3, use only Catalog V3 REST endpoints.
All API calls should be directed to endpoints starting with /stores/v3/.... Do not mix V3 calls with earlier versions.
Exception for Categories:
The Categories API is an exception. It uses a v1 endpoint, as it replaces the older Collections API. For example, to create a category in V3, use the following endpoint:
https://www.wixapis.com/categories/v1/categories
⚠️ CRITICAL: EXACT FORMAT REQUIREMENTS YOU MUST use the following recipe to create ALL products with the EXACT same format:
/categories/v1/bulk/categories/{categoryId}/add-items with catalogItemId, appId: "215238eb-22a5-4c36-9e7b-e7c08025e04e", and treeReference object.
When calling the endpoint, make sure the request body includes a top-level treeReference field. It must not be nested inside the category object.Use the following example format:
⚠️ CRITICAL: Use correct endpoint /categories/v1/bulk/categories/{categoryId}/add-items with catalogItemId, appId: "215238eb-22a5-4c36-9e7b-e7c08025e04e", and treeReference object.
Make Sure you pass the treeReference correctly at the same level as "items".
https://www.wixapis.com/categories/v1/categories/{categoryId}/list-itemstreeReference field. It must not be nested inside the category object.Following these steps in order guarantees the creation flow for new V3 Wix Online Store sites: