Create a variant product based on the information provided in the event
Plugin Name
Inventory Reference Module
Namespace
[[account.id]].globalinventory
The InventoryReference Module is the foundation for inventory related implementations. It provides reference Workflows for inventory ingestion and processing. Extensible by design, use this Module as a base to build a solution to the needs of your customers.The Inventory Module includes the following areas:
All the event attributes of the incoming event are parsed/deserialized into a "Product" object which has the following structureAn example JSON payload that represents the event attributes of an incoming event This rule parses/deserializes all the event attributes into a Product object outlined above. It then creates a "variant product mutation" request using all the eventattribute values. The `{entityRef}` value of the incoming event is used as the product catalogue reference of the variant product being created.