getProduct in the widget’s uses list before calling it.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Gets one product by identifier.
getProduct in the widget’s uses list before calling it.
const product = await getProduct({ id: 42 });
const getProduct: PortalFunction<PortalProduct, GetProductInput>