Skip to main content
Skip to main content

deleteShippingOptions - Fulfillment Module Reference

This documentation provides a reference to the deleteShippingOptions method. This belongs to the Fulfillment Module.

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

This method deletes shipping options by their IDs.

Example

await fulfillmentModuleService.deleteShippingOptions([
"so_123",
"so_321",
])

Parameters

idsstring[]Required
The IDs of the shipping options.
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 options are deleted successfully.

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

This method deletes a shipping option by its ID.

Example

await fulfillmentModuleService.deleteShippingOptions("so_123")

Parameters

idstringRequired
The ID of the shipping option.
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 option is deleted successfully.
Was this section helpful?