- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteOrderShippingMethods - Order Module Reference
This documentation provides a reference to the deleteOrderShippingMethods
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.
deleteOrderShippingMethods(methodIds, sharedContext?): Promise<void>#
This method deletes shipping methods by their IDs.
Example#
Parameters#
methodIds
string[]The list of shipping methods.
Returns#
Promise
Promise<void>Resolves when the shipping methods are deleted successfully.
deleteOrderShippingMethods(methodId, sharedContext?): Promise<void>#
This method deletes a shipping method by its ID.
Example#
Parameters#
methodId
stringThe shipping method's ID.
Returns#
Promise
Promise<void>Resolves when the shipping method is deleted successfully.
deleteOrderShippingMethods(selector, sharedContext?): Promise<void>#
This method deletes shipping methods matching the specified filters.
Example#
Parameters#
selector
Partial<FilterableOrderShippingMethodProps>The filters specifying the shipping methods to delete.
selector
Partial<FilterableOrderShippingMethodProps>Returns#
Promise
Promise<void>Resolves when the shipping methods are deleted successfully.
Was this page helpful?