cancel
Showing results for 
Search instead for 
Did you mean: 

read custom EAV attribute options and values via REST API (not specifically for products)

read custom EAV attribute options and values via REST API (not specifically for products)

Hello

 

i need to read custom eav attribute options and values (not product related). There seems to be no REST API for this.

 

So i wrote my own in Spring-Boot in Java (reading table eav_attribute_option_value).

But i would prefer a REST API Extension in Magento.

 

Can anyone advice me how to do that?

Of course i can read the book on how to create a REST API Extension in Magento. But my problem is the EAV-Part in PHP.

 

Thank you

Andrej

 

1 REPLY 1

Re: read custom EAV attribute options and values via REST API (not specifically for products)

Hi @andrej_dimic 

Kindly refer below link for add extention attribute with your rest api:
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/extension_attributes/adding-attributes.h...

It may help you.
If issue resolve, please click on 'Kudos' & Accept as Solution!

Problem solved? Click Accept as Solution!