listAndCountServiceZones - Fulfillment Module Reference
This documentation provides a reference to the listAndCountServiceZones method. This belongs to the Fulfillment Module.
This method retrieves a paginated list of service zones along with the total count of available service zones satisfying the provided filters.
Example
To retrieve a list of service zones using their IDs:
To specify relations that should be retrieved within the service zone:
By default, only the first 15 records are retrieved. You can control pagination by specifying the skip and take properties of the config parameter:
Parameters
filtersFilterableServiceZonePropsThe filters to apply on the retrieved service zones.
filtersFilterableServiceZonePropsconfigFindConfig<ServiceZoneDTO>The configurations determining how the service zone is retrieved. Its properties, such as select or relations, accept the
attributes or relations associated with a service zone.
configFindConfig<ServiceZoneDTO>select or relations, accept the
attributes or relations associated with a service zone.Returns
The list of service zones along with their total count.
Was this section helpful?