← API reference
Mutation / commerce

createCustomer

Create a new customer. Requires customer:write permission.

Arguments

Customer data

Returns UpsertCustomerPayload!

Explore in a view

Order Intake
View exact SDL
"""Create a new customer. Requires customer:write permission."""
createCustomer(
  """Customer data"""
  input: CreateCustomerInput!
): UpsertCustomerPayload! @topic(names: ["commerce"])

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