Log in

CustomerGraphQl Module

Api\ValidateCustomerDataInterface

Interface

This interface defines a contract for validating customer data in GraphQL operations. Developers implement this interface to create validators that ch...

Context\AddCustomerGroupToContext

Model

This class adds the customer's group ID to the GraphQL context during query execution. It determines the appropriate customer group based on whether t...

Context\AddUserInfoToContext

Model

This class adds authenticated user information to the GraphQL context during query execution. Developers use this to ensure customer identity, permiss...

Customer\Address\CreateCustomerAddress

Model

This model handles the creation and validation of customer addresses in GraphQL operations. Developers use this class when implementing GraphQL mutati...

Customer\Address\DeleteCustomerAddress

Model

This model handles the deletion of customer addresses through GraphQL API requests. It validates that the address being deleted is not set as a defaul...

Customer\Address\ExtractCustomerAddressData

Model

This class transforms customer address objects into array format for GraphQL responses. Developers use it when implementing GraphQL queries that need...

Customer\Address\GetAllowedAddressAttributes

Model

This class retrieves customer address attributes that are allowed to be displayed on the storefront in GraphQL queries. Developers use this to filter...

Customer\Address\GetCustomerAddress

Model

This class retrieves a customer address by ID while ensuring the address belongs to the specified customer. Developers use this in GraphQL resolvers t...

Customer\Address\PopulateCustomerAddressFromInput

Model

This class populates a customer address object with data received from GraphQL input. Developers use it when processing GraphQL mutations that create...

Customer\Address\UpdateCustomerAddress

Model

This model class handles updating existing customer addresses in Magento 2's GraphQL API. Developers use this class when processing GraphQL mutations...

Customer\Address\ValidateAddress

Model

This class validates customer address data in GraphQL operations, specifically checking if required region/state information is properly provided base...

Customer\CheckCustomerPassword

Model

This class validates a customer's password by authenticating it against their customer ID in GraphQL operations. Developers use this when they need to...

Customer\CreateCustomerAccount

Model

This class handles the creation of new customer accounts through GraphQL requests. Developers use this when implementing customer registration functio...

Customer\DeleteCustomer

Model

This class handles the deletion of customer accounts in Magento 2's GraphQL API. Developers use this model when implementing the customer account dele...

Customer\ExtractCustomerData

Model

This class transforms Magento customer data objects into array format suitable for GraphQL responses. Developers use this when implementing GraphQL qu...

Customer\GetAllowedCustomerAttributes

Model

This class retrieves customer attributes that are allowed to be displayed on the storefront in GraphQL queries. Developers use this when implementing...

Customer\GetAttributesForm

Model

This class retrieves customer attributes associated with a specific form code for GraphQL queries. Developers use it to get a list of customer attribu...

Customer\GetCustomAttributes

Model

This class retrieves and formats custom attribute values for customer entities in GraphQL responses. It handles different attribute frontend input typ...

Customer\GetCustomSelectedOptionAttributes

Model

This class retrieves and formats selected option values for customer custom attributes in GraphQL responses. It's used when a customer has multi-selec...

Customer\GetCustomer

Model

This class retrieves and validates a customer entity for GraphQL operations. It checks if the customer exists, verifies their account is not locked, a...

Customer\SaveCustomer

Model

This class handles saving customer data in GraphQL operations by wrapping the standard CustomerRepository save method. It converts standard Magento ex...

Customer\UpdateCustomerAccount

Model

This class handles updating customer account information through GraphQL mutations. Developers use this when implementing custom GraphQL endpoints tha...

Customer\ValidateCustomerData

Model

This class validates customer data during GraphQL account creation and updates. Developers use this to ensure customer information like email addresse...

Customer\ValidateCustomerData\ValidateEmail

Model

This validator class ensures that email addresses provided in GraphQL customer operations are properly formatted and valid. Developers use this class...

Customer\ValidateCustomerData\ValidateGender

Model

This validator class ensures that gender values submitted through GraphQL customer mutations are valid according to the customer attribute options def...

Formatter\CustomerAddresses

Model

This class formats customer address search results for GraphQL responses. It transforms address data into a structured array containing the addresses,...

GetCustomerGroupName

Model

This model retrieves the customer group name (code) by its ID, ensuring the group is valid for a specific website. It checks if the group is excluded...

GetGuestOrdersByEmail

Model

This model retrieves guest orders by email address in GraphQL operations. Developers use this when implementing GraphQL queries that need to fetch ord...

Output\CustomerAttributeMetadata

Model

This class formats customer and customer address attribute metadata for GraphQL API responses. It retrieves validation rules, input filters, and visib...

Resolver\ChangePassword

Model

This GraphQL resolver handles customer password change requests through the GraphQL API. Developers use this class when implementing the changeCustome...

Resolver\ConfirmEmail

Model

This resolver handles the GraphQL mutation for confirming a customer's email address during account activation. Developers use this class when impleme...

Resolver\ConfirmationStatus

Model

This GraphQL resolver retrieves the account confirmation status for a customer. Developers use this class to expose customer email confirmation state...

Resolver\CreateCustomer

Model

This GraphQL resolver handles customer account creation requests through the GraphQL API. Developers use this class when implementing the createCustom...

Resolver\CreateCustomerAddress

Model

This GraphQL resolver handles the creation of new customer addresses through the GraphQL API. Developers use this class when implementing the 'createC...

Resolver\CustomAttributeFilter

Model

This resolver filters custom attributes for customer entities in GraphQL queries. Developers use this when they want to retrieve only specific custom...

Resolver\Customer

Model

This resolver handles GraphQL queries for retrieving the currently authenticated customer's data. Developers use this class when implementing the 'cus...

Resolver\CustomerAddressCustomAttributeFilter

Model

This resolver filters custom attributes for customer addresses in GraphQL queries. It allows developers to retrieve either all custom attributes or on...

Resolver\CustomerAddresses

Model

This GraphQL resolver retrieves and formats all addresses associated with a customer account. Developers use this class when implementing GraphQL quer...

Resolver\CustomerAddressesV2

Model

This resolver provides paginated customer address data for the GraphQL API's addressesV2 field. Developers use this when they need to fetch a customer...

Resolver\DeleteCustomer

Model

This resolver handles GraphQL mutations for customer account deletion. It verifies the customer is authenticated, temporarily enables the secure area...

Resolver\DeleteCustomerAddress

Model

This GraphQL resolver handles customer address deletion requests in Magento 2. Developers use this class when implementing the deleteCustomerAddress G...

Resolver\GenerateCustomerToken

Model

This GraphQL resolver generates authentication tokens for customer login requests. Developers use this class to handle customer authentication in Grap...

Resolver\IsEmailAvailable

Model

This GraphQL resolver checks if a customer email address is available for registration in Magento 2. Developers use this class when implementing Graph...

Resolver\RequestPasswordResetEmail

Model

This class handles GraphQL requests for customer password reset email functionality. Developers use this resolver when implementing the requestPasswor...

Resolver\ResendConfirmationEmail

Model

This resolver handles GraphQL mutations for resending customer account confirmation emails. Developers use this class when implementing customer regis...

Resolver\ResetPassword

Model

This GraphQL resolver handles password reset requests for customers. Developers use this class when implementing the GraphQL mutation for customers to...

Resolver\RevokeCustomerToken

Model

This GraphQL resolver handles customer token revocation requests. Developers use this class when implementing the GraphQL mutation that allows authent...

Resolver\UpdateCustomer

Model

This resolver handles GraphQL mutations for updating customer account information. Developers use this class when implementing the updateCustomer Grap...

Resolver\UpdateCustomerAddress

Model

This resolver handles GraphQL mutations for updating customer addresses in Magento 2. Developers use this class when implementing GraphQL endpoints th...

Resolver\UpdateCustomerEmail

Model

This GraphQL resolver handles customer email update mutations in Magento 2. Developers use this class when implementing GraphQL endpoints that allow a...

ValidateAddressRequest

Model

This class validates input parameters for GraphQL address-related requests in Magento 2. Developers use it to ensure that required fields like 'model'...