This article presents a possible use case and corresponding sample flow that you can support. It provides a useful starting point as you plan your implementation.
When a customer views a service or books it, you can show the products the business linked to the service, for example a yoga mat next to a yoga class.
To show related products for the services on a page:
Collect the IDs of the services on the page, up to 100.
Call List Related Products By Service IDs with the service IDs, and set includeProducts to true:
For each service, find its related products settings in relatedProducts by serviceId.
If a service has no entry, it has no related products. Don't show the section for it.
For each service, select the products in productSummaries whose tags.publicTagIds or tags.privateTagIds
include any of the service's productTagIds.
Display each product card:
name, media, and ribbon.price as the product's price. If compareAtPrice.value is higher than price.value,
show compareAtPrice with a strikethrough.discountInfo.discountRuleNames isn't empty, show variantSummary.minPriceVariant.priceAfterDiscount
as the discounted price.availabilityStatus to mark products that are out of stock.When a customer selects a product:
optionsOrModifiersSupported is true, send the customer to the product page at url to choose options.If pagingMetadata.hasNext is true and you want to show more products,
call List Related Products By Service IDs again with the same serviceIds,
and specify pagingMetadata.cursors.next as cursorPaging.cursor.
Last updated: 16 November 2026