Skip to main content

productCreate

Create a product in the catalogue.

External system integrators can supply a source / source identifier pair so the catalogue can resolve the product later without needing the internal identifier. The catalogue's default language must be present in the localized name list.

Possible errors:

  • PRODUCT_EXISTS: A product with the supplied SKU or source identifier already exists.
  • CATEGORY_NOT_FOUND: The supplied default category does not exist.
  • SCHEMA_VALIDATION: One or more input fields failed validation.

AUTH: Role=[product.OWNER]

productCreate(
input: CreateProductInput!
): Product!

Arguments​

productCreate.input ● CreateProductInput! non-null input​

Product creation data including localized content, SKU, status, category assignment and metadata.

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.