Version: 1.0.0
SkinAI Partner API
Overview
The SkinAI Partner API lets you manage your Skin Analysis catalog from your own systems:
- Sync stock and prices from your inventory and price feeds
- Build the catalog - brands, categories, products, routines and images
- Map products to skin problems so recommendations match each shopper's analysis
Changes are global: they affect all shoppers. For per-session stock or prices, use the SDK's updateProducts action.
Setup
- Create an API key in Studio and link it to your Skin Analysis project. One key can cover several projects of your organization, e.g. one per store.
- Send it in the
X-API-Keyheader - Set
project_keyto your project slug or UUID
Call the API only from your server. Never put the key in a website or app.
Workflow Order
When creating data from scratch, follow this order:
- Images - Upload images (optional for brands, categories and products)
- Brands
- Categories
- Products - require a brand and a category; tag them with
problem_keysfrom Skin Problems - Stock & Prices - keep them in sync
- Routines - ordered product sets
Recommendations show only published, in-stock products.
Authentication
- API Key: ApiKeyAuth
All API requests require authentication via the X-API-Key header. Set the api_key variable in your environment.
Security Scheme Type: | apiKey |
|---|---|
Header parameter name: | X-API-Key |