Skip to main content
GET
/
products
/
ingestions
/
{batch_id}
Queries the status and progress of a batch
curl --request GET \
  --url https://api.example.com/products/ingestions/{batch_id} \
  --header 'Authorization: Bearer <token>'
{
  "batch_id": "<string>",
  "status": "accepted",
  "received_count": 123,
  "validated_ok": 123,
  "validated_failed": 123,
  "upserted": 123,
  "failed": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

batch_id
string
required

Response

Batch status

batch_id
string
required
status
enum<string>
required
Available options:
accepted,
validating,
processing,
completed,
completed_with_errors,
failed
received_count
integer
required
created_at
string<date-time>
required
validated_ok
integer
validated_failed
integer
upserted
integer
failed
integer
updated_at
string<date-time>
I