Inventory
Get an ingestion job
Returns an ingestion job and its current state and counts. Poll this until state is either:
- completed
- completed_with_errors, or
- failed
Then read the per-item report at /inventory/ingestions/{id}/results.
Requires the agentic:inventory scope. A job owned by another merchant returns 404.
get/inventory/ingestions/{id}
Request
- Base URLhttps://{prefix}.api.sandbox.checkout.com
- AuthOAuth 2Client credentialsToken URLstringScopesagentic:inventory
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The ingestion identifier.
Response
The ingestion job.
Example response
{
"id": "ing_01hzy8q2m4n6p8r0s2t4v6w8x0",
"state": "accepted",
"mode": "upsert",
"counts": {
"received": 500,
"accepted": 498,
"rejected": 2
},
"failure_reason": {
"code": "file_unreadable",
"message": "The uploaded file could not be read as CSV."
},
"upload_url": "https://inventory-ingestions.s3.eu-west-1.amazonaws.com/ingestions/mer_1/ing_.../payload.csv?X-Amz-Signature=...",
"created_on": "2026-09-24T15:04:05.0000000+00:00",
"modified_on": "2026-09-24T15:04:11.0000000+00:00",
"_links": {
"self": {
"href": "https://api.checkout.com/inventory/var_123",
"actions": [
"GET"
],
"types": [
"application/json"
]
},
"results": {
"href": "https://api.checkout.com/inventory/var_123",
"actions": [
"GET"
],
"types": [
"application/json"
]
},
"start": {
"href": "https://api.checkout.com/inventory/var_123",
"actions": [
"GET"
],
"types": [
"application/json"
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.