I have a custom attribute that is a drop-down with the brands of my products.
If I query
$query = 'https://example.com/rest/V1/products?'. "fields=items[id,sku,name,custom_attributes[Brand]]". '&searchCriteria[pageSize]=1'; I get
{ "items": [ { "id": 577, "sku": "TAC_520UT", "name": "Tacometro 520mm Ultra Tunne", "custom_attributes": { "1": { "attribute_code": "Brand", "value": "415" } } } ] } The brand is giving me 415, while at the interface that is not a number, is the text "Kamoha"
How can I query for the text of Brand 415 and get "Kamoha" as a Rest API call?
Thanks in advance.