Skip to main content
Skip to main content

setShippingMethodTaxLines - Order Module Reference

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

This method Represents the completion of an asynchronous operation

Example

const orderId = "someOrderId";
const taxLines = [
{
code: "VAT20",
rate: 20,
}
];

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

Parameters

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

Returns

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