createImage
Create an image upload process and return a signed URL for direct upload
This page contains
Arguments
| input CreateImageInput! |
CreateImageInput fields
| type ImageType! | Type of the image to upload |
| productId ID! | Id of the product to add the image to |
| locale Locale! | Image locale to create |
| id ID | Image id, required for FEATURE type image |
| name StringInput | Image name, applicable for SCREENSHOT type image |
Return Fields
| signedUrl URL | Signed URL for uploading the image directly to S3 |
| signedUrlExpiresAt DateTime | The date and time the signed URL expires at |
| uploadProcessId ID | Unique identifier for tracking the upload process |
| userErrors [CreateImageError!] | User errors |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.