- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
setOrderShippingMethodAdjustments - Order Module Reference
This documentation provides a reference to the setOrderShippingMethodAdjustments
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 shipping method adjustments of an order.
Example#
Parameters#
orderId
stringThe order's ID.
The shipping method adjustments to be created
or updated. If an adjustment object has an id
property, it's updated. Otherwise, a new adjustment is created.
id
property, it's updated. Otherwise, a new adjustment is created.Returns#
Promise
Promise<OrderShippingMethodAdjustmentDTO[]>The order's shipping method adjustments.
Promise
Promise<OrderShippingMethodAdjustmentDTO[]>Was this page helpful?