Anchor to section titled 'undefined'

StagedUploadTargetGenerateUploadResource
enum

The resource type to receive.


value-bulkmutationvariables
BULK_MUTATION_VARIABLES

Represents bulk mutation variables.

For example, bulk mutation variables can be used for bulk operations using the bulkOperationRunMutation mutation.

value-collectionimage
COLLECTION_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.

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.

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.

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.

value-productimage
PRODUCT_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.

value-returnlabel
RETURN_LABEL

Represents a label associated with a return.

For example, once uploaded, this resource can be used to create a ReverseDelivery.

value-shopimage
SHOP_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.

value-urlredirectimport
URL_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.

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.


Was this section helpful?

The image resource.

The file's intended Shopify resource type.

The resource type being uploaded.


Was this section helpful?
Map
StagedUploadTargetGenerateUploadResource