Anchor to section titled 'undefined'

ProductSetInput
input_object

The input fields required to create or update a product via ProductSet mutation.


The input field to enable an app to provide additional product features. For example, you can specify bundles: true in the claimOwnership field to let an app add a product configuration extension.

The IDs of collections that this product will be a member of.

The description of the product, with HTML tags. For example, the description might include bold <strong></strong> and italic <i></i> text.

Whether the product is a gift card.

The theme template that's used when customers view a gift card in a store.

A unique, human-readable string of the product's title. A handle can contain letters, hyphens (-), and numbers, but no spaces. The handle is used in the online store URL for the product. For example, if a product is titled "Black Sunglasses", then the handle is black-sunglasses.

The product's ID.

If you're creating a product, then you don't need to pass the id as input to the productCreate mutation. If you're updating a product, then you do need to pass the id as input to the productUpdate mutation to identify which product you want to update.

The metafields to associate with this product.

List of custom product options and option values (maximum of 3 per product).

The product type that merchants define.

Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically.

Whether the product can only be purchased with a selling plan (subscription). Products that are sold exclusively on subscription can only be created on online stores. If set to true on an already existing product, then the product will be marked unavailable on channels that don't support subscriptions.

The SEO title and description that are associated with a product.

The status of the product.

A comma-separated list of searchable keywords that are associated with the product. For example, a merchant might apply the sports and summer tags to products that are associated with sportwear for summer.

Updating tags overwrites any existing tags that were previously added to the product. To add new tags without overwriting existing tags, use the tagsAdd mutation.

The theme template that's used when customers view a product in a store.

The name for the product that displays to customers. The title is used to construct the product's handle. For example, if a product is titled "Black Sunglasses", then the handle is black-sunglasses.

A list of variants associated with the product.

The name of the product's vendor.


Was this section helpful?


Was this section helpful?
Map

Fields

ProductSetInput

Mutations using this input