Skip to main content

productCreate

Create a new product in the catalog.

Establishes a new product with all associated data including specifications, categories, attributes, media, and pricing information. The product will be indexed for search and made available based on visibility settings.

Possible errors:

  • CREATE_PRODUCT_ERROR: Failed to create the product

AUTH: Role=[product.OWNER]

productCreate(
input: CreateProductInput!
): Product!

Arguments

productCreate.input ● CreateProductInput! non-null input

Product creation data including all specifications and metadata.

Contains product details, categories, attributes, media, pricing, and all information needed to create a complete product record.

Type

Product object

Product entity representing items in the product catalog.

External entity from the product service that provides basic product identification and categorization. Used as a reference for product-specific attributes and relationships within the attribute system.