# Image management in variant array

URL: https://shoptet.dev/news/api/image-management-in-variant-array

October 25, 2022 · One min read
Marko Chytka

In our API is now allowed possibility for advanced settings of main image for each variant.

We add an **`image`** property into **`variant`** array as a extension of existing [product update endpoint](https://api.docs.shoptet.com/shoptet-api/openapi/products/updateproduct) .

This image must exist in product entity. Attribute can be **`NULL`** , but in this case will be main image set from product.

**Tags:**
- [API](/news/tags/api/)
