Magento 2 GraphQL Explorer
Every Magento 2 GraphQL query and mutation grouped by module, with arguments, return types, resolver classes, and copy-paste headers, variables, body, and cURL.
40 result(s) in Queries · Clear
attributesForm
Retrieve EAV attributes associated to a frontend form. Use countries query provided by DirectoryGraphQl module to retrieve region_id and country_id attribute options.
Eav · returns AttributesFormOutput!
attributesList
Returns a list of attributes metadata for a given entity type.
Eav · returns AttributesMetadataOutput
availableStores
Get a list of available store views and their config information.
Store · returns [StoreConfig]
cart
phpcs:ignore Magento2.GraphQL.ValidArgumentName
Quote · returns Cart
categories
Return a list of categories that match the specified filter.
Catalog · returns CategoryResult
category
DeprecatedSearch for categories that match the criteria specified in the `search` and `filter` attributes.
Catalog · returns CategoryTree
categoryList
DeprecatedReturn an array of categories based on the specified filters.
Catalog · returns [CategoryTree]
checkoutAgreements
Return Terms and Conditions configuration information.
CheckoutAgreements · returns [CheckoutAgreement]
cmsBlocks
Return information about CMS blocks.
Cms · returns CmsBlocks
cmsPage
Return details about a CMS page.
Cms · returns CmsPage
compareList
Return products that have been added to the specified compare list.
CompareList · returns CompareList
countries
The countries query provides information for all countries.
Directory · returns [Country]
country
The countries query provides information for a single country.
Directory · returns Country
currency
Return information about the store's currency.
Directory · returns Currency
customAttributeMetadata
DeprecatedReturn the attribute type, given an attribute code and entity type.
Eav · returns CustomAttributeMetadata
customAttributeMetadataV2
Retrieve EAV attributes metadata.
Eav · returns AttributesMetadataOutput!
customer
Return detailed information about a customer account.
Customer · returns Customer
customerCart
Return information about the customer's shopping cart.
Quote · returns Cart!
customerDownloadableProducts
Return a list of downloadable products the customer has purchased.
CustomerDownloadable · returns CustomerDownloadableProducts
customerGroup
Provides Customer Group assigned to the Customer or Guest.
Customer · returns CustomerGroupStorefront!
customerOrders
DeprecatedSales · returns CustomerOrders
customerPaymentTokens
Return a list of customer payment tokens stored in the vault.
Vault · returns CustomerPaymentTokens
getHostedProUrl
Retrieve the secure PayPal URL for a Payments Pro Hosted Solution transaction.
Paypal · returns HostedProUrl
getPayflowLinkToken
Retrieve payment credentials for a transaction. Use this query for Payflow Link and Payments Advanced payment methods.
Paypal · returns PayflowLinkToken
getPaymentConfig
Retrieves the payment configuration for a given location
PaymentServicesPaypal · returns PaymentConfigOutput
getPaymentOrder
Retrieves the payment details for the order
PaymentServicesPaypal · returns PaymentOrderOutput
getPaymentSDK
Gets the payment SDK urls and values
PaymentServicesPaypal · returns GetPaymentSDKOutput
getVaultConfig
Retrieves the vault configuration
PaymentServicesPaypal · returns VaultConfigOutput
guestOrder
Retrieve guest order details based on number, email and billing last name.
Sales · returns CustomerOrder!
guestOrderByToken
Retrieve guest order details based on token.
Sales · returns CustomerOrder!
isEmailAvailable
Check whether the specified email has already been used to create a customer account.
Customer · returns IsEmailAvailableOutput
pickupLocations
The pickup locations query searches for locations that match the search request requirements.
InventoryInStorePickup · returns PickupLocations
productReviewRatingsMetadata
Return the active ratings attributes and the values each rating can have.
Review · returns ProductReviewRatingsMetadata!
products
Search for products that match the criteria specified in the `search` and `filter` attributes.
Catalog · returns Products
recaptchaFormConfig
ReCaptchaWebapi · returns ReCaptchaConfigOutput
recaptchaV3Config
Returns details about Google reCAPTCHA V3-Invisible configuration.
ReCaptchaWebapi · returns ReCaptchaConfigurationV3
route
Return the full details for a specified product, category, or CMS page.
UrlRewrite · returns RoutableInterface
storeConfig
Return details about the store's configuration.
Store · returns StoreConfig
urlResolver
DeprecatedReturn the relative URL for a specified product, category or CMS page.
UrlRewrite · returns EntityUrl
wishlist
DeprecatedReturn the contents of a customer's wish list.
Wishlist · returns WishlistOutput
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.