Products
Batch-create products (up to 100 per call).
Create up to 100 products in one call. Each item carries the same body shape as the single-create endpoint. Partial-success per item — each gets its own status in the response array.
The whole batch consumes N writes upfront against the daily-write budget; if that would overflow, the entire batch returns 429 (no partial billing).
post/api/v1/products/batch
Request
- Base URL: https://app.tracepass.eu
- URL: https://app.tracepass.eu/api/v1/products/batch
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.tracepass.eu/api/oauth/authorize, token URL https://app.tracepass.eu/api/oauth/token, scopes: passports:write)
Headers
Idempotency-Keystring
UUID v4 (or any opaque string ≤ 64 chars) per logical operation. The platform stores the first response for 24 hours and replays it on the same key + same workspace. Reusing the same key with a different request body returns 422.
Request body
Response
Partial-success batch result.
Example response
{
"results": [
{
"data": {
"_id": "6650a1b2c3d4e5f6a7b8c9d0",
"templateId": "6650a1b2c3d4e5f6a7b8c9d0"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.