Back to All

Image creation API

By invoking the image creation API for a color image, if I set the parameter "replace_existing" to true, are primary style images deleted?
For example:

Can you confirm that for a color it is possible to upload only one image, which may or may not be a swatch?
For a color, if I load a swatch image with replace_existing parameter set to false after loading an image (even non-swatch), does the swatch image replace the previous one or do I get an error?