Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

47 linhas
4.6 KiB

  1. # Copyright © Magento, Inc. All rights reserved.
  2. # See COPYING.txt for license details.
  3. type Query {
  4. storeConfig : StoreConfig @resolver(class: "Magento\\StoreGraphQl\\Model\\Resolver\\StoreConfigResolver") @doc(description: "Return details about the store's configuration.") @cache(cacheable: false)
  5. availableStores(
  6. useCurrentGroup: Boolean @doc(description: "Filter store views by the current store group.")
  7. ): [StoreConfig] @resolver(class: "Magento\\StoreGraphQl\\Model\\Resolver\\AvailableStoresResolver") @doc(description: "Get a list of available store views and their config information.")
  8. }
  9. type Website @doc(description: "Deprecated. It should not be used on the storefront. Contains information about a website.") {
  10. id : Int @deprecated(reason: "The field should not be used on the storefront.") @doc(description: "The ID number assigned to the website.")
  11. name : String @deprecated(reason: "The field should not be used on the storefront.") @doc(description: "The website name. Websites use this name to identify it easier.")
  12. code : String @deprecated(reason: "The field should not be used on the storefront.") @doc(description: "A code assigned to the website to identify it.")
  13. sort_order : Int @deprecated(reason: "The field should not be used on the storefront.") @doc(description: "The attribute to use for sorting websites.")
  14. default_group_id : String @deprecated(reason: "The field should not be used on the storefront.") @doc(description: "The default group ID of the website.")
  15. is_default : Boolean @deprecated(reason: "The field should not be used on the storefront.") @doc(description: "Indicates whether this is the default website.")
  16. }
  17. type StoreConfig @doc(description: "Contains information about a store's configuration.") {
  18. id : Int @deprecated(reason: "Use `store_code` instead.") @doc(description: "The ID number assigned to the store.")
  19. code : String @deprecated(reason: "Use `store_code` instead.") @doc(description: "A code assigned to the store to identify it.")
  20. store_code: ID @doc(description: "The unique ID of the store view. In the Admin, this is called the Store View Code. When making a GraphQL call, assign this value to the `Store` header to provide the scope.")
  21. store_name : String @doc(description: "The label assigned to the store view.")
  22. store_sort_order : Int @doc(description: "The store view sort order.")
  23. is_default_store : Boolean @doc(description: "Indicates whether the store view has been designated as the default within the store group.")
  24. store_group_code : ID @doc(description: "The unique ID assigned to the store group. In the Admin, this is called the Store Name.")
  25. store_group_name : String @doc(description: "The label assigned to the store group.")
  26. is_default_store_group : Boolean @doc(description: "Indicates whether the store group has been designated as the default within the website.")
  27. website_id : Int @deprecated(reason: "The field should not be used on the storefront.") @doc(description: "The ID number assigned to the website store.")
  28. website_code : ID @doc(description: "The unique ID for the website.")
  29. website_name : String @doc(description: "The label assigned to the website.")
  30. locale : String @doc(description: "The store locale.")
  31. base_currency_code : String @doc(description: "The base currency code.")
  32. default_display_currency_code : String @doc(description: "The default display currency code.")
  33. timezone : String @doc(description: "The time zone of the store.")
  34. weight_unit : String @doc(description: "The unit of weight.")
  35. base_url : String @doc(description: "The store’s fully-qualified base URL.")
  36. base_link_url : String @doc(description: "A fully-qualified URL that is used to create relative links to the `base_url`.")
  37. base_static_url : String @doc(description: "The fully-qualified URL that specifies the location of static view files.")
  38. base_media_url : String @doc(description: "The fully-qualified URL that specifies the location of media files.")
  39. secure_base_url : String @doc(description: "The store’s fully-qualified secure base URL.")
  40. secure_base_link_url : String @doc(description: "A secure fully-qualified URL that is used to create relative links to the `base_url`.")
  41. secure_base_static_url : String @doc(description: "The secure fully-qualified URL that specifies the location of static view files.")
  42. secure_base_media_url : String @doc(description: "The secure fully-qualified URL that specifies the location of media files.")
  43. use_store_in_url: Boolean @doc(description: "Indicates whether the store code should be used in the URL.")
  44. }