Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cupons de marketing ativos na vitrine.
productIds
string[]
cep
string
state
subtotal
number
Connection<Coupon>
export const data = defineSectionData(async ({ storefront, cart }) => ({ coupons: await storefront.coupons.list({ subtotal: cart?.subtotalPrice ?? 0, productIds: cart?.items?.map((item) => item.productId), }), }));
const { data: coupons } = useCorvexData('coupons', { subtotal: 199.9 });
data: ['coupons']
Was this page helpful?