---
title: "Reserves a single occupancy by manual packing and flexible time scope."
method: POST
path: "/hub-management/occupancies/reserve/manual-packing/flexible-time-scope/with-anonymous-picker"
tags: ["hub-management"]
---

# Reserves a single occupancy by manual packing and flexible time scope.

`POST /hub-management/occupancies/reserve/manual-packing/flexible-time-scope/with-anonymous-picker`

## Request

- Base URL: `https://api.ganje.net/v1.1`
- URL: `https://api.ganje.net/v1.1/hub-management/occupancies/reserve/manual-packing/flexible-time-scope/with-anonymous-picker`
- Auth: API key in header `Authorization`

Must be authenticated as a supplier.
Manual packing means needed lockers to accomedate parcels are specified by the client.

## Request body

- object
  - `station` string, uuid
  - `station_slug` string, slug
  - `time_scope` object
    - `expected_check_in` string, date-time, required
    - `expected_duration` string, required: Input can be either in seconds or 'D HH:MM:SS' format Output is always in 'D HH:MM:SS' format
  - `time_scope_date` object
    - `expected_check_in_date` string, date, required
    - `expected_check_out_date` string, date
    - `expected_duration_days` integer
  - `package` object, required
    - `external_id` string, nullable
    - `packs` object[], required
      - `size` 'small' | 'medium' | 'large' | 'long', required
      - `parcels` object[], required
        - `external_id` string
        - `weight` integer, nullable
        - `value` number, nullable
        - `content` string, nullable
        - `extra_information` object, nullable
    - `supplier` string, uuid
    - `extra_information` object, nullable
    - `shop` string, nullable
  - `supplier` string, uuid
  - `uuid` string, uuid
  - `order_date` string, date-time
  - `process` 'firstmile' | 'middlemile' | 'lastmile' | 'warehouse' | 'manual_lastmile' | 'personal_lastmile' | 'safe_box' | 'manual_firstmile', required
  - `logistic_company` string, uuid: Logistic Company UUID
  - `picker` string
  - `dropper` string: Dropper Phone Number in +98xxxxxxxxxx format
  - `verbose_id` string: Any id to verbally represent occupancy, for example order_id in supplier system.
  - `password` string
  - `random` boolean
  - `picker_full_name` string
  - `cancel` boolean

## Response `200`

successful occupancy reservation

- object
  - `pk` integer
  - `uuid` string, uuid
  - `verbose_id` string
  - `status` string
  - `process` string
  - `station` object
    - `uuid` string
    - `address` string, nullable: Full address
    - `location` string
    - `nickname` string, nullable: A name for users to remeber this station with.
    - `postal_code` string, nullable
    - `images` string[]
    - `districts` object, nullable
  - `shipment_external_id` string
  - `picker_phone_number` string
  - `picker_first_name` string
  - `picker_last_name` string
  - `picker_full_name` string
  - `dropper_phone_number` string
  - `dropper_first_name` string
  - `dropper_last_name` string
  - `users` object
    - `supplier` string, uuid
    - `picker` string, uuid
    - `dropper` string, uuid
  - `dates` object
    - `time_scope` object
      - `expected_check_in` string, date-time, required
      - `expected_duration` string, required: Input can be either in seconds or 'D HH:MM:SS' format Output is always in 'D HH:MM:SS' format
    - `order_date` string, date-time
    - `check_in` string, date-time
    - `check_out` string, date-time
    - `cancel_date` string, date-time
    - `extend_date` string, date-time

## Other responses

- `400`: unsuccessful occupancy reservation

---

[API](https://skmtc.dev/ganje/apis/ganje-external-api.md) - [All operations](https://skmtc.dev/ganje/apis/ganje-external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ganje/apis/ganje-external-api/revisions/709eb3fdf716?raw)
