addShippingMethodAdjustments - Cart Module Reference
This documentation provides a reference to the addShippingMethodAdjustments
method. This belongs to the Cart Module.
addShippingMethodAdjustments(data): Promise<ShippingMethodAdjustmentDTO[]>
This method adds shipping method adjustments to shipping methods.
Example
Parameters
The shipping method adjustments to be created and added to
shipping methods. The shipping method is specified by the shipping_method_id
field.
shipping_method_id
field.Returns
The added shipping method adjustments.
addShippingMethodAdjustments(data): Promise<ShippingMethodAdjustmentDTO>
This method adds a shipping method adjustment to a shipping method.
Example
Parameters
The shipping method adjustment to be created and added to a
shipping method. The shipping method is specified by the shipping_method_id
field.
shipping_method_id
field.Returns
The added shipping method adjustment.
addShippingMethodAdjustments(cartId, data, sharedContext?): Promise<ShippingMethodAdjustmentDTO[]>
This method adds shipping method adjustments to shipping methods in a cart.
Example
Parameters
cartId
stringRequiredThe cart's ID.
The shipping method adjustments to be created and added to
shipping methods. The shipping method is specified by the shipping_method_id
field.
shipping_method_id
field.Returns
The added shipping method adjustments.
Was this section helpful?