- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
deleteShippingMethods - Cart Module Reference
This documentation provides a reference to the deleteShippingMethods
method. This belongs to the Cart Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
deleteShippingMethods(ids, sharedContext?): Promise<void>#
This method deletes shipping methods by their IDs.
Example#
Parameters#
ids
string[]The IDs of the shipping methods.
Returns#
Promise
Promise<void>Resolves when the shipping methods are deleted successfully.
deleteShippingMethods(id, sharedContext?): Promise<void>#
This method deletes a shipping method by its ID.
Example#
Parameters#
id
stringThe ID of the shipping method.
Returns#
Promise
Promise<void>Resolves when the shipping method is deleted successfully.
Was this page helpful?