← API reference
Mutation / commerce

createProduct

Create a new product. Requires product:write permission.

Arguments

Product data

Returns UpsertProductPayload!

Explore in a view

Order Intake
View exact SDL
"""Create a new product. Requires product:write permission."""
createProduct(
  """Product data"""
  input: CreateProductInput!
): UpsertProductPayload! @topic(names: ["commerce"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.