MageSmith
magento/module-customer-graph-ql · Magento 2.4.9

CustomerGraphQl

vendor/magento/module-customer-graph-ql/etc/schema.graphqls

3 queries 18 mutations 25 types

Queries

Mutations

Mutation

changeCustomerPassword

Change the password for the logged-in customer.

Customer · returns Customer

Mutation

confirmEmail

Confirms the email address for a customer.

Customer · returns CustomerOutput

Mutation

createCustomer

Deprecated

Customer · returns CustomerOutput

Mutation

createCustomerAddress

Create a billing or shipping address for a customer or guest.

Customer · returns CustomerAddress

Mutation

createCustomerV2

Create a customer account.

Customer · returns CustomerOutput

Mutation

deleteCustomer

Delete customer account

Customer · returns Boolean

Mutation

deleteCustomerAddress

Deprecated

Delete the billing or shipping address of a customer.

Customer · returns Boolean

Mutation

deleteCustomerAddressV2

Delete the billing or shipping address of a customer.

Customer · returns Boolean

Mutation

generateCustomerToken

Generate a token for specified customer.

Customer · returns CustomerToken

Mutation

requestPasswordResetEmail

Request an email with a reset password token for the registered customer identified by the specified email.

Customer · returns Boolean

Mutation

resendConfirmationEmail

Resends the confirmation email to a customer.

Customer · returns Boolean

Mutation

resetPassword

Reset a customer's password using the reset password token that the customer received in an email after requesting it using `requestPasswordResetEmail`.

Customer · returns Boolean

Mutation

revokeCustomerToken

Revoke the customer token.

Customer · returns RevokeCustomerTokenOutput

Mutation

updateCustomer

Deprecated

Customer · returns CustomerOutput

Mutation

updateCustomerAddress

Deprecated

Update the billing or shipping address of a customer or guest.

Customer · returns CustomerAddress

Mutation

updateCustomerAddressV2

Update the billing or shipping address of a customer or guest.

Customer · returns CustomerAddress

Mutation

updateCustomerEmail

Change the email address for the logged-in customer.

Customer · returns CustomerOutput

Mutation

updateCustomerV2

Update the customer's personal information.

Customer · returns CustomerOutput

Types

Object types, input types, enums, interfaces, and unions declared (or extended) in this module.

ENUM

AttributeEntityTypeEnum

List of all entity types. Populated by the modules introducing EAV entities.

INPUT_OBJECT

ConfirmEmailInput

Contains details about a customer email address to confirm.

ENUM

ConfirmationStatusEnum

List of account confirmation statuses.

ENUM

CountryCodeEnum

The list of country codes.

OBJECT

Customer

Defines the customer name, addresses, and other details.

OBJECT

CustomerAddress

Contains detailed information about a customer's billing or shipping address.

OBJECT

CustomerAddressAttribute

Specifies the attribute code and value of a customer address attribute.

INPUT_OBJECT

CustomerAddressAttributeInput

Specifies the attribute code and value of a customer attribute.

INPUT_OBJECT

CustomerAddressInput

Contains details about a billing or shipping address.

OBJECT

CustomerAddressRegion

Defines the customer's state or province.

INPUT_OBJECT

CustomerAddressRegionInput

Defines the customer's state or province.

OBJECT

CustomerAddresses

OBJECT

CustomerAttributeMetadata

Customer attribute metadata.

INPUT_OBJECT

CustomerCreateInput

An input object for creating a customer.

OBJECT

CustomerGroupStorefront

Data of customer group.

INPUT_OBJECT

CustomerInput

An input object that assigns or updates customer attributes.

OBJECT

CustomerOutput

Contains details about a newly-created or updated customer.

OBJECT

CustomerToken

Contains a customer authorization token.

INPUT_OBJECT

CustomerUpdateInput

An input object for updating a customer.

ENUM

InputFilterEnum

List of templates/filters applied to customer attribute input.

OBJECT

IsEmailAvailableOutput

Contains the result of the `isEmailAvailable` query.

OBJECT

RevokeCustomerTokenOutput

Contains the result of a request to revoke a customer token.

OBJECT

StoreConfig

Contains information about a store's configuration.

OBJECT

ValidationRule

Defines a customer attribute validation rule.

ENUM

ValidationRuleEnum

List of validation rule names applied to a customer attribute.

Every Magento dev tool, in one hosted workspace.

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