Skip to main content
Skip to main content

deleteShippingMethodAdjustments - Cart Module Reference

This documentation provides a reference to the deleteShippingMethodAdjustments method. This belongs to the Cart Module.

deleteShippingMethodAdjustments(ids, sharedContext?): Promise<void>

This method deletes shipping method adjustments by their IDs.

Example

await cartModuleService.deleteShippingMethodAdjustments([
"casmadj_123",
"casmadj_321",
])

Parameters

idsstring[]Required
The IDs of the shipping method adjustments.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the shipping method adjustments are deleted successfully.

deleteShippingMethodAdjustments(id, sharedContext?): Promise<void>

This method deletes a shipping method adjustment by its ID.

Example

await cartModuleService.deleteShippingMethodAdjustments(
"casmadj_123"
)

Parameters

idstringRequired
The ID of the shipping method adjustment.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when shipping method adjustment is deleted successfully.
Was this section helpful?