Cities
Retrieve a specific City by ID
Unique identifier of the resource
1
City retrieved successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/cities/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "Istanbul",
"created_date": "2025-08-30T01:18:52.030Z",
"modified_date": "2025-08-30T01:18:52.030Z",
"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
City updated
No content
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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
City deleted successfully
No content
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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
City updated
No content
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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
City retrieved successfully with details
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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-08-30T01:18:52.030Z",
"modified_date": "2025-08-30T01:18:52.030Z",
"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
OK
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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-08-30T01:18:52.030Z",
"modified_date": "2025-08-30T01:18:52.030Z",
"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
City Created
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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-08-30T01:18:52.030Z",
"modified_date": "2025-08-30T01:18:52.030Z",
"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
OK
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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-08-30T01:18:52.030Z",
"modified_date": "2025-08-30T01:18:52.030Z",
"is_active": true,
"country": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"priority": 1,
"postcode": "34000"
}
]
}
Create mapping for City
Mapping created successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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-08-30T01:18:52.030Z",
"modified_date": "2025-08-30T01:18:52.030Z"
}
Get mappings for City
Mapping collected successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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-08-30T01:18:52.030Z",
"modified_date": "2025-08-30T01:18:52.030Z"
}
Get integration mapping types for City
Integration Mapping Types collected successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
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?