SalesChannelTownships
Retrieve a specific Sales Channel Township by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
GET /api/v1/channel/{channel_id}/townships/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"name": "Esenler",
"is_active": true,
"city": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"created_date": "2025-06-27T08:53:13.894Z",
"modified_date": "2025-06-27T08:53:13.894Z"
}
Update a specific Sales Channel Township by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
Primary key of the township
Township Name
Esenler
Is it active? (True/False)
true
Related City ID
Postcode
34000
PUT /api/v1/channel/{channel_id}/townships/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"pk": 1,
"name": "Esenler",
"is_active": true,
"city": 1,
"postcode": "34000",
"modified_date": "2025-06-27T08:53:13.894Z"
}
No content
Delete a specific Sales Channel Township by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
DELETE /api/v1/channel/{channel_id}/townships/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Partial update a specific Sales Channel Township by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
Primary key of the township
Township Name
Esenler
Is it active? (True/False)
true
Related City ID
Postcode
34000
PATCH /api/v1/channel/{channel_id}/townships/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"pk": 1,
"name": "Esenler",
"is_active": true,
"city": 1,
"postcode": "34000",
"modified_date": "2025-06-27T08:53:13.894Z"
}
No content
Retrieve a specific Sales Channel Township by ID with details
The channel ID of the resource.
5
Unique identifier of the resource
1
GET /api/v1/channel/{channel_id}/townships/{id}/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"city": 1,
"pk": 1,
"name": "Esenler",
"is_active": true,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"created_date": "2025-06-27T08:53:13.894Z",
"modified_date": "2025-06-27T08:53:13.894Z"
}
List Sales Channel Townships
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
Filters case insensitive 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 City ID
Filter by Postcode
Filter by multiple primary key values (comma-separated list of integers)
GET /api/v1/channel/{channel_id}/townships/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"created_date": "2025-06-27T08:53:13.894Z",
"modified_date": "2025-06-27T08:53:13.894Z"
}
]
}
Create Sales Channel Township
The channel ID of the resource.
5
Primary key of the township
Township Name
Esenler
Is it active? (True/False)
true
Related City ID
Postcode
34000
POST /api/v1/channel/{channel_id}/townships/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 113
{
"pk": 1,
"name": "Esenler",
"is_active": true,
"city": 1,
"postcode": "34000",
"modified_date": "2025-06-27T08:53:13.894Z"
}
{
"pk": 1,
"name": "Esenler",
"is_active": true,
"city": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"created_date": "2025-06-27T08:53:13.894Z",
"modified_date": "2025-06-27T08:53:13.894Z"
}
List Sales Channel Townships 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
Filters case insensitive 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 City ID
Filter by Postcode
Filter by multiple primary key values (comma-separated list of integers)
GET /api/v1/channel/{channel_id}/townships/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"pk": 1,
"name": "Esenler",
"is_active": true,
"city": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"created_date": "2025-06-27T08:53:13.894Z",
"modified_date": "2025-06-27T08:53:13.894Z"
}
]
}
Was this helpful?