Home > @vue-storefront/magento-api > upsellProduct

upsellProduct variable

Returns upsell products matching the provided parameters. To override the default query, use the upsellProducts query key.

Signature:

_default: (context: Context, searchParams?: GetProductSearchParams, customQuery?: CustomQuery, customHeaders?: CustomHeaders) => Promise<ApolloQueryResult<UpsellProductsQuery>>