---
title: "Get Pickup and Delivery Intervals"
method: GET
path: "/pickupdelyintervals"
tags: ["PickupApi"]
---

# Get Pickup and Delivery Intervals

`GET /pickupdelyintervals`

Returns available time intervals for all available postal codes in the country, aiding in precise scheduling of pickups and deliveries.

## Response `200`

OK

- ClientAPIPickupDelyIntervalsResultDto
  - `status` 'OK' | 'Error' | 'ValidationFailed' — 0 = OK, 1 = Error, 2 = ValidationFailed
  - `validations` ClientAPIValidation[], nullable
    - `code` integer
    - `message` string, nullable
    - `params` object, nullable
  - `error` ClientAPIError
    - `code` integer
    - `message` string, nullable
    - `stackTrace` string, nullable
    - `innerException` ClientAPIError — recursive
    - `validations` ClientAPIValidation[], nullable
      - `code` integer
      - `message` string, nullable
      - `params` object, nullable
    - `messageParams` string[], nullable
    - `payload` JToken[]
  - `traceID` string, nullable
  - `data` CNPickDelyIntervals[], nullable — List of available pickup and delivery intervals grouped by postal code.
    - `name` string, nullable — Location or depot name associated with these intervals.
    - `zipcode` string, nullable — Postal code for which the pickup and delivery intervals apply.
    - `pickupIntervals` CNTimeInterval[], nullable — Available time intervals for courier pickup at this location.
      - `from` string, nullable — Start time of the interval (format: HH:mm).
      - `until` string, nullable — End time of the interval (format: HH:mm).
    - `deliveryIntervals` CNTimeInterval[], nullable — Available time intervals for delivery at this location.
      - `from` string, nullable — Start time of the interval (format: HH:mm).
      - `until` string, nullable — End time of the interval (format: HH:mm).

---

[API](https://skmtc.dev/expressone/apis/client-api.md) · [All operations](https://skmtc.dev/expressone/apis/client-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/expressone/client-api/revisions/2acf7e4a5080/schema)
