- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
setOrderLineItemAdjustments - Order Module Reference
This documentation provides a reference to the setOrderLineItemAdjustments
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.
This method sets the line item adjustments of an order.
Example#
Parameters#
orderId
stringThe order's ID.
The line item adjustments to create or update. If the id
property is provided
in an object, it means an existing line item adjustment will be updated. Otherwise, a new one is created.
id
property is provided
in an object, it means an existing line item adjustment will be updated. Otherwise, a new one is created.Returns#
Promise
Promise<OrderLineItemAdjustmentDTO[]>The order's line item adjustments.
Promise
Promise<OrderLineItemAdjustmentDTO[]>Was this page helpful?