update - Order Module Reference
This documentation provides a reference to the update
method. This belongs to the Order Module.
update(data): Promise<OrderDTO[]>
This method updates existing {return type}(s).
Example
Parameters
The attributes to update in the order.
Returns
The updated {return type}(s).
update(orderId, data, sharedContext?): Promise<OrderDTO>
This method updates existing {return type}(s).
Example
Parameters
orderId
stringRequiredThe order's ID.
The attributes to update in the order.
Returns
The updated {return type}(s).
update(selector, data, sharedContext?): Promise<OrderDTO[]>
This method updates existing {return type}(s).
Example
Parameters
Make all properties in T optional
The attributes to update in the order.
Returns
The updated {return type}(s).
Was this section helpful?