Customer Attributes/Login by Attributes API
API functionality for Customer Attributes is added by its submodule Login by Attributes.
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
Login as Customer API
1. Amasty\CustomerLogin\Api\CustomerTokenInterface POST /V1/amasty_customer_login/token, method="createCustomerToken" 2. Amasty\CustomerLogin\Api\LoggedInRepositoryInterface - class for managing login as customer entries. PUT ...
Login As Customer API
1. Amasty\CustomerLogin\Api\CustomerTokenInterface - class for customer token: POST /V1/amasty_customer_login/token, method="createCustomerToken" - create customer token. 2. Amasty\CustomerLogin\Api\LoggedInRepositoryInterface - class for logs: PUT ...
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(); ...
Order Attributes API
1. Amasty\Orderattr\Api\EntityDataRepositoryInterface - class for managing order attributes in the backend: POST /V1/amasty_orderattr/entityData, method="save" - create an attribute; PUT /V1/amasty_orderattr/entityData/:entityId, method="save" - edit ...
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 ...