Retrieve a batch operation
GET/v1/batches/operations/:id
Retrieve a batch operation. Beta
Request
Path Parameters
id stringrequired
Responses
- 200
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id string
A unique identifier
status stringrequired
Possible values: [queued
, running
, failed
, completed
, completed_with_errors
]
resource_type stringrequired
Possible values: [orders
, shipments
, trackers
, billing
]
resources
object[]
required
id string
A unique identifier
status stringrequired
Possible values: [queued
, running
, failed
, completed
, completed_with_errors
]
The batch operation resource status
errors
object
nullable
Resource processing errors
property name* anynullable
Resource processing errors
created_at date-timerequired
updated_at date-timerequired
test_mode booleanrequired
{
"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
message string
The error or warning message
code string
The message code
details
object
any additional details
property name* any
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
message string
The error or warning message
code string
The message code
details
object
any additional details
property name* any
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}
Loading...