Staged Media Upload Target
Information about a staged upload target, which should be used to send a request to upload the file.
For more information on the upload process, refer to Upload media to Shopify.
Anchor to FieldsFields
- Anchor to parametersparameters•[Staged
Upload Parameter!]!non-null Parameters needed to authenticate a request to upload the file.
- Anchor to resourceUrlresource•URL
Url The URL to be passed as
in CreateMediaInput and FileCreateInput for the productCreateMedia and fileCreate mutations.
- •URL
The URL to use when sending an request to upload the file. Should be used in conjunction with the parameters field.
Anchor to MutationsMutations
- •mutation
Creates staged upload targets for each input. This is the first step in the upload process. The returned staged upload targets' URL and parameter fields can be used to send a request to upload the file described in the corresponding input.
For more information on the upload process, refer to Upload media to Shopify.
- Anchor to inputinput•[Staged
Upload Input!]!required The information required to generate staged upload targets.
Arguments
- Anchor to stagedTargetsstaged•[Staged
Targets Media Upload Target!] The staged upload targets that were generated.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields