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;

How can we help you?

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

© 2009-2024 Amasty. All Rights Reserved.