Skip to main content
Skip to main content

deleteServiceZones - Fulfillment Module Reference

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

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

This method deletes service zones by their IDs.

Example

await fulfillmentModuleService.deleteServiceZones([
"serzo_123",
"serzo_321",
])

Parameters

idsstring[]Required
The IDs of the service zone.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the service zones are deleted.

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

This method deletes a service zone by its ID.

Example

await fulfillmentModuleService.deleteServiceZones("serzo_123")

Parameters

idstringRequired
The ID of the service zone.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the service zone is deleted.
Was this section helpful?