# List Delivery Zones

Endpoint: GET /api/webhooks/delivery-zones/
Version: 1.0
Security: key

## Security:

  - `key` (unknown)
    apiKey in query key

## Query parameters:

  - `merchant` (integer)
    Merchant ID.

## Response 200:

  - `200` (unknown)
    200

## Response 200 fields (application/json):

  - `count` (integer)
    Example: 4

  - `next` (any)

  - `previous` (any)

  - `results` (array)

  - `results.id` (integer)
    Example: 9

  - `results.name` (string)
    Example: Delivery zone 7

  - `results.merchant` (integer)
    Example: 1

  - `results.post_code_templates` (object)

  - `results.post_code_templates.ranges` (array)

  - `results.post_code_templates.ranges.id` (integer)
    Example: 6

  - `results.post_code_templates.ranges.value` (object)

  - `results.post_code_templates.ranges.value.lower` (string)
    Example: 30000

  - `results.post_code_templates.ranges.value.upper` (string)
    Example: 30999

  - `results.post_code_templates.texts` (array)

  - `results.post_code_templates.texts.id` (integer)
    Example: 1

  - `results.post_code_templates.texts.value` (string)
    Example: 0880

## Response 400:

  - `400` (unknown)
    400

## Response 400 fields (application/json):

  - `detail` (string)
    Example: You don’t have ability to perform this action because delivery zones aren’t enabled.

  - `errors` (object)

  - `errors.merchant` (array)

## Response 200 examples:

  - `Result` (unknown)

## Response 400 examples:

  - `Result` (unknown)

