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.

mutation

Requires write_products access scope. Also: The user must have a permission to create products.

Creates a product with attributes such as title, description, and vendor. You can use the productCreate mutation to define options and values for products with product variants, such as different sizes or colors.

To create multiple product variants for a single product and manage prices, use the productVariantsBulkCreate mutation.

To create or update a product in a single request, use the productSet mutation.

Learn more about the product model and adding product data.

The media to add to the product.

The attributes of the new product.

ProductInputDeprecated

The properties of the new product. Deprecated as of 2024-10.

Use product argument instead.


Was this section helpful?

Anchor to ProductCreatePayload returnsProductCreatePayload returns

The product object.

Shop!non-null

The shop associated with the product.

The list of errors that occurred from executing the mutation.


Was this section helpful?