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