UploadProductImageInput
type productImage {
variantIds: string[],
order: number,
isMain?: boolean == false,
url?: string,
base64?: string
}
Fields
Id list of the variant to upload the image. If more than one variant id is entered, the uploaded image will be added to all variants.
order
numberOrder of the uploading image.
isMain
booleanWhether the uploading image is the main image or not.
url
stringUrl of the uploading image.If this value is entered, it is not necessary to enter base64.
base64
stringBase64 string of the uploading image.If this value is entered, it is not necessary to enter url.