SalesChannelBatchRequests
Returns details of a specific batch request
The channel ID of the resource.
5
Unique identifier of the resource
1
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-06-27T08:22:18.063Z",
"content_type": "text"
}
],
"created_date": "2025-06-27T08:22:18.063Z",
"modified_date": "2025-06-27T08:22:18.063Z"
}
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
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-06-27T08:22:18.063Z",
"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-06-27T08:22:18.063Z",
"content_type": "text"
}
],
"created_date": "2025-06-27T08:22:18.063Z",
"modified_date": "2025-06-27T08:22:18.063Z"
}
Deletes a batch request
The channel ID of the resource.
5
Unique identifier of the resource
1
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
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-06-27T08:22:18.063Z",
"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-06-27T08:22:18.063Z",
"content_type": "text"
}
],
"created_date": "2025-06-27T08:22:18.063Z",
"modified_date": "2025-06-27T08:22:18.063Z"
}
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
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-06-27T08:22:18.063Z",
"content_type": "text"
}
],
"created_date": "2025-06-27T08:22:18.063Z",
"modified_date": "2025-06-27T08:22:18.063Z"
}
]
}
Creates a new batch request for the specified channel
The channel ID of the resource.
5
ID of the channel
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-06-27T08:22:18.063Z",
"content_type": "text"
}
],
"created_date": "2025-06-27T08:22:18.063Z",
"modified_date": "2025-06-27T08:22:18.063Z"
}
Was this helpful?