📤 🖼️ Upload a single image in separate fields
Hmm... but how do I upload a single image to several fields in a single request?
All right, imagine you created a collection type which has several fields, including cardImage, facePhoto, and personWithCardPhoto. Otherwise, just replace those fields with yours. Ok, here we go :
Variables :
Note: In this case, the variables' names are `cardImage`, `facePhoto`, and `personWithCardPhoto`.
Here is an example :

🚀 How does UploadSingleImageToSeveralFields mutation work ?#
In the UploadSingleImageToSeveralFields mutation above, you still need ref, refId, and field name. However you are sending a request to a collection type and are trying to attach images in a single record inside the collection type. So, you are able to set ref and refId as variables. The field name ? You should name it statically as you want to upload an image in different fields. Hopefully this approach helps :)