Skip to main content

File

Represents a file with its metadata.

type File {
brandId: ID
createdAt: ISO8601DateTime!
createdBy: Party
entityId: ID
entityType: FileEntityEnum
fileDescription: String
fileExtension: String
fileName: String!
fileSize: Int!
fileUrl: String
id: ID!
mimeType: String
tag: String
updatedAt: ISO8601DateTime!
}

Fields​

File.brandId ● ID scalar common​

The ID of the brand associated with the file.

File.createdAt ● ISO8601DateTime! non-null scalar common​

The date and time when the file was created.

File.createdBy ● Party object common​

The party that created the file.

File.entityId ● ID scalar common​

The ID of the entity associated with the file.

File.entityType ● FileEntityEnum enum common​

The type of entity associated with the file.

File.fileDescription ● String scalar common​

A description of the file.

File.fileExtension ● String scalar common​

The file extension of the file.

File.fileName ● String! non-null scalar common​

The name of the file.

File.fileSize ● Int! non-null scalar common​

The size of the file in bytes.

File.fileUrl ● String scalar common​

The URL where the file can be accessed.

File.id ● ID! non-null scalar common​

File.mimeType ● String scalar common​

The MIME type of the file.

File.tag ● String scalar common​

A free-form label used to group and filter documents on a record.

File.updatedAt ● ISO8601DateTime! non-null scalar common​

The date and time when the file was last updated.

Returned By​

updateFile mutation

Member Of​

Order object ● Product object ● PurchaseOrder object ● SupplyShipment object ● SupplySupplier object