| Widget API Publishable key from an allowed origin, or a session token |
GET/api/widget/config | Widget settings for the calling tenant |
POST/api/widget/tryon | Render one garment on the shopper’s photo |
POST/api/widget/tryon/look | Render a multi-garment outfit |
POST/api/widget/looks/plan | Stylist plan for the fitting room (free, not counted toward usage) |
POST/api/widget/room-add | Count a garment added to the fitting room |
POST/api/widget/events/{eventId}/add-to-cart | Mark a try-on as added to cart |
POST/api/widget/saved-looks | Save a look and the shopper’s email |
POST/api/widget/feedback | Rate a try-on |
POST/api/widget/recommendations | Recommendations for a product added to the room |
POST/api/widget/recommendations/events | Count recommendation impressions, clicks, room adds and dismissals |
| Server API Secret key, server to server |
GET/api/v1/tenant | The calling tenant |
POST/api/v1/sessions | Mint a short-lived browser session token |
POST/api/v1/conversions | Report an order for attribution |
PUT/api/v1/catalog/products | Create or update catalogue products in a batch |
GET/api/v1/catalog/products/{id} | One catalogue product, with what Riti derived from it |
DELETE/api/v1/catalog/products/{id} | Archive a product (kept for saved looks, never recommended) |
PATCH/api/v1/catalog/inventory | Update stock without resending products |
GET/api/v1/catalog/status | Catalogue health for the key’s mode |
GET/api/v1/catalog/feeds | Registered catalogue feeds |
POST/api/v1/catalog/feeds | Register a CSV, TSV or JSON feed that Riti pulls on a schedule |
PATCH/api/v1/catalog/feeds/{id} | Pause, resume or retune a feed |
DELETE/api/v1/catalog/feeds/{id} | Remove a feed (its products stay in the catalogue) |
POST/api/v1/catalog/feeds/{id}/sync | Sync a feed now |
GET/api/v1/catalog/feeds/{id}/runs | The last 20 sync runs of a feed |
| Hosted Public, addressed by look token |
GET/looks/{token} | Hosted look page |
GET/looks/{token}/image | The look image |
GET/sdk/{version}/{file} | The browser SDK: the v1 alias, or an exact version with SRI hashes |