Skip to main content
Skip to main content

deleteShippingOptionRules - Fulfillment Module Reference

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

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

This method deletes shipping option rules by their IDs.

Example

await fulfillmentModuleService.deleteShippingOptionRules([
"sorul_123",
"sorul_321",
])

Parameters

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

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

This method deletes a shipping option by its ID.

Example

await fulfillmentModuleService.deleteShippingOptionRules(
"sorul_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?