- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
upsertOrderLineItemTaxLines - Order Module Reference
This documentation provides a reference to the upsertOrderLineItemTaxLines
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 upserts line item tax lines.
Example#
Parameters#
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 line item tax lines.
Promise
Promise<OrderLineItemTaxLineDTO[]>Was this page helpful?