Create upload batch
Upload a group of files (e.g. one shipment's paperwork) and let Wove's object-creation pipeline create the shipments, shipment events or customs entries they describe.
Processing is asynchronous: the batch is returned with status pending, moves to processing, and ends as completed or failed. Poll GET /api/v1/external/upload-batches/{batchId} and read createdEntities once it has completed.
Required scopes: documents:write, plus the write scope of every type in allowedObjectTypes (shipment / shipment_event → shipments:write, customs_entry → customs:write). When allowedObjectTypes is omitted the batch is unrestricted and requires shipments:write.
Request
- Base URLhttps://api.wove.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"label": "Shipment 1",
"filingCountry": "US"
}Response
Batch created and queued for processing
Example response
{
"success": true,
"data": {
"id": "1017334964043997186",
"label": "Shipment 1",
"filingCountry": "US",
"createdEntities": [
{
"entityType": "shipment",
"entityId": "1015989120405430278"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.