SalesChannelDistricts
Retrieve a specific Sales Channel District by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
Sales Channel District retrieved successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"zipcode": "34000",
"created_date": "2025-08-31T03:24:24.338Z",
"modified_date": "2025-08-31T03:24:24.338Z"
}
Update a specific Sales Channel District by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
Primary key of the district
District Name
Davutpasa
Is it active? (True/False)
true
Related City ID
Related Township ID
Postcode
34000
Zipcode
34000
Sales Channel District updated
No content
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
PUT /api/v1/channel/{channel_id}/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"postcode": "34000",
"zipcode": "34000",
"modified_date": "2025-08-31T03:24:24.338Z"
}
No content
Delete a specific Sales Channel District by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
Sales Channel District deleted successfully
No content
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
DELETE /api/v1/channel/{channel_id}/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Partial update a specific Sales Channel District by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
Primary key of the district
District Name
Davutpasa
Is it active? (True/False)
true
Related City ID
Related Township ID
Postcode
34000
Zipcode
34000
Sales Channel District updated
No content
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
PATCH /api/v1/channel/{channel_id}/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"postcode": "34000",
"zipcode": "34000",
"modified_date": "2025-08-31T03:24:24.338Z"
}
No content
Retrieve a specific Sales Channel District by ID with details
The channel ID of the resource.
5
Unique identifier of the resource
1
Sales Channel District retrieved successfully with details
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/districts/{id}/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"city": 1,
"township": 1,
"pk": 1,
"name": "Davutpasa",
"is_active": true,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"zipcode": "34000",
"created_date": "2025-08-31T03:24:24.338Z",
"modified_date": "2025-08-31T03:24:24.338Z"
}
List Sales Channel Districts
The channel ID of the resource.
5
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 City ID
Filter by Township ID
Filter by Postcode
OK
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/districts/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"created_date": "2025-08-31T03:24:24.338Z",
"modified_date": "2025-08-31T03:24:24.338Z"
}
]
}
Create Sales Channel District
The channel ID of the resource.
5
Primary key of the district
District Name
Davutpasa
Is it active? (True/False)
true
Related City ID
Related Township ID
Postcode
34000
Zipcode
34000
Sales Channel District Created
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
POST /api/v1/channel/{channel_id}/districts/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"postcode": "34000",
"zipcode": "34000",
"modified_date": "2025-08-31T03:24:24.338Z"
}
{
"pk": 1,
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"zipcode": "34000",
"created_date": "2025-08-31T03:24:24.338Z",
"modified_date": "2025-08-31T03:24:24.338Z"
}
List Districts with details
The channel ID of the resource.
5
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 City ID
Filter by Township ID
Filter by Postcode
OK
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/districts/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"pk": 1,
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"zipcode": "34000",
"created_date": "2025-08-31T03:24:24.338Z",
"modified_date": "2025-08-31T03:24:24.338Z"
}
]
}
Was this helpful?