---
title: "GetCities"
method: GET
path: "/v2/GetCities"
tags: ["Shipping"]
---

# GetCities

`GET /v2/GetCities`

## Request

- Base URL: `https://apitest.myfatoorah.com`
- URL: `https://apitest.myfatoorah.com/v2/GetCities`
- Auth: HTTP bearer

Retrieves a list of cities that belong to a certain country. You can also search for a specific city name in a certain country.

## Query parameters

- `shippingMethod` 1 | 2, required: 1 for DHL, 2 for ARAMEX
- `countryCode` string, required
- `searchValue` string

## Response `200`

Successful response

- object
  - `IsSuccess` boolean: Indicates if the request was successful
  - `Message` string: Response message
  - `FieldsErrors` unknown[]: List of validation errors if any
    - unknown
  - `Data` object[]: List of cities for the specified country
    - `CountryCode` string: The country code of the retrieved cities
    - `CityNames` string[]: List of cities names provided for the specified shipping method

---

[API](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2.md) - [All operations](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2/revisions/4c0c2a3af558?raw)
