Anchor to File
File
interface
Requires access scope,
access scope,
access scope,
access scope,
access scope or
access scope.
A file interface.
Anchor to FieldsFields
- •
A word or phrase to describe the contents or the function of a file.
- Anchor to createdAtcreated•
At DateTime! non-null The date and time (ISO 8601 format) when the file was created.
- Anchor to fileErrorsfile•
Errors [FileError!]! non-null Any errors that have occurred on the file.
- Anchor to fileStatusfile•
Status FileStatus! non-null The status of the file.
- •ID!non-null
A globally-unique ID.
- Anchor to previewpreview•
The preview image for the media.
- Anchor to updatedAtupdated•
At DateTime! non-null The date and time (ISO 8601 format) when the file was last updated.
Was this section helpful?
Anchor to Types implemented inTypes implemented in
- •OBJECT
Represents any file other than HTML.
- •OBJECT
An image hosted on Shopify.
- •OBJECT
Represents a Shopify hosted 3D model.
- •OBJECT
Represents a Shopify hosted video.
Was this section helpful?
{
"alt": "",
"createdAt": "",
"fileErrors": "",
"fileStatus": "",
"id": "",
"preview": "",
"updatedAt": ""
}
{
"alt": "",
"createdAt": "",
"fileErrors": "",
"fileStatus": "",
"id": "",
"preview": "",
"updatedAt": ""
}
interface File {
alt: String
createdAt: DateTime!
fileErrors: [FileError!]!
fileStatus: FileStatus!
id: ID!
preview: MediaPreviewImage
updatedAt: DateTime!
}