Typ wejściowyInitiateUploadInput
A file to upload: its name, type and exact size, and the record to attach it to.
Pola
| Pole | Typ | Opis |
|---|---|---|
entityIdwymagane | ID! | Identifier of the order or product to attach the file to; it must exist, and its order must not be archived. |
entityTypewymagane | FileEntityType! | Kind of record to attach the file to: an |
filenamewymagane | String! | File name to keep, for example |
mimeTypewymagane | String! | Media type of the file, for example |
sizeByteswymagane | Float! | Exact size of the file in bytes, at least 1 and at most 5 GB. The upload must send exactly this many bytes. |