Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to StagedUploadTargetGenerateUploadResource

StagedUploadTargetGenerateUploadResource

enum

The resource type to receive.

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.

•

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.

•

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.

•

Represents a label associated with a return.

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

•

An image.

For example, after uploading the image, you can add the image to the Files page in Shopify admin using the fileCreate mutation.

•

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?

•
INPUT OBJECT

The image resource.

•
INPUT OBJECT

The file's intended Shopify resource type.


Was this section helpful?