uploadFilesStep - Medusa Core Workflows Reference
This documentation provides a reference to the uploadFilesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step uploads one or more files using the installed File Module Provider.
Example#
Input#
UploadFilesStepInput
UploadFilesStepInputThe data to upload files.
UploadFilesStepInput
UploadFilesStepInputfiles
object[]The files to upload.
files
object[]Output#
FileDTO[]
FileDTO[]
FileDTO[]
FileDTO[]id
stringThe ID of the file. You can use this ID later to
retrieve or delete the file.
id
stringurl
stringThe URL of the file.
url
stringWas this page helpful?