Products

Upload a product image.

Upload a single image file via multipart/form-data (field name file) and append it to the product's imageUrls array. Returns the resulting public R2 URL plus the full updated array.

PNG / JPG / WebP only, max 5 MB per file, max 20 images per product. No Idempotency-Key support — multipart bodies aren't safely hashable; the client should check existence and skip if retrying.

post/api/v1/products/{id}/images

Request

  • Base URL: https://app.tracepass.eu
  • URL: https://app.tracepass.eu/api/v1/products/{id}/images
  • 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)

Response

Image uploaded.

imageUrlstring uri required
imageUrlsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.