Skip to main content
Version: 3.x


Upload a file. This mutation must be sent as a multipart request. More detailed specs of the upload format can be found here:

Requires one of the following permissions: AUTHENTICATED_APPAUTHENTICATED_STAFF_USER
type FileUpload {
uploadedFile: File
uploadErrors: [UploadError!]! @deprecated
errors: [UploadError!]!


FileUpload.uploadedFile ● File object

FileUpload.uploadErrors ● [UploadError!]! deprecated non-null object


This field will be removed in Saleor 4.0. Use errors field instead.

FileUpload.errors ● [UploadError!]! non-null object

Returned by

fileUpload mutation

Was this page helpful?