- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
addOrderAction - Order Module Reference
This documentation provides a reference to the addOrderAction
method. This belongs to the Order Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
addOrderAction(data, sharedContext?): Promise<OrderChangeActionDTO>#
This method creates and adds an action to an order and its change.
Example#
Parameters#
The action to be added to an order.
Returns#
Promise
Promise<OrderChangeActionDTO>The order change action added.
Promise
Promise<OrderChangeActionDTO>addOrderAction(data, sharedContext?): Promise<OrderChangeActionDTO[]>#
This method creates and adds actions to orders and their changes.
Example#
Parameters#
The order change actions to be created.
Returns#
Promise
Promise<OrderChangeActionDTO[]>The created order change actions.
Promise
Promise<OrderChangeActionDTO[]>Was this page helpful?