- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
revertLastVersion - Order Module Reference
This documentation provides a reference to the revertLastVersion
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.
This method reverts an order to its last version and cleanup data related to the changes.
Example#
Parameters#
orderId
stringThe order's ID.
Returns#
Promise
Promise<void>Resolves when the order is reverted.
Was this page helpful?