v54

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01594762.7 KB
Batch operations

Get batch inventory status

Retrieves the current processing status and progress information for a batch inventory job. Use this endpoint to poll the batch status and track processing progress.

ℹ️ This feature is in early access, which means that we are working to improve it. If you want to use this feature, please contact our Support Center.

This endpoint is part of the Batch operations section for high-throughput inventory updates. Learn more about inventory management at VTEX.

Permissions

Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise, they will receive a status code 403 error. These are the applicable resources for this endpoint:

ProductCategoryResource
LogisticsLogistics accessLogistics - Full access

You can create a custom role with that resource or use one of the following predefined roles:

RoleResource
Logistics - Full accessLogistics - Full access
OMS - Full accessLogistics - Full access

❗ Assigning a predefined role to users or API keys usually grants permission to multiple License Manager resources. If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see Best practices for using API keys.

To learn more about machine authentication at VTEX, see Authentication overview.

get/availability/v1/inventory/batch/{batchId}/status

Path parameters

batchIdstring uuid required
Example:550e8400-e29b-41d4-a716-446655440000

Unique identifier for the batch job, returned by the Create batch inventory job endpoint.

Headers

Acceptstring required
Example:application/json

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Response

OK

batchIdstring uuid required

Unique identifier for the batch inventory job.

status'AWAITING_UPLOAD' | 'QUEUED' | 'PROCESSING' | 'COMPLETED' | 'COMPLETED_WITH_ERRORS' | 'FAILED' | 'EXPIRED' required

Current processing status of the batch inventory. Possible values:

  • AWAITING_UPLOAD: Batch created, waiting for CSV upload.
  • QUEUED: Upload committed, waiting to begin processing.
  • PROCESSING: Batch is currently being processed (includes mid stages: INGESTING, CLASSIFYING).
  • COMPLETED: All rows processed successfully.
  • COMPLETED_WITH_ERRORS: Processing finished with some row errors.
  • FAILED: Processing failed due to validation or system errors.
  • EXPIRED: Batch metadata has expired (default: 30 minutes).
rowCountinteger required

Total number of rows in the batch.

processedCountinteger required

Number of rows processed so far.

errorCountinteger required

Number of rows with errors.

amountCompletedinteger required

Percentage of batch inventory completed.

createdAtstring date-time required

Batch inventory creation timestamp.

startedAtstring date-time nullable

Batch inventory processing start timestamp.