How can new attributes be used with Magento API?

You will need to create two files in the `etc` directory of the `Amasty: Customer Attributes` extension:
Magento_root\app\code\local\Amasty\Customerattr\etc\wsdl.xml 
Magento_root\app\code\local\Amasty\Customerattr\etc\wsi.xml 

Example files can be foundon the download links:

https://cloud.amasty.com/index.php/s/EGPZ063GZirbU8P 
https://cloud.amasty.com/index.php/s/lbPngnUGFIUZ7Jv

 The `test_login_attr` is attribute code of a customer attribute, created with Amasty Customer Attributes extension.

int/string/boolean depends on the type of a customer attribute:
Text Field - string;
Text Area - string;
Date - string;
Multiple Select - string;
Multiple Checkbox Select with Images - string;
Dropdown - int;
Single Radio Select with Images - int;
Customer Group Selector - int;
Static Text - string;
Single File Upload - string;
Yes/No - boolean;

 

Perfectly Complements Your Customer Attributes Extension!

Boost your Magento 2 store's visual appeal with Amasty's Product Labels Extension. This extension allows you to create eye-catching labels for your products, highlighting special offers and new arrivals. It seamlessly integrates with your Color Swatch Extension to enhance product presentation and attract customer attention.

How can we help you?

Didn’t you find the answer to your question? We are always happy to help you out.