updateOrderItem - Order Module Reference
This documentation provides a reference to the updateOrderItem
method. This belongs to the Order Module.
updateOrderItem(selector, data, sharedContext?): Promise<OrderItemDTO[]>
This method updates existing {return type}(s).
Example
Parameters
Make all properties in T optional
The attributes to update in the order item.
Returns
The updated {return type}(s).
updateOrderItem(orderDetailId, data, sharedContext?): Promise<OrderItemDTO>
This method updates existing {return type}(s).
Example
Parameters
orderDetailId
stringRequiredThe order detail's ID.
Make all properties in T optional
Returns
The updated {return type}(s).
updateOrderItem(orderDetailIdOrDataOrSelector, data?, sharedContext?): Promise<OrderItemDTO | OrderItemDTO[]>
This method updates existing {return type}(s).
Example
Parameters
orderDetailIdOrDataOrSelector
string | Partial<OrderItemDTO> | UpdateOrderItemWithSelectorDTO[]RequiredThe string | partial< order item d t o> | update order item with selector details.
data
UpdateOrderItemDTO | Partial<UpdateOrderItemDTO>{summary}
Returns
The updated {return type}(s).
Was this section helpful?