Setting an image for a color attribute via WooCommerce API
-
Hello,
we’re developing an automation for a customer, where we get data from CSV files, and then we insert it into Woocommerce.
We’re importing the color attributes, and we can setup the color names, their slug, but how can I match an imager to the color attribute? Actually with your plugin I’ve just to manually upload an image. But when I save my attribute, I think you save the value somewhere with a field name. I’d like to know if I can setup the image to the attribute via API, if so, what field I’ve to send to the API and what value (the image ID? or the file path?)
Thanks a lot!
Best regards
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Setting an image for a color attribute via WooCommerce API’ is closed to new replies.