CompareListGraphQl
vendor/magento/module-compare-list-graph-ql/etc/schema.graphqls
Queries
Mutations
addProductsToCompareList
Add products to the specified compare list.
CompareList · returns CompareList
assignCompareListToCustomer
Assign the specified compare list to the logged in customer.
CompareList · returns AssignCompareListToCustomerOutput
createCompareList
Create a new compare list. The compare list is saved for logged in customers.
CompareList · returns CompareList
deleteCompareList
Delete the specified compare list.
CompareList · returns DeleteCompareListOutput
removeProductsFromCompareList
Remove products from the specified compare list.
CompareList · returns CompareList
Types
Object types, input types, enums, interfaces, and unions declared (or extended) in this module.
AddProductsToCompareListInput
Contains products to add to an existing compare list.
AssignCompareListToCustomerOutput
Contains the results of the request to assign a compare list.
ComparableAttribute
Contains an attribute code that is used for product comparisons.
ComparableItem
Defines an object used to iterate through items for product comparisons.
CompareList
Contains iterable information such as the array of items, the count, and attributes that represent the compare list.
CreateCompareListInput
Contains an array of product IDs to use for creating a compare list.
Customer
Defines the customer name, addresses, and other details.
DeleteCompareListOutput
Contains the results of the request to delete a compare list.
ProductAttribute
Contains a product attribute code and value.
RemoveProductsFromCompareListInput
Defines which products to remove from a compare list.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.