Added
[Platform · All platforms] Send regid in the x-swym-regid header
about 1 hour ago
Four storefront GET routes now accept the regid in an x-swym-regid request header:
GET /v2/provider/user-preferenceGET /v3/provider/user-preferenceGET /v3/user/get-user-localeGET /v3/user/size-preference
The ?regid= query parameter continues to work and nothing that works today stops working. CORS preflight is handled on all four routes.
If you use the Swym JS SDK: Nothing to do. The SDK moves to the header on its own.
If you call the API directly, including headless storefronts: Optional but recommended for new integrations, so the credential stays out of URLs and out of CDN and proxy logs.
