deleteShippingMethods - Cart Module Reference
This documentation provides a reference to the deleteShippingMethods
method. This belongs to the Cart Module.
deleteShippingMethods(ids, sharedContext?): Promise<void>
This method deletes shipping methods by their IDs.
Example
Parameters
ids
string[]RequiredThe IDs of the shipping methods.
Returns
Promise
Promise<void>RequiredResolves when the shipping methods are deleted successfully.
deleteShippingMethods(id, sharedContext?): Promise<void>
This method deletes a shipping method by its ID.
Example
Parameters
id
stringRequiredThe ID of the shipping method.
Returns
Promise
Promise<void>RequiredResolves when the shipping method is deleted successfully.
Was this section helpful?