- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateOrderExchanges - Order Module Reference
This documentation provides a reference to the updateOrderExchanges
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.
updateOrderExchanges(data, sharedContext?): Promise<OrderExchangeDTO[]>#
This method updates existing order exchanges.
Example#
Parameters#
The filters specifying which exchanges to update,
and the data to update in them.
Returns#
Promise
Promise<OrderExchangeDTO[]>The updated order exchanges.
Promise
Promise<OrderExchangeDTO[]>updateOrderExchanges(selector, data, sharedContext?): Promise<OrderExchangeDTO[]>#
This method updates existing order exchanges matching the specified filters.
Example#
Parameters#
selector
Partial<FilterableOrderExchangeProps>The filters specifying which order exchanges to update.
selector
Partial<FilterableOrderExchangeProps>data
Partial<UpdateOrderExchangeDTO>The data to update in the order exchanges.
data
Partial<UpdateOrderExchangeDTO>Returns#
Promise
Promise<OrderExchangeDTO[]>The updated order exchanges.
Promise
Promise<OrderExchangeDTO[]>updateOrderExchanges(id, data, sharedContext?): Promise<OrderExchangeDTO>#
This method updates an existing order exchange.
Example#
Parameters#
id
stringThe ID of the order exchange.
data
Partial<UpdateOrderExchangeDTO>The data to update in the order exchange.
data
Partial<UpdateOrderExchangeDTO>Returns#
Promise
Promise<OrderExchangeDTO>The updated order exchange.
Promise
Promise<OrderExchangeDTO>Was this page helpful?