List all batch operations
GET/v1/batches/operations
Retrieve all batch operations. Beta
Responses
- 200
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
results
object[]
required
A unique identifier
Possible values: [queued
, running
, failed
, completed
, completed_with_errors
]
Possible values: [orders
, shipments
, trackers
, billing
]
resources
object[]
required
A unique identifier
Possible values: [queued
, running
, failed
, completed
, completed_with_errors
]
The batch operation resource status
errors
object
nullable
Resource processing errors
Resource processing errors
{
"count": 0,
"next": "string",
"previous": "string",
"results": [
{
"id": "string",
"status": "queued",
"resource_type": "orders",
"resources": [
{
"id": "string",
"status": "queued",
"errors": {}
}
],
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"test_mode": true
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}