- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteOrderLineItemAdjustments - Order Module Reference
This documentation provides a reference to the deleteOrderLineItemAdjustments
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.
deleteOrderLineItemAdjustments(adjustmentIds, sharedContext?): Promise<void>#
This method deletes a line item adjustment by its ID.
Example#
Parameters#
adjustmentIds
string[]The IDs of line item adjustments.
Returns#
Promise
Promise<void>Resolves when the line item adjustments are deleted successfully.
deleteOrderLineItemAdjustments(adjustmentId, sharedContext?): Promise<void>#
This method deletes a line item adjustment by its ID.
Example#
Parameters#
adjustmentId
stringThe ID of the line item adjustment.
Returns#
Promise
Promise<void>Resolves when the line item adjustment is deleted.
deleteOrderLineItemAdjustments(selector, sharedContext?): Promise<void>#
This method deletes line item adjustments matching the specified filters.
Example#
Parameters#
selector
Partial<OrderLineItemAdjustmentDTO>The filters specifying which line item adjustments to delete.
selector
Partial<OrderLineItemAdjustmentDTO>Returns#
Promise
Promise<void>Resolves when the line item adjustments are deleted successfully.
Was this page helpful?