SalesChannelCountries
Retrieve a specific Sales Channel Country by ID
The channel ID of the resource.
5
Unique identifier of the resource
1
Sales 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.
5
Unique identifier of the resource
1
Country ID
Country Name
Türkiye
Country Code
TR
Is Active (true/false)
true
Created Date
2021-07-07T14:00:00Z
Modified Date
2021-07-07T14:00:00Z
Sales 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.
5
Unique identifier of the resource
1
Sales Channel Country 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}/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.
5
Unique identifier of the resource
1
Country ID
Country Name
Türkiye
Country Code
TR
Is Active (true/false)
true
Created Date
2021-07-07T14:00:00Z
Modified Date
2021-07-07T14:00:00Z
Sales 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.
5
Unique identifier of the resource
1
Sales 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.
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 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.
5
Country ID
Country Name
Türkiye
Country Code
TR
Is Active (true/false)
true
Created Date
2021-07-07T14:00:00Z
Modified Date
2021-07-07T14:00:00Z
Country 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.
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 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?