Headless & Custom CommerceLive Now: REST API v1 + OpenAPI 3.0
Custom & Headless Ecommerce Sizing API Integration
Design completely bespoke product-page fit experiences on Next.js, Hydrogen, React, or proprietary backend monoliths. Integrate server-side catalog synchronization, scoped OAuth 2.0 + PKCE shopper grants, deterministic size scoring, and SSRF-safe webhooks cleanly.
1. Catalog & Chart Sync
Push SKUs, fabric stretch classifications, and garment tables via POST /v1/products and batch CSV endpoints from your PIM or ERP.
2. Scoped OAuth 2.0 PKCE
Route shoppers through /auth/authorize with a S256 code challenge and exchange codes for 15-minute size:recommend grants.
3. Millisecond Scoring & Events
Query POST /v1/recommendations for zone ease breakdowns and subscribe to HMAC-SHA256 signed feedback events.
Quick Server Recommendation Request
POST https://beunifit.in/api/v1/recommendations
Authorization: Bearer uf_sbx_YOUR_SERVER_API_KEY
Content-Type: application/json
{
"productId": "prod_oxford_01",
"variantId": "var_blue_m",
"grantToken": "short_lived_pkce_grant_token"
}Keep uf_live_* and uf_sbx_* server keys strictly in backend services—never bundle secret keys into browser or mobile builds.