Customer Attributes/Login by Attributes API
We have created public API collections for
Customer Attributes and
Login by Attributes modules with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public collections can be found in the following
FAQ post.
1. Amasty\CustomerLoginAttributes\Api\ValidateValueInterface
- POST /V1/amasty-customer-login-attributes/validate-value, method="validate"
- POST /V1/amasty-customer-login-attributes/validate-values, method="bulkValidate"
2. Amasty\CustomerLoginAttributes\Api\ValuesBulkSaveForQuoteInterface - class for
- POST /V1/amasty-customer-login-attributes/save-values-for-cart/:cartId, method="save"
Related Articles
What Amasty extensions support API?
Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
Can I test how your modules work with API?
Our team have created a public Postman workspace where we provide access to API collections from our modules. You can copy these API collections to test them in your own Magento installation together with our modules, and some collections can be ...
Login as Customer API
We have created a public API collection for Login as Customer module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public ...
I want to use your Customer Attributes in scripts/customizations. How may I get their values from the code?
To get the Customer Attributes values from the code, you may use the strings provided below: $сustomerRepository = $objectManager->get('Magento\Customer\Api\CustomerRepositoryInterface'); $сustomer = $сustomerRepository->getById(); ...
What features are included in each tariff plan of Customer Attributes?
LITE Features: - custom registration fields; - 11 input types (including file upload); - 11 validation types - attribute dependencies; - an option to add customer attributes to the checkout page (shipping section); - reports. PRO Lite plan + Login by ...