StagedUploadInput input object

Media to be uploaded.


Input fields

  • fileSize ([UnsignedInt64](https://shopify.dev/docs/admin-api/graphql/reference/scalar#unsignedint64-2021-01))
    Size of the file to upload, in bytes. This is required for VIDEO and MODEL_3D resources.
  • filename ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)) REQUIRED
    Media filename.
  • httpMethod ([StagedUploadHttpMethodType](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/stageduploadhttpmethodtype))
    HTTP method to be used by the Staged Upload.
  • mimeType ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)) REQUIRED
    Media MIME type.
  • resource ([StagedUploadTargetGenerateUploadResource!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/stageduploadtargetgenerateuploadresource)) REQUIRED
    Media resource.