StartDocumentUploadInput
What the merchant must say about a file before they are given somewhere to send it.
input StartDocumentUploadInput {
fileName: String!
contentType: String!
sizeBytes: Int!
contractId: ID
}
Fields
StartDocumentUploadInput.fileName ● String! non-null scalar
What to call the file, up to 260 characters. Only the name is kept — any folder path in front of it is ignored.
StartDocumentUploadInput.contentType ● String! non-null scalar
What kind of file it is, as an IANA media type. Accepted: application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/png and image/jpeg.
StartDocumentUploadInput.sizeBytes ● Int! non-null scalar
How large the file is, in bytes. It must match the file that arrives, or the upload is not accepted.
StartDocumentUploadInput.contractId ● ID scalar
The agreement this file belongs to, if it belongs to one. Leave it out for a file that stands on its own, such as a certificate.
Member Of
startDocumentUpload mutation