Unable to update image alt-tags through API

I’m trying to programmatically update the alt-tags of both the main image field and the more image fields of all SKUs in our e-commerce product collection.

To do so, I send the following request body as part of my patch request. For simplicity, I have only included the main image part of my request body:

{'fields': {'main-image': {'alt': 'Exemplary alt tag'}}}

As a response, I get a status 200 and the updated SKU indicating success. The problem is, the relevant part of my “updated” SKU is still unchanged as if nothing happened, like so:

'main-image': {'fileId': '601d77d732andsoon', 'url': 'https://uploads-ssl.webflow.com/5eb95c3/.../example.jpeg', 'alt': None}

What am I doing wrong? Or are alt-tags generally impossible to update using the API?

Thanks in advance!

Are there any updates regarding this issue? I also encountered this issue which I am unable to see my image alt text after creating/updating a Webflow item with image type. I am seeing “null” after calling my API.

We really need this feature please.
Thanks,

I just upvoted this on Webflow’s Wishlist page, if you haven’t already. Unless there’s another wishlist item that I couldn’t find, only 5 people have voted for this feature. But I’m guessing there are a lot more people like us. Here’s the page: Add Alt Text to Assets API | Webflow Wishlist