> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Sample Flow ## Article: Sample Flow ## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-versioning/sample-flow.md ## Article Content: # Catalog Versioning API: Sample Flows This article presents the most common use case and corresponding sample flow that you should support. ## Create a product while supporting both V1 and V3 catalogs When building an integration that creates products, you need to call the correct API based on the site's catalog version. To create a product while supporting both catalog versions: 1. Call [Get Catalog Version](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-versioning/get-catalog-version.md) to retrieve the catalog version. 2. If the `catalogVersion` is `V1_CATALOG`, call [Create Product](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/create-product.md) on the V1 catalog. 3. If the `catalogVersion` is `V3_CATALOG`, call [Create Product](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/products-v3/create-product.md) on the V3 catalog.