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 to retrieve the catalog version.
  2. If the catalogVersion is V1_CATALOG, call Create Product on the V1 catalog.
  3. If the catalogVersion is V3_CATALOG, call Create Product on the V3 catalog.
Did this help?