Skip to main content
Skip to main content

deleteGeoZones - Fulfillment Module Reference

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

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

This method deletes geo zones by their IDs.

Example

await fulfillmentModuleService.deleteGeoZones([
"fgz_123",
"fgz_321",
])

Parameters

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

Returns

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

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

This method deletes a geo zone by its ID.

Example

await fulfillmentModuleService.deleteGeoZones("fgz_123")

Parameters

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