tax-rate.api.graphql 649 B

123456789101112131415161718192021222324252627282930313233
  1. type Query {
  2. taxRates(options: TaxRateListOptions): TaxRateList!
  3. taxRate(id: ID!): TaxRate
  4. }
  5. type Mutation {
  6. "Create a new TaxRate"
  7. createTaxRate(input: CreateTaxRateInput!): TaxRate!
  8. "Update an existing TaxRate"
  9. updateTaxRate(input: UpdateTaxRateInput!): TaxRate!
  10. }
  11. # generated by generateListOptions function
  12. input TaxRateListOptions
  13. input CreateTaxRateInput {
  14. name: String!
  15. enabled: Boolean!
  16. value: Int!
  17. categoryId: ID!
  18. zoneId: ID!
  19. customerGroupId: ID
  20. }
  21. input UpdateTaxRateInput {
  22. id: ID!
  23. name: String
  24. value: Int
  25. enabled: Boolean
  26. categoryId: ID
  27. zoneId: ID
  28. customerGroupId: ID
  29. }