# WEARFITS Product Digitization (Batch)

Base URL: https://api.wearfits.com

POST /api/v1/digitization/batches queues many products for 3D generation in one
request — up to 500 products per batch, up to 10 images per product.

## How it works

- Each item runs through the same processor as a single shoe-3d call, on a
  low-priority queue so batch traffic never competes with real-time try-on.
- Per-item result caching makes re-running an unchanged catalog near-instant.
- Pass an external `id` per product; it is returned as `productId` on each result.

## Polling and webhooks

Poll GET /api/v1/digitization/batches/{batchId} for progress and per-item results
(`glbUrl`, `viewerUrl`, `error`), or supply a webhookUrl for a signed
`batch.completed` callback. Batches expire after 7 days.

## Reference

- OpenAPI 3.1 spec: https://api.wearfits.com/doc
- Product digitization (main site): https://wearfits.com/lp2/onboarding/photo-to-3d/
