MageSmith
40 queries · 75 mutations · Magento 2.4.9

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

Query

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!

Query

attributesList

Returns a list of attributes metadata for a given entity type.

Eav · returns AttributesMetadataOutput

Query

availableStores

Get a list of available store views and their config information.

Store · returns [StoreConfig]

Query

cart

phpcs:ignore Magento2.GraphQL.ValidArgumentName

Quote · returns Cart

Query

categories

Return a list of categories that match the specified filter.

Catalog · returns CategoryResult

Query

category

Deprecated

Search for categories that match the criteria specified in the `search` and `filter` attributes.

Catalog · returns CategoryTree

Query

categoryList

Deprecated

Return an array of categories based on the specified filters.

Catalog · returns [CategoryTree]

Query

checkoutAgreements

Return Terms and Conditions configuration information.

CheckoutAgreements · returns [CheckoutAgreement]

Query

cmsBlocks

Return information about CMS blocks.

Cms · returns CmsBlocks

Query

cmsPage

Return details about a CMS page.

Cms · returns CmsPage

Query

compareList

Return products that have been added to the specified compare list.

CompareList · returns CompareList

Query

countries

The countries query provides information for all countries.

Directory · returns [Country]

Query

country

The countries query provides information for a single country.

Directory · returns Country

Query

currency

Return information about the store's currency.

Directory · returns Currency

Query

customAttributeMetadata

Deprecated

Return the attribute type, given an attribute code and entity type.

Eav · returns CustomAttributeMetadata

Query

customAttributeMetadataV2

Retrieve EAV attributes metadata.

Eav · returns AttributesMetadataOutput!

Query

customer

Return detailed information about a customer account.

Customer · returns Customer

Query

customerCart

Return information about the customer's shopping cart.

Quote · returns Cart!

Query

customerDownloadableProducts

Return a list of downloadable products the customer has purchased.

CustomerDownloadable · returns CustomerDownloadableProducts

Query

customerGroup

Provides Customer Group assigned to the Customer or Guest.

Customer · returns CustomerGroupStorefront!

Query

customerOrders

Deprecated

Sales · returns CustomerOrders

Query

customerPaymentTokens

Return a list of customer payment tokens stored in the vault.

Vault · returns CustomerPaymentTokens

Query

getHostedProUrl

Retrieve the secure PayPal URL for a Payments Pro Hosted Solution transaction.

Paypal · returns HostedProUrl

Query

getPayflowLinkToken

Retrieve payment credentials for a transaction. Use this query for Payflow Link and Payments Advanced payment methods.

Paypal · returns PayflowLinkToken

Query

getPaymentConfig

Retrieves the payment configuration for a given location

PaymentServicesPaypal · returns PaymentConfigOutput

Query

getPaymentOrder

Retrieves the payment details for the order

PaymentServicesPaypal · returns PaymentOrderOutput

Query

getPaymentSDK

Gets the payment SDK urls and values

PaymentServicesPaypal · returns GetPaymentSDKOutput

Query

getVaultConfig

Retrieves the vault configuration

PaymentServicesPaypal · returns VaultConfigOutput

Query

guestOrder

Retrieve guest order details based on number, email and billing last name.

Sales · returns CustomerOrder!

Query

guestOrderByToken

Retrieve guest order details based on token.

Sales · returns CustomerOrder!

Query

isEmailAvailable

Check whether the specified email has already been used to create a customer account.

Customer · returns IsEmailAvailableOutput

Query

pickupLocations

The pickup locations query searches for locations that match the search request requirements.

InventoryInStorePickup · returns PickupLocations

Query

productReviewRatingsMetadata

Return the active ratings attributes and the values each rating can have.

Review · returns ProductReviewRatingsMetadata!

Query

products

Search for products that match the criteria specified in the `search` and `filter` attributes.

Catalog · returns Products

Query

recaptchaFormConfig

ReCaptchaWebapi · returns ReCaptchaConfigOutput

Query

recaptchaV3Config

Returns details about Google reCAPTCHA V3-Invisible configuration.

ReCaptchaWebapi · returns ReCaptchaConfigurationV3

Query

route

Return the full details for a specified product, category, or CMS page.

UrlRewrite · returns RoutableInterface

Query

storeConfig

Return details about the store's configuration.

Store · returns StoreConfig

Query

urlResolver

Deprecated

Return the relative URL for a specified product, category or CMS page.

UrlRewrite · returns EntityUrl

Query

wishlist

Deprecated

Return the contents of a customer's wish list.

Wishlist · returns WishlistOutput

Last verified: against Magento 2.4.9.

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.