Skip to main content
Skip to main content

deleteShippingOptionTypes - Fulfillment Module Reference

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

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

This method deletes shipping option types by their IDs.

Example

await fulfillmentModuleService.deleteShippingOptionTypes([
"sotype_123",
"sotype_321",
])

Parameters

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

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

This method deletes a shipping option type by its ID.

Example

await fulfillmentModuleService.deleteShippingOptionTypes(
"sotype_123"
)

Parameters

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