This guide shows how to read a customer’s Omneo lists, generate a share code for a list, and fetch a shared list using that code, from a Shopify Liquid theme or App UI Extension.Documentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.
This guide assumes you already have an Omneo ID Proxy token. See Shopify Authentication for how to obtain one.
Prerequisites
| Requirement | Details |
|---|---|
| ID Proxy token | Obtained from /apps/cx in a Liquid theme, or your Remix route in a UI Extension. See Shopify Authentication. |
| List Definition | At least one list definition (for example, a wishlist) configured in Omneo. See List Definitions. |
| SDK | The @omneo/omneo-sdk package installed in your Shopify app or theme bundle. |
Initialise the SDK
Construct anID client with the token, tenant, and expiry returned from the auth flow.
client.profile.* calls are scoped to the customer the token was issued for.
Fetch a customer’s lists
Return all lists associated with the logged-in profile.lists is an array of list objects. Each list includes its id, list definition handle, items, and metadata. If the customer has no lists yet, the array is empty.
Generate a share code
Generate a unique, shareable handle for a list by posting to itsshares endpoint. The handle can be embedded in a URL and used by another browser to view the list.
Fetch a list by share code
A list opened by share code reads from the public/lists/shares/{handle} endpoint. This call works with an anonymous token, so recipients without an Omneo profile can still open the list.
End-to-end example
Further reading
Lists overview
What lists are and how they work across surfaces.
List Definitions
Configure list types and their rules.
Shopify Authentication
How to obtain the ID Proxy token used by this guide.
Lists API reference
Endpoint-level reference for lists, items, and shares.