uploadId when starting a mapping job.
Supported file formats
You can upload inventory files in any of the following formats:The maximum file size is 500 MB. Files larger than this are rejected with a
413 response.Required and optional fields
Every record in your inventory file must include the following fields:
The following field is optional but required if you want to use ID-to-ID or Hybrid mapping:
Sample CSV
Upload idempotency
Uploading the same file twice returns the sameuploadId. mapping.travel identifies duplicate files by their content hash. If the hash matches a file you have already uploaded, the API returns the existing upload record rather than creating a new one. You can safely retry failed upload requests without creating duplicate inventories.
Upload status lifecycle
After you upload a file, you can pollGET /api/v1/inventory/{uploadId} to track its progress. An upload moves through the following statuses:
1
PENDING
The file has been received and is queued for processing.
2
PROCESSING
The file is being parsed and validated.
3
COMPLETED
The file has been processed successfully. The inventory is ready to use in a mapping job.