Sales Channel Townships
Retrieve a specific Sales Channel Township by ID
The channel ID of the resource.
5Unique identifier of the resource
1Sales Channel Township retrieved successfully
The date and time when the object was created.
The date and time when the object was last modified.
Primary key of the township
Township Name
EsenlerIs it active? (True/False)
trueRelated City ID
Postcode
34000Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/townships/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"name": "Esenler",
"is_active": true,
"city": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}Update a specific Sales Channel Township by ID
The channel ID of the resource.
5Unique identifier of the resource
1The date and time when the object was created.
The date and time when the object was last modified.
Primary key of the township
Township Name
EsenlerIs it active? (True/False)
trueRelated City ID
Postcode
34000Sales Channel Township 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}/townships/{id}/ HTTP/1.1
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": "2026-01-01T00:00:00.000Z"
}No content
Delete a specific Sales Channel Township by ID
The channel ID of the resource.
5Unique identifier of the resource
1Sales Channel Township 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}/townships/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No content
Partial update a specific Sales Channel Township by ID
The channel ID of the resource.
5Unique identifier of the resource
1The date and time when the object was created.
The date and time when the object was last modified.
Primary key of the township
Township Name
EsenlerIs it active? (True/False)
trueRelated City ID
Postcode
34000Sales Channel Township 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}/townships/{id}/ HTTP/1.1
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": "2026-01-01T00:00:00.000Z"
}No content
Retrieve a specific Sales Channel Township by ID with details
The channel ID of the resource.
5Unique identifier of the resource
1Sales Channel Township retrieved successfully with details
The date and time when the object was created.
The date and time when the object was last modified.
Primary key of the township
Township Name
EsenlerIs it active? (True/False)
truePostcode
34000Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/townships/{id}/detailed/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"city": 1,
"pk": 1,
"name": "Esenler",
"is_active": true,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}List Sales Channel Townships
The channel ID of the resource.
5Specifies the page number of the current dataset
1Indicates the number of rows on the current page.
10Filters 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
1Filter by City ID
Filter by Postcode
Filter by multiple primary key values (comma-separated list of integers)
OK
0Next page URL
Previous page URL
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/townships/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}
]
}Create Sales Channel Township
The channel ID of the resource.
5The date and time when the object was created.
The date and time when the object was last modified.
Primary key of the township
Township Name
EsenlerIs it active? (True/False)
trueRelated City ID
Postcode
34000Township Created
The date and time when the object was created.
The date and time when the object was last modified.
Primary key of the township
Township Name
EsenlerIs it active? (True/False)
trueRelated City ID
Postcode
34000Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
POST /api/v1/channel/{channel_id}/townships/ HTTP/1.1
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": "2026-01-01T00:00:00.000Z"
}{
"pk": 1,
"name": "Esenler",
"is_active": true,
"city": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}List Sales Channel Townships with details
The channel ID of the resource.
5Specifies the page number of the current dataset
1Indicates the number of rows on the current page.
10Filters 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
1Filter by City ID
Filter by Postcode
Filter by multiple primary key values (comma-separated list of integers)
OK
0Next page URL
Previous page URL
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/townships/detailed/ HTTP/1.1
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": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}
]
}Last updated
Was this helpful?

