- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
setOrderLineItemTaxLines - Order Module Reference
This documentation provides a reference to the setOrderLineItemTaxLines
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 tax lines of an order.
Example#
Parameters#
orderId
stringThe order's ID.
taxLines
(CreateOrderLineItemTaxLineDTO | UpdateOrderLineItemTaxLineDTO)[]The line item tax lines to create or update. If the
tax line object has an id
property, it'll be updated. Otherwise, a tax line is created.
taxLines
(CreateOrderLineItemTaxLineDTO | UpdateOrderLineItemTaxLineDTO)[]id
property, it'll be updated. Otherwise, a tax line is created.Returns#
Promise
Promise<OrderLineItemTaxLineDTO[]>The order's line item tax lines.
Promise
Promise<OrderLineItemTaxLineDTO[]>Was this page helpful?