Skip to main content

UploadRequest

Upload Request Type

type UploadRequest {
brandId: ID
entityId: ID
entityType: FileEntityEnum
expirationTime: Int
fileName: String!
id: EndlessId!
presignedUrl: String
usage: FileUsageEnum
}

Fields

UploadRequest.brandId ● ID scalar

ID of the brand associated with the upload request

UploadRequest.entityId ● ID scalar

ID of the entity associated with the upload request, if applicable

UploadRequest.entityType ● FileEntityEnum enum

Type of the entity associated with the upload request, such as ASN or B2B_TEMPLATE

UploadRequest.expirationTime ● Int scalar

Expiration time for the pre-signed URL in seconds

UploadRequest.fileName ● String! non-null scalar

Name of the file being uploaded

UploadRequest.id ● EndlessId! non-null scalar

Unique identifier for the upload request

UploadRequest.presignedUrl ● String scalar

Pre-signed URL for uploading the file to S3

UploadRequest.usage ● FileUsageEnum enum

Usage of the file, such as attachment or import

Returned By

preSignedUrl mutation