Skip to main content
Skip to main content

setLineItemTaxLines - Order Module Reference

This documentation provides a reference to the setLineItemTaxLines method. This belongs to the Order Module.

This method Represents the completion of an asynchronous operation

Example

const orderId = '12345';
const taxLines: (CreateOrderLineItemTaxLineDTO | UpdateOrderLineItemTaxLineDTO)[] = [
{
code: "TAX1001",
rate: 70,
}
];

const result = await orderModuleService.setLineItemTaxLines(orderId, taxLines);

console.log(result);

Parameters

orderIdstringRequired
The order's ID.
The list of The order line item tax line d t o | update order line item tax line to be created.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<OrderLineItemTaxLineDTO[]>Required
Represents the completion of an asynchronous operation
Was this section helpful?