- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createOrderLineItemAdjustments - Order Module Reference
This documentation provides a reference to the createOrderLineItemAdjustments
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.
createOrderLineItemAdjustments(data, sharedContext?): Promise<OrderLineItemAdjustmentDTO[]>#
This method creates line item adjustments.
Example#
Parameters#
The line item adjustments to be created.
Returns#
Promise
Promise<OrderLineItemAdjustmentDTO[]>The created line item adjustments.
Promise
Promise<OrderLineItemAdjustmentDTO[]>createOrderLineItemAdjustments(data, sharedContext?): Promise<OrderLineItemAdjustmentDTO[]>#
This method creates a line item adjustment.
Example#
Parameters#
The line-item adjustment to be created.
Returns#
Promise
Promise<OrderLineItemAdjustmentDTO[]>The created line-item adjustment.
Promise
Promise<OrderLineItemAdjustmentDTO[]>createOrderLineItemAdjustments(orderId, data, sharedContext?): Promise<OrderLineItemAdjustmentDTO[]>#
This method creates line item adjustments for an order.
Example#
Parameters#
orderId
stringThe order's ID.
The line-item adjustments to be created.
Returns#
Promise
Promise<OrderLineItemAdjustmentDTO[]>The created line item adjustments.
Promise
Promise<OrderLineItemAdjustmentDTO[]>Was this page helpful?