Cities
Retrieve a specific City by ID
Unique identifier of the resource
1
GET /api/v1/cities/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "Istanbul",
"created_date": "2025-06-27T09:01:11.879Z",
"modified_date": "2025-06-27T09:01:11.879Z",
"is_active": true,
"country": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"priority": 1,
"postcode": "34000"
}
Update a specific City by ID
Unique identifier of the resource
1
City ID
City Name
Istanbul
Creation Date
Last Modification Date
Is it active? (True/False)
true
Related Country ID
Priority
1
Postcode
34000
PUT /api/v1/cities/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"name": "Istanbul",
"is_active": true,
"country": 1,
"priority": 1,
"postcode": "34000"
}
No content
Delete a specific City by ID
Unique identifier of the resource
1
DELETE /api/v1/cities/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Partial update a specific City by ID
Unique identifier of the resource
1
City ID
City Name
Istanbul
Creation Date
Last Modification Date
Is it active? (True/False)
true
Related Country ID
Priority
1
Postcode
34000
PATCH /api/v1/cities/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"name": "Istanbul",
"is_active": true,
"country": 1,
"priority": 1,
"postcode": "34000"
}
No content
Retrieve a specific City by ID with details
Unique identifier of the resource
1
GET /api/v1/cities/{id}/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"country": 1,
"id": 1,
"name": "Istanbul",
"created_date": "2025-06-27T09:01:11.879Z",
"modified_date": "2025-06-27T09:01:11.879Z",
"is_active": true,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"priority": 1,
"postcode": "34000"
}
List Cities
Specifies the page number of the current dataset
1
Indicates the number of rows on the current page.
10
Filters by exact name
Filter by integration mapping object's integration type
Filter by integration mapping object's code
Activate id to hyperlink the response data.
Filter by priority
1
Filter by County ID
Filter by Postcode
GET /api/v1/cities/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"name": "Istanbul",
"created_date": "2025-06-27T09:01:11.879Z",
"modified_date": "2025-06-27T09:01:11.879Z",
"is_active": true,
"country": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"priority": 1,
"postcode": "34000"
}
]
}
Create City
City ID
City Name
Istanbul
Creation Date
Last Modification Date
Is it active? (True/False)
true
Related Country ID
Priority
1
Postcode
34000
POST /api/v1/cities/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"name": "Istanbul",
"is_active": true,
"country": 1,
"priority": 1,
"postcode": "34000"
}
{
"id": 1,
"name": "Istanbul",
"created_date": "2025-06-27T09:01:11.879Z",
"modified_date": "2025-06-27T09:01:11.879Z",
"is_active": true,
"country": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"priority": 1,
"postcode": "34000"
}
List Cities with details
Specifies the page number of the current dataset
1
Indicates the number of rows on the current page.
10
Filters by exact name
Filter by integration mapping object's integration type
Filter by integration mapping object's code
Activate id to hyperlink the response data.
Filter by priority
1
Filter by County ID
Filter by Postcode
GET /api/v1/cities/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"name": "Istanbul",
"created_date": "2025-06-27T09:01:11.879Z",
"modified_date": "2025-06-27T09:01:11.879Z",
"is_active": true,
"country": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"priority": 1,
"postcode": "34000"
}
]
}
Create mapping for City
GET /api/v1/create_mapping/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"content_type": 1,
"object_id": 1,
"content_object": {},
"integration_type": "hepsiburada",
"code": "text",
"created_date": "2025-06-27T09:01:11.879Z",
"modified_date": "2025-06-27T09:01:11.879Z"
}
Get mappings for City
GET /api/v1/get_mappings/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"content_type": 1,
"object_id": 1,
"content_object": {},
"integration_type": "hepsiburada",
"code": "text",
"created_date": "2025-06-27T09:01:11.879Z",
"modified_date": "2025-06-27T09:01:11.879Z"
}
Get integration mapping types for City
GET /api/v1/get_integration_mapping_types/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"hepsiburada": "Hepsiburada",
"hepsiburadads": "Hepsiburadads",
"n11": "N11",
"web": "Web",
"external_company": "External Company",
"gittigidiyor": "Gittigidiyor",
"trendyol": "Trendyol",
"ups": "Ups",
"morhipo": "Morhipo",
"morhipoV2": "Morhipov2",
"amazon": "Amazon",
"b2c_direct": "B2C Direct",
"allegro": "Allegro",
"akinon": "Akinon",
"ay_cargo": "Ay Cargo",
"aliexpress": "Aliexpress",
"emag": "Emag",
"yurtici": "Yurtici",
"ciceksepeti": "Ciceksepeti",
"fancourier": "Fancourier",
"diva": "Diva",
"hana": "Hana",
"gordumaldim": "Gordumaldim",
"pazarama": "Pazarama",
"flo": "Flo",
"dpd": "Dpd",
"cdek": "Cdek",
"turkcellds": "Turkcellds",
"sales_channel": "Sales Channel",
"kolay_gelsin": "Kolay Gelsin",
"sameday": "Sameday",
"sendeo": "Sendeo",
"cargus": "Cargus",
"dataeva": "Dataeva",
"speedy": "Speedy",
"modanisa": "Modanisa"
}
Was this helpful?