Inventory
Start processing an uploaded file
Begins processing a CSV file that was uploaded to the presigned upload_url. Validates and parses the file, then queues it, moving the job out of awaiting_upload. Poll the job for status and read the per-item report as for a JSON batch.
Requires the agentic:inventory scope.
post/inventory/ingestions/{id}/start
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 uploaded file was accepted and queued for processing.
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.