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