The Catalog Versioning API allows you to determine which version of the Wix Stores Catalog a site is using.
With the Catalog Versioning API, you can retrieve the catalog version installed on a site.
Wix Stores has two catalog versions:
The two versions are not backwards compatible. To ensure your integration works correctly, call GetCatalogVersion at the beginning of each flow to determine which API to use.
Each catalog version has its own set of domain events. Changes in the V1 catalog trigger V1 webhooks, and changes in the V3 catalog trigger V3 webhooks.
To handle events from all sites until V1 is fully deprecated, subscribe to both V1 and V3 domain events:
GetCatalogVersion endpoint takes no parameters. All necessary information is contained within your authorization header.It's important to note the following points before starting to code: