localization.graphql 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Represents the value captured by a localization extension. Localization extensions are additional fields required by certain countries on international orders.
  2. # For example, some countries require additional fields for customs information or tax identification numbers.
  3. type LocalizationExtension {
  4. # Country ISO 3166-1 alpha-2 code.
  5. countryCode: CountryCode!
  6. # The localized extension keys that are allowed.
  7. key: LocalizationExtensionKey!
  8. # The purpose of this localization extension.
  9. purpose: LocalizationExtensionPurpose!
  10. # The localized extension title.
  11. title: String!
  12. # The value of the field.
  13. value: String!
  14. }
  15. # An auto-generated type for paginating through multiple LocalizationExtensions.
  16. type LocalizationExtensionConnection {
  17. # A list of edges.
  18. edges: [LocalizationExtensionEdge!]!
  19. # A list of the nodes contained in LocalizationExtensionEdge.
  20. nodes: [LocalizationExtension!]!
  21. # Information to aid in pagination.
  22. pageInfo: PageInfo!
  23. }
  24. # An auto-generated type which holds one LocalizationExtension and a cursor during pagination.
  25. type LocalizationExtensionEdge {
  26. # A cursor for use in pagination.
  27. cursor: String!
  28. # The item at the end of LocalizationExtensionEdge.
  29. node: LocalizationExtension!
  30. }