Skip to main content
Skip to main content

setShippingMethodAdjustments - Order Module Reference

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

This method Represents the completion of an asynchronous operation

Example

await orderModuleService.setShippingMethodAdjustments("orderId123", [
{
shipping_method_id: "shipMethodId123",
code: "CODE123",
amount: 1000,
}
]);

Parameters

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

Returns

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