SalesChannelCountries
Retrieve a specific Sales Channel Country by ID
The channel ID of the resource.
5Unique identifier of the resource
1Sales Channel Country retrieved successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/countries/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "Türkiye",
"code": "TR",
"is_active": true,
"created_date": "2021-07-07T14:00:00Z",
"modified_date": "2021-07-07T14:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}Update a specific Sales Channel Country by ID
The channel ID of the resource.
5Unique identifier of the resource
1Country ID
Country Name
TürkiyeCountry Code
TRIs Active (true/false)
trueCreated Date
2021-07-07T14:00:00ZModified Date
2021-07-07T14:00:00ZSales Channel Country 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}/countries/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"name": "Türkiye",
"code": "TR",
"is_active": true
}No content
Delete a specific Sales Channel Country by ID
The channel ID of the resource.
5Unique identifier of the resource
1Sales Channel Country deleted successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
DELETE /api/v1/channel/{channel_id}/countries/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Partial update a specific Sales Channel Country by ID
The channel ID of the resource.
5Unique identifier of the resource
1Country ID
Country Name
TürkiyeCountry Code
TRIs Active (true/false)
trueCreated Date
2021-07-07T14:00:00ZModified Date
2021-07-07T14:00:00ZSales Channel Country 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}/countries/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"name": "Türkiye",
"code": "TR",
"is_active": true
}No content
Retrieve a specific Sales Channel Country by ID with details
The channel ID of the resource.
5Unique identifier of the resource
1Sales Channel Country 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}/countries/{id}/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "Türkiye",
"code": "TR",
"is_active": true,
"created_date": "2021-07-07T14:00:00Z",
"modified_date": "2021-07-07T14:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}List Sales Channel Countries
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 by exact code
Filter by integration mapping object's integration type
Filter by integration mapping object's code
Activate id to hyperlink the response data.
OK
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/countries/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"name": "Türkiye",
"code": "TR",
"is_active": true,
"created_date": "2021-07-07T14:00:00Z",
"modified_date": "2021-07-07T14:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}Create Sales Channel Country
The channel ID of the resource.
5Country ID
Country Name
TürkiyeCountry Code
TRIs Active (true/false)
trueCreated Date
2021-07-07T14:00:00ZModified Date
2021-07-07T14:00:00ZCountry Created
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
POST /api/v1/channel/{channel_id}/countries/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"name": "Türkiye",
"code": "TR",
"is_active": true
}{
"id": 1,
"name": "Türkiye",
"code": "TR",
"is_active": true,
"created_date": "2021-07-07T14:00:00Z",
"modified_date": "2021-07-07T14:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}List Sales Channel Countries 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 by exact code
Filter by integration mapping object's integration type
Filter by integration mapping object's code
Activate id to hyperlink the response data.
OK
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/channel/{channel_id}/countries/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"id": 1,
"name": "Türkiye",
"code": "TR",
"is_active": true,
"created_date": "2021-07-07T14:00:00Z",
"modified_date": "2021-07-07T14:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}Was this helpful?

