Retrieves data for specified items in a specified catalog.
Wix calls this method whenever a cart or checkout is updated, and when an item is added to an order.
The method receives a catalogReferences array. Each catalog reference in the array contains:
The method also receives preferences for the currency and weight unit to be used in the response.
Your external catalog can store and organize item details in any way you prefer. When implementing the Catalog service plugin, learn how to handle item variants in a way that meets your needs.
The method's response must contain a catalogItems array. Each item in the array must contain:
catalogReference object. This must be identical to the catalogReference object received in the request.data object with full details about the item.Notes:
catalogItems array in the response.catalogItems must contain an empty array.