CreateEntitiesStepType

moduleRegistrationNamestring
The regitration name of the module that contains the method to be invoked.
invokeMethodstring
The method to be invoked.
compensateMethodstring
The method to be invoked in case of compensation (when an error occurs).
dataany[]
The data to pass to the invoke method. For example, an array of objects to create.
entityIdentifierstringOptional
A string to pass to the compensate method.
Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break