I need to update magento2 swatch values through the web api. is this possible, when I call
rest/V1/products/attributes/color/options
I only get labels and values. I would like to get the defined color code. and I also need to post these values back to magento through the web api.
I can not find any way to do this ?!
another question is, do anyone knows where these code are saved in the database ?
Thanks in advance
Peter
Hi,
Did u find any solution for this?
I would also like this to be possible, but it appears it's not. It seems that the Swatch EavAttribute Plugin that handles saving the swatch values to the `eav_attribute_option_swatch` table is tightly bound to the Admin edit form, and additional Plugins (or something) would needed to enable this over the WebAPI.
Alas.
20/03/2018 still no possibility to add the swatch value through API
You would expect that the swatches module replaces the eav interface being used for the product attributes which would allow for the 'swatch/value' to be passed in the API call body