When the catalog and taxonomy configurations are complete, the seller can synchronize the catalog to the channel.
This section describes the catalog synchronization process between Mirakl Connect and the channel, as well as the APIs and events the connector must implement. Below is the list of flows:
- Consume the product and offer events, and push them to the channel.
- Provide feedback about the product and offer integration to Mirakl Connect.
Each flow is detailed in the next sections.
To import products and offers into the channel, the connector must implement consumers for the product and offer events triggered by Mirakl Connect each time a product is created or updated, and synchronize them to the channel.
The events to implement are:
| Event reference | Description |
|---|---|
| OfferUpsertEvent | Provides information about a created or updated offer |
| PriceStockUpsertEvent | Provides information about a price stock upsert |
| ProductUpsertEvent | Provides information about a created or updated product |
Important: Regarding offer events, the PriceStockUpsertEvent is not configurable and cannot be disabled. Only the OfferUpsertEvent can be configured and enabled or disabled using the configureChannelCatalog API.
For more information, refer to the Event APIs reference.
Once the products and offers events are consumed and the integration process in the channel is complete, the connector must provide integration feedback to Mirakl Connect for each event.
To achieve this, the connector must call the updateStoreCatalogItems API.
For more information, refer to REST APIs reference.