Anchor to FileCreatePayloadFile
FileCreatePayload
payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to filesfiles•
The newly created files.
- Anchor to userErrorsuser•
Errors [FilesUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- •mutation
Creates file assets using an external URL or for files that were previously uploaded using the stagedUploadsCreate mutation. These files are added to the Files page in Shopify admin.
Files are processed asynchronously. Some data is not available until processing is completed. Check fileStatus to know when the files are READY or FAILED. See the FileStatus for the complete set of possible fileStatus values.
To get a list of all files, use the files query.
Was this section helpful?