This article presents a possible use case and corresponding sample flow that you can support. It provides a useful starting point as you plan your implementation.
A site owner has asked Wix to preview one or more of your products with a specific image applied, such as the site logo or a custom design. Wix calls your platform via Bulk Generate Mockups, which kicks off asynchronous mockup generation on your side. Once each mockup is ready—or you've determined it can't be produced—you report the outcome back to Wix so the site owner's UI can reflect the result.
To report generated mockup results back to Wix:
providerProductId, the image URL, and the imageType.status to COMPLETED and include the mockupUrl. For each failure, set status to FAILED. Always echo the same providerProductId and imageType from the original request so Wix writes the result to the correct mockup slot.itemMetadata in each response to confirm that each submission was accepted, and retry individual items if needed.