This guide explains the methods for displaying and managing products using the Jay platform APIs. It covers how products are structured, how they can be grouped, and how they relate to other entities like looks, characters and locations.
- Products can have variants (e.g., different sizes)
- Products can include similar items (via
linkedToProductsreferences) - Products can come from different merchants (online shops)
- Each product includes details like brand, price, description, and images
To retrieve all products available for a specific episode:
API Endpoint:
This endpoint returns a list of all products available in the episode, with their basic information.
For comprehensive details about a specific product:
API Endpoint:
This provides complete product information including:
- Product name, description, and brand
- Pricing information
- Available sizes/variants
- Images
- Related products
To retrieve detailed information for multiple products in a single request, you can use the Basket API.
For details on how to retrieve product information using the Basket API, please refer to:
This is particularly useful when you need to display information for products in a user's basket.
Products can be organized by their respective merchants (shops). You can create shop-specific displays by:
- Fetching all products for an episode
- Grouping them based on their merchant attributes
- Displaying each group as a separate shop section
Groups are an important concept for organizing products:
- Products within one group often share a common theme or merchant
- Some groups are designated as "menu groups" (where
mainMenu=true) - Menu groups typically appear in navigation menus
API Endpoint for Groups:
A "look" typically represents a character's outfit or a styled collection of products.
- Core entity (typically a character/person or a location)
- Multiple associated costumes or props with purchasable products
- A look can also combine a location with multiple associated props
Fetch characters or locations
Fetch associated costumes and props
Link characters to their costumes and products
To display products that appear at specific times in the video:
Get timeline events:
Filter events by the current playback time using the
filterTimeparameter (in milliseconds)Extract product IDs from relevant events and display the associated products
Once a user selects a product, you can add it to their basket using the Basket API.
For comprehensive instructions on adding products to the basket, managing cart items, and checkout process, please refer to: