product.api.graphql 202 B

123456789
  1. type Query {
  2. products(lang: LanguageCode): [Product]
  3. product(id: Int!, lang: LanguageCode): Product
  4. }
  5. type Mutation {
  6. "Create a new Product"
  7. createProduct(input: CreateProductInput): Product
  8. }