SalesChannelBatchRequests
Returns details of a specific batch request
The channel ID of the resource.
5
Unique identifier of the resource
1
Batch request details
Batch request not found
GET /api/v1/channel/{channel_id}/batch_requests/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"channel": 1,
"local_batch_id": "123e4567-e89b-12d3-a456-426614174000",
"remote_batch_id": "text",
"content_type": "text",
"status": "initialized",
"objects": [
{
"pk": 1,
"failed_reason_type": "text",
"remote_id": "text",
"version_date": "2025-08-30T01:54:15.791Z",
"content_type": "text"
}
],
"created_date": "2025-08-30T01:54:15.791Z",
"modified_date": "2025-08-30T01:54:15.791Z"
}
Updates a batch request with the provided data
The channel ID of the resource.
5
Unique identifier of the resource
1
ID of the channel
Remote batch ID
Content type of the batch request
Status of the batch request
Log file content
Batch request updated successfully
Invalid request data
Batch request not found
Batch request cannot be updated
PUT /api/v1/channel/{channel_id}/batch_requests/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 233
{
"channel": 1,
"remote_batch_id": "text",
"content_type": "text",
"status": "initialized",
"objects": [
{
"pk": 1,
"failed_reason_type": "text",
"remote_id": "text",
"version_date": "2025-08-30T01:54:15.791Z",
"content_type": "text"
}
],
"log_file": "text"
}
{
"pk": 1,
"channel": 1,
"local_batch_id": "123e4567-e89b-12d3-a456-426614174000",
"remote_batch_id": "text",
"content_type": "text",
"status": "initialized",
"objects": [
{
"pk": 1,
"failed_reason_type": "text",
"remote_id": "text",
"version_date": "2025-08-30T01:54:15.791Z",
"content_type": "text"
}
],
"created_date": "2025-08-30T01:54:15.791Z",
"modified_date": "2025-08-30T01:54:15.791Z"
}
Deletes a batch request
The channel ID of the resource.
5
Unique identifier of the resource
1
Batch request deleted successfully
No content
Batch request not found
DELETE /api/v1/channel/{channel_id}/batch_requests/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Partially updates a batch request with the provided data
The channel ID of the resource.
5
Unique identifier of the resource
1
ID of the channel
Remote batch ID
Content type of the batch request
Status of the batch request
Log file content
Batch request updated successfully
Invalid request data
Batch request not found
Batch request cannot be updated
PATCH /api/v1/channel/{channel_id}/batch_requests/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 233
{
"channel": 1,
"remote_batch_id": "text",
"content_type": "text",
"status": "initialized",
"objects": [
{
"pk": 1,
"failed_reason_type": "text",
"remote_id": "text",
"version_date": "2025-08-30T01:54:15.791Z",
"content_type": "text"
}
],
"log_file": "text"
}
{
"pk": 1,
"channel": 1,
"local_batch_id": "123e4567-e89b-12d3-a456-426614174000",
"remote_batch_id": "text",
"content_type": "text",
"status": "initialized",
"objects": [
{
"pk": 1,
"failed_reason_type": "text",
"remote_id": "text",
"version_date": "2025-08-30T01:54:15.791Z",
"content_type": "text"
}
],
"created_date": "2025-08-30T01:54:15.791Z",
"modified_date": "2025-08-30T01:54:15.791Z"
}
Returns a list of batch requests for the specified channel
The channel ID of the resource.
5
Filter by status
Filter by content type
Order by field name
List of batch requests
Channel not found
GET /api/v1/channel/{channel_id}/batch_requests/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"pk": 1,
"channel": 1,
"local_batch_id": "123e4567-e89b-12d3-a456-426614174000",
"remote_batch_id": "text",
"content_type": "text",
"status": "initialized",
"objects": [
{
"pk": 1,
"failed_reason_type": "text",
"remote_id": "text",
"version_date": "2025-08-30T01:54:15.791Z",
"content_type": "text"
}
],
"created_date": "2025-08-30T01:54:15.791Z",
"modified_date": "2025-08-30T01:54:15.791Z"
}
]
}
Creates a new batch request for the specified channel
The channel ID of the resource.
5
ID of the channel
Batch request created successfully
Invalid request data
Channel not found
POST /api/v1/channel/{channel_id}/batch_requests/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"channel": 1
}
{
"pk": 1,
"channel": 1,
"local_batch_id": "123e4567-e89b-12d3-a456-426614174000",
"remote_batch_id": "text",
"content_type": "text",
"status": "initialized",
"objects": [
{
"pk": 1,
"failed_reason_type": "text",
"remote_id": "text",
"version_date": "2025-08-30T01:54:15.791Z",
"content_type": "text"
}
],
"created_date": "2025-08-30T01:54:15.791Z",
"modified_date": "2025-08-30T01:54:15.791Z"
}
Was this helpful?