schema.graphql 19 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589
  1. scalar DateTime
  2. scalar UnsignedInt64
  3. scalar URL
  4. scalar HTML
  5. union MetafieldParentResource = Customer
  6. union MetafieldReference = Page
  7. type Query {
  8. # Find a customer by its access token.
  9. customer(customerAccessToken: String!): Customer
  10. }
  11. type Mutation {
  12. # Creates a customer access token.
  13. # The customer access token is required to modify the customer object in any way.
  14. customerAccessTokenCreate(input: CustomerAccessTokenCreateInput!): CustomerAccessTokenCreatePayload
  15. # Renews a customer access token.
  16. #
  17. # Access token renewal must happen before a token expires.
  18. # If a token has already expired, a new one should be created instead via `customerAccessTokenCreate`.
  19. customerAccessTokenRenew(customerAccessToken: String!): CustomerAccessTokenRenewPayload
  20. # Permanently destroys a customer access token.
  21. customerAccessTokenDelete(customerAccessToken: String!): CustomerAccessTokenDeletePayload
  22. }
  23. type Page implements Node&HasMetafields&OnlineStorePublishable{
  24. # The description of the page, complete with HTML formatting.
  25. body: HTML!
  26. # Summary of the page body.
  27. bodySummary: String!
  28. # The timestamp of the page creation.
  29. createdAt: DateTime!
  30. # A human-friendly unique string for the page automatically generated from its title.
  31. handle: String!
  32. # A globally-unique identifier.
  33. id: ID!
  34. # Returns a metafield found by namespace and key.
  35. metafield(namespace: String!key: String!): Metafield
  36. # The metafields associated with the resource matching the supplied list of namespaces and keys.
  37. metafields(identifiers: [HasMetafieldsIdentifier!]!): [Metafield]!
  38. # The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.
  39. onlineStoreUrl: URL
  40. # The page's SEO information.
  41. seo: SEO
  42. # The title of the page.
  43. title: String!
  44. # The timestamp of the latest page update.
  45. updatedAt: DateTime!
  46. }
  47. # SEO information.
  48. type SEO {
  49. # The meta description.
  50. description: String
  51. # The SEO title.
  52. title: String
  53. }
  54. # Represents a resource that can be published to the Online Store sales channel.
  55. interface OnlineStorePublishable {
  56. # The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel.
  57. onlineStoreUrl: URL
  58. }
  59. # Represents information about the metafields associated to the specified resource.
  60. interface HasMetafields {
  61. # Returns a metafield found by namespace and key.
  62. metafield(namespace: String!key: String!): Metafield
  63. # The metafields associated with the resource matching the supplied list of namespaces and keys.
  64. metafields(identifiers: [HasMetafieldsIdentifier!]!): [Metafield]!
  65. }
  66. type MetafieldReferenceEdge {
  67. # A cursor for use in pagination.
  68. cursor: String!
  69. # The item at the end of MetafieldReferenceEdge.
  70. node: MetafieldReference!
  71. }
  72. # An object with an ID field to support global identification, in accordance with the
  73. # Relay specification.
  74. # This interface is used by the node
  75. # and nodes queries.
  76. interface Node {
  77. # A globally-unique identifier.
  78. id: ID!
  79. }
  80. # Metafields represent custom metadata attached to a resource.
  81. # Metafields can be sorted into namespaces and are comprised of keys, values, and value types.
  82. type Metafield implements Node {
  83. # The date and time when the storefront metafield was created.
  84. createdAt: DateTime!
  85. # The description of a metafield.
  86. description: String
  87. # A globally-unique identifier.
  88. id: ID!
  89. # The key name for a metafield.
  90. key: String!
  91. # The namespace for a metafield.
  92. namespace: String!
  93. # The parent object that the metafield belongs to.
  94. parentResource: MetafieldParentResource!
  95. # Returns a reference object if the metafield definition's type is a resource reference.
  96. reference: MetafieldReference
  97. # A list of reference objects if the metafield's type is a resource reference list.
  98. references(
  99. first: Int
  100. after: String
  101. last: Int
  102. before: String
  103. ): MetafieldReferenceConnection
  104. # The type name of the metafield. See the list of supported types.
  105. type: String!
  106. # The date and time when the storefront metafield was updated.
  107. updatedAt: DateTime!
  108. # The value of a metafield.
  109. value: String!
  110. }
  111. # An auto-generated type for paginating through multiple MetafieldReferences.
  112. type MetafieldReferenceConnection {
  113. # A list of edges.
  114. edges: [MetafieldReferenceEdge!]!
  115. # A list of the nodes contained in MetafieldReferenceEdge.
  116. nodes: [MetafieldReference!]!
  117. # Information to aid in pagination.
  118. pageInfo: PageInfo!
  119. }
  120. # Identifies a metafield on an owner resource by namespace and key.
  121. input HasMetafieldsIdentifier {
  122. # A container for a set of metafields.
  123. namespace: String!
  124. # The identifier for the metafield.
  125. key: String!
  126. }
  127. # Returns information about pagination in a connection, in accordance with the Relay specification.
  128. type PageInfo {
  129. # The cursor corresponding to the last node in edges.
  130. endCursor: String
  131. # Whether there are more pages to fetch following the current page.
  132. hasNextPage: Boolean!
  133. # Whether there are any pages prior to the current page.
  134. hasPreviousPage: Boolean!
  135. # The cursor corresponding to the first node in edges.
  136. startCursor: String
  137. }
  138. # A customer represents a customer account with the shop.
  139. # Customer accounts store contact information for the customer,
  140. # saving logged-in customers the trouble of having to provide it at every checkout.
  141. type Customer implements HasMetafields {
  142. # Indicates whether the customer has consented to be sent marketing material via email.
  143. acceptsMarketing: Boolean!
  144. # A list of addresses for the customer.
  145. addresses(
  146. after: String
  147. before: String
  148. first: Int
  149. last: Int
  150. reverse: Boolean = false
  151. ): MailingAddressConnection!
  152. # The date and time when the customer was created.
  153. createdAt: DateTime!
  154. # The customer’s default address.
  155. defaultAddress: MailingAddress
  156. # The customer’s name, email or phone number.
  157. displayName: String!
  158. # The customer’s email address.
  159. email: String
  160. # The customer’s first name.
  161. firstName: String
  162. # A unique identifier for the customer.
  163. id: ID!
  164. # The customer's most recently updated, incomplete checkout.
  165. # lastIncompleteCheckout: Checkout
  166. # The customer’s last name.
  167. lastName: String
  168. # Returns a metafield found by namespace and key.
  169. metafield(key: String!namespace: String!): Metafield
  170. # The metafields associated with the resource matching the supplied list of namespaces and keys.
  171. metafields(identifiers: [HasMetafieldsIdentifier!]!): [Metafield]!
  172. # The number of orders that the customer has made at the store in their lifetime.
  173. numberOfOrders: UnsignedInt64!
  174. # The orders associated with the customer.
  175. # orders(
  176. # after: String
  177. # before: String
  178. # first: Int
  179. # last: Int
  180. # query: String
  181. # reverse: Boolean = false
  182. # sortKey: OrderSortKeys = ID
  183. # ): OrderConnection!
  184. # The customer’s phone number.
  185. phone: String
  186. # A comma separated list of tags that have been added to the customer.
  187. # Additional access scope required: unauthenticated_read_customer_tags.
  188. tags: [String!]!
  189. # The date and time when the customer information was updated.
  190. updatedAt: DateTime!
  191. }
  192. # An auto-generated type for paginating through multiple MailingAddresses.
  193. type MailingAddressConnection {
  194. # A list of edges.
  195. edges: [MailingAddressEdge!]!
  196. # A list of the nodes contained in MailingAddressEdge.
  197. nodes: [MailingAddress!]!
  198. # Information to aid in pagination.
  199. pageInfo: PageInfo!
  200. }
  201. # An auto-generated type which holds one MailingAddress and a cursor during pagination.
  202. type MailingAddressEdge {
  203. # A cursor for use in pagination.
  204. cursor: String!
  205. # The item at the end of MailingAddressEdge.
  206. node: MailingAddress!
  207. }
  208. # Represents a mailing address for customers and shipping.
  209. type MailingAddress implements Node {
  210. # The first line of the address. Typically the street address or PO Box number.
  211. address1: String
  212. # The second line of the address. Typically the number of the apartment, suite, or unit.
  213. address2: String
  214. # The name of the city, district, village, or town.
  215. city: String
  216. # The name of the customer's company or organization.
  217. company: String
  218. # The name of the country.
  219. country: String
  220. # The two-letter code for the country of the address.
  221. #
  222. # For example, US.
  223. countryCodeV2: CountryCode
  224. # The first name of the customer.
  225. firstName: String
  226. # A formatted version of the address, customized by the provided arguments.
  227. formatted(withName: Boolean = false, withCompany: Boolean = true): [String!]!
  228. # A comma-separated list of the values for city, province, and country.
  229. formattedArea: String
  230. # A globally-unique identifier.
  231. id: ID!
  232. # The last name of the customer.
  233. lastName: String
  234. # The latitude coordinate of the customer address.
  235. latitude: Float
  236. # The longitude coordinate of the customer address.
  237. longitude: Float
  238. # The full name of the customer, based on firstName and lastName.
  239. name: String
  240. # A unique phone number for the customer.
  241. #
  242. # Formatted using E.164 standard. For example, +16135551111.
  243. phone: String
  244. # The region of the address, such as the province, state, or district.
  245. province: String
  246. # The two-letter code for the region.
  247. #
  248. # For example, ON.
  249. provinceCode: String
  250. # The zip or postal code of the address.
  251. zip: String
  252. # The two-letter code for the country of the address.
  253. countryCode: String @deprecated(reason: "Use `countryCodeV2` instead.")
  254. }
  255. type CustomerAccessTokenCreatePayload {
  256. customerAccessToken: CustomerAccessToken
  257. customerUserErrors: [CustomerUserError!]!
  258. }
  259. type CustomerAccessTokenRenewPayload {
  260. customerAccessToken: CustomerAccessToken
  261. userErrors: [UserError!]!
  262. }
  263. input CustomerAccessTokenCreateInput {
  264. email: String!
  265. password: String!
  266. }
  267. type CustomerAccessToken {
  268. accessToken: String!
  269. expiresAt: DateTime!
  270. }
  271. interface DisplayableError {
  272. field: [String!]
  273. message: String!
  274. }
  275. type UserError implements DisplayableError {
  276. field: [String!]
  277. message: String!
  278. }
  279. type CustomerUserError implements DisplayableError {
  280. code: CustomerErrorCode
  281. field: [String!]
  282. message: String!
  283. }
  284. enum CustomerErrorCode {
  285. # The input value is blank.
  286. BLANK
  287. # The input value is invalid.
  288. INVALID
  289. # The input value is already taken.
  290. TAKEN
  291. # The input value is too long.
  292. TOO_LONG
  293. # The input value is too short.
  294. TOO_SHORT
  295. # Unidentified customer.
  296. UNIDENTIFIED_CUSTOMER
  297. # Customer is disabled.
  298. CUSTOMER_DISABLED
  299. # Input password starts or ends with whitespace.
  300. PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE
  301. # Input contains HTML tags.
  302. CONTAINS_HTML_TAGS
  303. # Input contains URL.
  304. CONTAINS_URL
  305. # Invalid activation token.
  306. TOKEN_INVALID
  307. # Customer already enabled.
  308. ALREADY_ENABLED
  309. # Address does not exist.
  310. NOT_FOUND
  311. # Input email contains an invalid domain name.
  312. BAD_DOMAIN
  313. # Multipass token is not valid.
  314. INVALID_MULTIPASS_REQUEST
  315. }
  316. # Return type for `customerAccessTokenDelete` mutation.
  317. type CustomerAccessTokenDeletePayload {
  318. # The destroyed access token.
  319. deletedAccessToken: String
  320. # ID of the destroyed customer access token.
  321. deletedCustomerAccessTokenId: String
  322. # The list of errors that occurred from executing the mutation.
  323. userErrors: [UserError!]!
  324. }
  325. # ISO 639-1 language codes supported by Shopify.
  326. enum LanguageCode {
  327. # Afrikaans
  328. AF
  329. # Akan
  330. AK
  331. # Amharic
  332. AM
  333. # Arabic
  334. AR
  335. # Assamese
  336. AS
  337. # Azerbaijani
  338. AZ
  339. # Belarusian
  340. BE
  341. # Bulgarian
  342. BG
  343. # Bambara
  344. BM
  345. # Bangla
  346. BN
  347. # Tibetan
  348. BO
  349. # Breton
  350. BR
  351. # Bosnian
  352. BS
  353. # Catalan
  354. CA
  355. # Chechen
  356. CE
  357. # Czech
  358. CS
  359. # Church Slavic
  360. CU
  361. # Welsh
  362. CY
  363. # Danish
  364. DA
  365. # German
  366. DE
  367. # Dzongkha
  368. DZ
  369. # Ewe
  370. EE
  371. # Greek
  372. EL
  373. # English
  374. EN
  375. # Esperanto
  376. EO
  377. # Spanish
  378. ES
  379. # Estonian
  380. ET
  381. # Basque
  382. EU
  383. # Persian
  384. FA
  385. # Fulah
  386. FF
  387. # Finnish
  388. FI
  389. # Faroese
  390. FO
  391. # French
  392. FR
  393. # Western Frisian
  394. FY
  395. # Irish
  396. GA
  397. # Scottish Gaelic
  398. GD
  399. # Galician
  400. GL
  401. # Gujarati
  402. GU
  403. # Manx
  404. GV
  405. # Hausa
  406. HA
  407. # Hebrew
  408. HE
  409. # Hindi
  410. HI
  411. # Croatian
  412. HR
  413. # Hungarian
  414. HU
  415. # Armenian
  416. HY
  417. # Interlingua
  418. IA
  419. # Indonesian
  420. ID
  421. # Igbo
  422. IG
  423. # Sichuan Yi
  424. II
  425. # Icelandic
  426. IS
  427. # Italian
  428. IT
  429. # Japanese
  430. JA
  431. # Javanese
  432. JV
  433. # Georgian.
  434. KA
  435. # Kikuyu.
  436. KI
  437. # Kazakh.
  438. KK
  439. # Kalaallisut.
  440. KL
  441. # Khmer.
  442. KM
  443. # Kannada.
  444. KN
  445. # Korean.
  446. KO
  447. # Kashmiri.
  448. KS
  449. # Kurdish.
  450. KU
  451. # Cornish.
  452. KW
  453. # Kyrgyz.
  454. KY
  455. # Luxembourgish.
  456. LB
  457. # Ganda.
  458. LG
  459. # Lingala.
  460. LN
  461. # Lao.
  462. LO
  463. # Lithuanian.
  464. LT
  465. # Luba-Katanga.
  466. LU
  467. # Latvian.
  468. LV
  469. # Malagasy.
  470. MG
  471. # Māori.
  472. MI
  473. # Macedonian.
  474. MK
  475. # Malayalam.
  476. ML
  477. # Mongolian.
  478. MN
  479. # Marathi.
  480. MR
  481. # Malay.
  482. MS
  483. # Maltese.
  484. MT
  485. # Burmese.
  486. MY
  487. # Norwegian (Bokmål).
  488. NB
  489. # North Ndebele.
  490. ND
  491. # Nepali.
  492. NE
  493. # Dutch.
  494. NL
  495. # Norwegian Nynorsk.
  496. NN
  497. # Norwegian.
  498. NO
  499. # Oromo.
  500. OM
  501. # Odia.
  502. OR
  503. # Ossetic.
  504. OS
  505. # Punjabi.
  506. PA
  507. # Polish.
  508. PL
  509. # Pashto.
  510. PS
  511. # Portuguese (Brazil).
  512. PT_BR
  513. # Portuguese (Portugal).
  514. PT_PT
  515. QU
  516. # Quechua.
  517. # Romansh.
  518. RM
  519. # Rundi.
  520. RN
  521. # Romanian.
  522. RO
  523. # Russian.
  524. RU
  525. # Kinyarwanda.
  526. RW
  527. # Sindhi.
  528. SD
  529. # Northern Sami.
  530. SE
  531. # Sango.
  532. SG
  533. # Sinhala.
  534. SI
  535. # Slovak.
  536. SK
  537. # Slovenian.
  538. SL
  539. # Shona.
  540. SN
  541. # Somali.
  542. SO
  543. # Albanian.
  544. SQ
  545. # Serbian.
  546. SR
  547. # Sundanese.
  548. SU
  549. # Swedish.
  550. SV
  551. # Swahili.
  552. SW
  553. # Tamil.
  554. TA
  555. # Telugu.
  556. TE
  557. # Tajik.
  558. TG
  559. # Thai.
  560. TH
  561. # Tigrinya.
  562. TI
  563. # Turkmen.
  564. TK
  565. # Tongan.
  566. TO
  567. # Turkish.
  568. TR
  569. # Tatar.
  570. TT
  571. # Uyghur.
  572. UG
  573. # Ukrainian.
  574. UK
  575. # Urdu.
  576. UR
  577. # Uzbek.
  578. UZ
  579. # Vietnamese.
  580. VI
  581. # Wolof.
  582. WO
  583. # Xhosa.
  584. XH
  585. # Yiddish.
  586. YI
  587. # Yoruba.
  588. YO
  589. # Chinese (Simplified).
  590. ZH_CN
  591. # Chinese (Traditional).
  592. ZH_TW
  593. # Zulu.
  594. ZU
  595. # Chinese.
  596. ZH
  597. # Portuguese.
  598. PT
  599. # Volapük.
  600. VO
  601. }
  602. # The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.
  603. # If a territory doesn't have a country code value in the CountryCode enum, then it might be considered a subdivision
  604. # of another country. For example, the territories associated with Spain are represented by the country code ES,
  605. # and the territories associated with the United States of America are represented by the country code US.
  606. enum CountryCode {
  607. # Afghanistan.
  608. AF
  609. # Åland Islands.
  610. AX
  611. # Albania.
  612. AL
  613. # Algeria.
  614. DZ
  615. # Andorra.
  616. AD
  617. # Angola.
  618. AO
  619. # Anguilla.
  620. AI
  621. # Antigua & Barbuda.
  622. AG
  623. # Argentina.
  624. AR
  625. # Armenia.
  626. AM
  627. # Aruba.
  628. AW
  629. # Ascension Island.
  630. AC
  631. # Australia.
  632. AU
  633. # Austria.
  634. AT
  635. # Azerbaijan.
  636. AZ
  637. # Bahamas.
  638. BS
  639. # Bahrain.
  640. BH
  641. # Bangladesh.
  642. BD
  643. # Barbados.
  644. BB
  645. # Belarus.
  646. BY
  647. # Belgium.
  648. BE
  649. # Belize.
  650. BZ
  651. # Benin.
  652. BJ
  653. # Bermuda.
  654. BM
  655. # Bhutan.
  656. BT
  657. # Bolivia.
  658. BO
  659. # Bosnia & Herzegovina.
  660. BA
  661. # Botswana.
  662. BW
  663. # Bouvet Island.
  664. BV
  665. # Brazil.
  666. BR
  667. # British Indian Ocean Territory.
  668. IO
  669. # Brunei.
  670. BN
  671. # Bulgaria.
  672. BG
  673. # Burkina Faso.
  674. BF
  675. # Burundi.
  676. BI
  677. # Cambodia.
  678. KH
  679. # Canada.
  680. CA
  681. # Cape Verde.
  682. CV
  683. # Caribbean Netherlands.
  684. BQ
  685. # Cayman Islands.
  686. KY
  687. # Central African Republic.
  688. CF
  689. # Chad.
  690. TD
  691. # Chile.
  692. CL
  693. # China.
  694. CN
  695. # Christmas Island.
  696. CX
  697. # Cocos (Keeling) Islands.
  698. CC
  699. # Colombia.
  700. CO
  701. # Comoros.
  702. KM
  703. # Congo - Brazzaville.
  704. CG
  705. # Congo - Kinshasa.
  706. CD
  707. # Cook Islands.
  708. CK
  709. # Costa Rica.
  710. CR
  711. # Croatia.
  712. HR
  713. # Cuba.
  714. CU
  715. # Curaçao.
  716. CW
  717. # Cyprus.
  718. CY
  719. # Czechia.
  720. CZ
  721. # Côte d’Ivoire.
  722. CI
  723. # Denmark.
  724. DK
  725. # Djibouti.
  726. DJ
  727. # Dominica.
  728. DM
  729. # Dominican Republic.
  730. DO
  731. # Ecuador.
  732. EC
  733. # Egypt.
  734. EG
  735. # El Salvador.
  736. SV
  737. # Equatorial Guinea.
  738. GQ
  739. # Eritrea.
  740. ER
  741. # Estonia.
  742. EE
  743. # Eswatini.
  744. SZ
  745. # Ethiopia.
  746. ET
  747. # Falkland Islands.
  748. FK
  749. # Faroe Islands.
  750. FO
  751. # Fiji.
  752. FJ
  753. # Finland.
  754. FI
  755. # France.
  756. FR
  757. # French Guiana.
  758. GF
  759. # French Polynesia.
  760. PF
  761. # French Southern Territories.
  762. TF
  763. # Gabon.
  764. GA
  765. # Gambia.
  766. GM
  767. # Georgia.
  768. GE
  769. # Germany.
  770. DE
  771. # Ghana.
  772. GH
  773. # Gibraltar.
  774. GI
  775. # Greece.
  776. GR
  777. # Greenland.
  778. GL
  779. # Grenada.
  780. GD
  781. # Guadeloupe.
  782. GP
  783. # Guatemala.
  784. GT
  785. # Guernsey.
  786. GG
  787. # Guinea.
  788. GN
  789. # Guinea-Bissau.
  790. GW
  791. # Guyana.
  792. GY
  793. # Haiti.
  794. HT
  795. # Heard & McDonald Islands.
  796. HM
  797. # Vatican City.
  798. VA
  799. # Honduras.
  800. HN
  801. # Hong Kong SAR.
  802. HK
  803. # Hungary.
  804. HU
  805. # Iceland.
  806. IS
  807. # India.
  808. IN
  809. # Indonesia.
  810. ID
  811. # Iran.
  812. IR
  813. # Iraq.
  814. IQ
  815. # Ireland.
  816. IE
  817. # Isle of Man.
  818. IM
  819. # Israel.
  820. IL
  821. # Italy.
  822. IT
  823. # Jamaica.
  824. JM
  825. # Japan.
  826. JP
  827. # Jersey.
  828. JE
  829. # Jordan.
  830. JO
  831. # Kazakhstan.
  832. KZ
  833. # Kenya.
  834. KE
  835. # Kiribati.
  836. KI
  837. # North Korea.
  838. KP
  839. # Kosovo.
  840. XK
  841. # Kuwait.
  842. KW
  843. # Kyrgyzstan.
  844. KG
  845. # Laos.
  846. LA
  847. # Latvia.
  848. LV
  849. # Lebanon.
  850. LB
  851. # Lesotho.
  852. LS
  853. # Liberia.
  854. LR
  855. # Libya.
  856. LY
  857. # Liechtenstein.
  858. LI
  859. # Lithuania.
  860. LT
  861. # Luxembourg.
  862. LU
  863. # Macao SAR.
  864. MO
  865. # Madagascar.
  866. MG
  867. # Malawi.
  868. MW
  869. # Malaysia.
  870. MY
  871. # Maldives.
  872. MV
  873. # Mali.
  874. ML
  875. # Malta.
  876. MT
  877. # Martinique.
  878. MQ
  879. # Mauritania.
  880. MR
  881. # Mauritius.
  882. MU
  883. # Mayotte.
  884. YT
  885. # Mexico.
  886. MX
  887. # Moldova.
  888. MD
  889. # Monaco.
  890. MC
  891. # Mongolia.
  892. MN
  893. # Montenegro.
  894. ME
  895. # Montserrat.
  896. MS
  897. # Morocco.
  898. MA
  899. # Mozambique.
  900. MZ
  901. # Myanmar (Burma).
  902. MM
  903. # Namibia.
  904. NA
  905. # Nauru.
  906. NR
  907. # Nepal.
  908. NP
  909. # Netherlands.
  910. NL
  911. # Netherlands Antilles.
  912. AN
  913. # New Caledonia.
  914. NC
  915. # New Zealand.
  916. NZ
  917. # Nicaragua.
  918. NI
  919. # Niger.
  920. NE
  921. # Nigeria.
  922. NG
  923. # Niue.
  924. NU
  925. # Norfolk Island.
  926. NF
  927. # North Macedonia.
  928. MK
  929. # Norway.
  930. NO
  931. # Oman.
  932. OM
  933. # Pakistan.
  934. PK
  935. # Palestinian Territories.
  936. PS
  937. # Panama.
  938. PA
  939. # Papua New Guinea.
  940. PG
  941. # Paraguay.
  942. PY
  943. # Peru.
  944. PE
  945. # Philippines.
  946. PH
  947. # Pitcairn Islands.
  948. PN
  949. # Poland.
  950. PL
  951. # Portugal.
  952. PT
  953. # Qatar.
  954. QA
  955. # Cameroon.
  956. CM
  957. # Réunion.
  958. RE
  959. # Romania.
  960. RO
  961. # Russia.
  962. RU
  963. # Rwanda.
  964. RW
  965. # St. Barthélemy.
  966. BL
  967. # St. Helena.
  968. SH
  969. # St. Kitts & Nevis.
  970. KN
  971. # St. Lucia.
  972. LC
  973. # St. Martin.
  974. MF
  975. # St. Pierre & Miquelon.
  976. PM
  977. # Samoa.
  978. WS
  979. # San Marino.
  980. SM
  981. # São Tomé & Príncipe.
  982. ST
  983. # Saudi Arabia.
  984. SA
  985. # Senegal.
  986. SN
  987. # Serbia.
  988. RS
  989. # Seychelles.
  990. SC
  991. # Sierra Leone.
  992. SL
  993. # Singapore.
  994. SG
  995. # Sint Maarten.
  996. SX
  997. # Slovakia.
  998. SK
  999. # Slovenia.
  1000. SI
  1001. # Solomon Islands.
  1002. SB
  1003. # Somalia.
  1004. SO
  1005. # South Africa.
  1006. ZA
  1007. # South Georgia & South Sandwich Islands.
  1008. GS
  1009. # South Korea.
  1010. KR
  1011. # South Sudan.
  1012. SS
  1013. # Spain.
  1014. ES
  1015. # Sri Lanka.
  1016. LK
  1017. # St. Vincent & Grenadines.
  1018. VC
  1019. # Sudan.
  1020. SD
  1021. # Suriname.
  1022. SR
  1023. # Svalbard & Jan Mayen.
  1024. SJ
  1025. # Sweden.
  1026. SE
  1027. # Switzerland.
  1028. CH
  1029. # Syria.
  1030. SY
  1031. # Taiwan.
  1032. TW
  1033. # Tajikistan.
  1034. TJ
  1035. # Tanzania.
  1036. TZ
  1037. # Thailand.
  1038. TH
  1039. # Timor-Leste.
  1040. TL
  1041. # Togo.
  1042. TG
  1043. # Tokelau.
  1044. TK
  1045. # Tonga.
  1046. TO
  1047. # Trinidad & Tobago.
  1048. TT
  1049. # Tristan da Cunha.
  1050. TA
  1051. # Tunisia.
  1052. TN
  1053. # Turkey.
  1054. TR
  1055. # Turkmenistan.
  1056. TM
  1057. # Turks & Caicos Islands.
  1058. TC
  1059. # Tuvalu.
  1060. TV
  1061. # Uganda.
  1062. UG
  1063. # Ukraine.
  1064. UA
  1065. # United Arab Emirates.
  1066. AE
  1067. # United Kingdom.
  1068. GB
  1069. # United States.
  1070. US
  1071. # U.S. Outlying Islands.
  1072. UM
  1073. # Uruguay.
  1074. UY
  1075. # Uzbekistan.
  1076. UZ
  1077. # Vanuatu.
  1078. VU
  1079. # Venezuela.
  1080. VE
  1081. # Vietnam.
  1082. VN
  1083. # British Virgin Islands.
  1084. VG
  1085. # Wallis & Futuna.
  1086. WF
  1087. # Western Sahara.
  1088. EH
  1089. # Yemen.
  1090. YE
  1091. # Zambia.
  1092. ZM
  1093. # Zimbabwe.
  1094. ZW
  1095. # Unknown Region.
  1096. ZZ
  1097. }