×
Login or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

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;

See more details on Customer Attributes page
Rate the answer?
Back to top