Omneo ID is a proxy service that issues profile-scoped tokens for front-end use. Instead of exposing a full API token to the browser, your server generates a short-lived ID token scoped to a specific customer profile. The front end uses this token to access profile data via theDocumentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.
/profiles/me proxy endpoint.
How it works
- Your server authenticates with Omneo using a full API token
- Your server requests an ID token scoped to a specific profile
- The ID token is passed to the front end (e.g., stored in a cookie, metafield, or passed via a template variable)
- The front end initialises the Shapes SDK with the ID token
- The SDK uses the
/profiles/meendpoint to make requests on behalf of that profile
Requesting an ID token
Your server makes a POST request to the ID endpoint with the customer’s Omneo profile ID (or an identity handle/value):Anonymous tokens
Omit theid field to generate a token without a profile association. Anonymous tokens can only be used with the /profiles endpoint (to create or upsert a profile) — they cannot access /profiles/me.
Using the token in Shopify
The Omneo Shopify plugin stores the ID token in localStorage under the keyshapes:omneo:shapestoken:{customer_id}. Check for it first, then generate if missing or expired:
The /profiles/me proxy
Once you have an ID token, the SDK uses /profiles/me as a proxy for all profile endpoints. A request to /profiles/me/lists/wishlist internally resolves to /profiles/{profile_id}/lists/wishlist, with the profile ID scoped by the token.
This means the browser never sees the raw profile UUID in API calls, and the token cannot be used to access any other profile.