customer.api.graphql 276 B

123456789
  1. type Query {
  2. customers: [Customer]
  3. customer(id: Int!): Customer
  4. }
  5. type Mutation {
  6. "Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer."
  7. createCustomer(input: CreateCustomerInput!, password: String): Customer
  8. }