product.api.graphql 313 B

1234567891011
  1. type Query {
  2. products(languageCode: LanguageCode): [Product]
  3. product(id: Int!, languageCode: LanguageCode): Product
  4. }
  5. type Mutation {
  6. "Create a new Product"
  7. createProduct(input: CreateProductInput): Product
  8. "Update an existing Product"
  9. updateProduct(input: UpdateProductInput): Product
  10. }