StagedUploadTargetGenerateUploadResource
The resource type to receive.
Anchor to Valid valuesValid values
- Anchor to BULK_MUTATION_VARIABLESBULK_MUTATION_VARIABLES•
Represents bulk mutation variables.
For example, bulk mutation variables can be used for bulk operations using the bulkOperationRunMutation mutation.
- Anchor to COLLECTION_IMAGECOLLECTION_IMAGE•
An image associated with a collection.
For example, after uploading an image, you can use the collectionUpdate mutation to add the image to a collection.
- Anchor to FILEFILE•
Represents any file other than HTML.
For example, after uploading the file, you can add the file to the Files page in Shopify admin using the fileCreate mutation.
- Anchor to IMAGEIMAGE•
An image.
For example, after uploading an image, you can add the image to a product using the productCreateMedia mutation or to the Files page in Shopify admin using the fileCreate mutation.
- Anchor to MODEL_3DMODEL_3D•
A Shopify hosted 3d model.
For example, after uploading the 3d model, you can add the 3d model to a product using the productCreateMedia mutation.
- Anchor to PRODUCT_IMAGEPRODUCT_IMAGE•
An image that's associated with a product.
For example, after uploading the image, you can add the image to a product using the productCreateMedia mutation.
- Anchor to RETURN_LABELRETURN_LABEL•
Represents a label associated with a return.
For example, once uploaded, this resource can be used to create a ReverseDelivery.
- Anchor to SHOP_IMAGESHOP_IMAGE•
An image.
For example, after uploading the image, you can add the image to the Files page in Shopify admin using the fileCreate mutation.
- Anchor to URL_REDIRECT_IMPORTURL_REDIRECT_IMPORT•
Represents a redirect CSV file.
Example usage: This resource can be used for creating a UrlRedirectImport object for use in the urlRedirectImportCreate mutation.
- Anchor to VIDEOVIDEO•
A Shopify-hosted video.
For example, after uploading the video, you can add the video to a product using the productCreateMedia mutation or to the Files page in Shopify admin using the fileCreate mutation.
Anchor to FieldsFields
- •INPUT OBJECT
The image resource.
- •INPUT OBJECT
The file's intended Shopify resource type.
- •INPUT OBJECT
The resource type being uploaded.