Items
Fetch published discovery lists from your organization's hostname:
https://your-club.curling.io/en/results/embed?resource=items§ion=leagues
https://your-club.curling.io/en/results/embed?resource=items§ion=competitions
https://your-club.curling.io/en/results/embed?resource=items§ion=products
Replace your-club with your subdomain. Replace en with fr for French.
The response's items.items contains records with canonical IDs, names,
summaries, and published results status. For events, items.seasons lists
available seasons. The products section returns no season list.
Event records may also include occursOn, timeZoneShort, location, and
venue. Optional fields can be null.
For events, add occurred=0 for the current season or occurred=-1 for the
previous season. The products section ignores occurred, because products
aren't filtered by season.
Add registration=true when you need published prices and registration or
waitlist actions. Actions contain actionUrl, actionText, and actionMethod;
use the method returned by the endpoint. A registration action with the POST
method is a browser form submission that carries the canonical product_id and,
for a signed-in visitor with a cart, cart_order_id and cart_generation. Don't
send an empty POST or call it from another site for a signed-in visitor.
Waitlist actions are plain GET links. The native widget handles the cart
handoff for you.
Registration and waitlist actions require Availability to be switched on. Switching a section off hides its actions and records without deleting its saved settings. A product can still show its public description.
For a ready-made interface, use the Results widget. Existing Elm embeds continue using their compatibility payload; these native field names and canonical IDs apply to new integrations.