SalesChannelCargoCompany
Retrieves a specific cargo company associated with sales channel.
Authorizations
Path parameters
channel_idintegerRequiredExample:
The channel ID of the resource.
5
idintegerRequiredExample:
Unique identifier of the resource
1
Responses
200
Cargo company details
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
500
Server Error
get
GET /api/v1/channel/{channel_id}/cargos/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"name": "UPS",
"erp_code": "UPS_001",
"shipping_company": "yurtici",
"created_date": "2025-06-27T08:46:54.993Z",
"modified_date": "2025-06-27T08:46:54.993Z"
}
Retrieves a list of cargo companies associated with sales channel.
Authorizations
Path parameters
channel_idintegerRequiredExample:
The channel ID of the resource.
5
Query parameters
pk__ininteger[]Optional
Filter by multiple primary key values (comma-separated list of integers)
erp_code__exactstringOptionalExample:
Filter by exact ERP code.
ERPCODE123
namestringOptional
Filters by name
shipping_companystring · enumOptionalPossible values:
Filter by shipping company enum
pageinteger · min: 1OptionalDefault:
Specifies the page number of the current dataset
1
limitinteger · min: 1OptionalDefault:
Indicates the number of rows on the current page.
10
Responses
200
A list of cargo companies.
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
500
Server Error
get
GET /api/v1/channel/{channel_id}/cargos/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"created_date": "2025-06-27T08:46:54.993Z",
"modified_date": "2025-06-27T08:46:54.993Z"
}
]
}
Was this helpful?