- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateOrderChanges - Order Module Reference
This documentation provides a reference to the updateOrderChanges
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.
updateOrderChanges(data, sharedContext?): Promise<OrderChangeDTO>#
This method updates an existing order change.
Example#
Parameters#
The attributes to update in the order change.
Returns#
Promise
Promise<OrderChangeDTO>The updated order change.
Promise
Promise<OrderChangeDTO>updateOrderChanges(data, sharedContext?): Promise<OrderChangeDTO[]>#
This method updates order changes. The order changes are identified by the id
property of each order change object.
Example#
Parameters#
data
UpdateOrderChangeDTO[]The order changes to be updated.
data
UpdateOrderChangeDTO[]Returns#
Promise
Promise<OrderChangeDTO[]>The updated order changes.
Promise
Promise<OrderChangeDTO[]>updateOrderChanges(data, sharedContext?): Promise<OrderChangeDTO | OrderChangeDTO[]>#
This method updates order changes. The order changes are identified by the id
property of each order change object.
Example#
Parameters#
The data to update in each order change.
Returns#
Promise
Promise<OrderChangeDTO | OrderChangeDTO[]>The updated order changes.
Promise
Promise<OrderChangeDTO | OrderChangeDTO[]>Was this page helpful?