Create File
createFile Mutation
Last updated
Was this helpful?
createFile Mutation
Last updated
Was this helpful?
Was this helpful?
mutation {
createFile(
input: {
refid: "550e8400-e29b-41d4-a716-446655440000"
reftype: item
filename: "product_image.jpg"
size: 12345
contentType: "image/jpeg"
description: "Product image for item"
}
) {
id
preSignedUploadUrl
file {
id
filename
contentType
}
}
}