Model
UpSellProducts
Magento\RelatedProductGraphQl\Model\Resolver\UpSellProducts
What it does
This GraphQL resolver retrieves upsell products for a given product in Magento 2's GraphQL API.
Developers use this class when they need to expose upsell product relationships through GraphQL queries, allowing frontend applications to display product recommendations that encourage customers to purchase higher-value alternatives or complementary items.
Public Methods
- resolve()