channel.graphql 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Contains the information for a given sales channel.
  2. type ChannelInformation implements Node {
  3. # The app associated with the channel.
  4. app: App!
  5. # The channel definition associated with the channel.
  6. channelDefinition: ChannelDefinition
  7. # The unique identifier for the channel.
  8. channelId: ID!
  9. # A globally-unique identifier.
  10. id: ID!
  11. }
  12. # A channel definition represents channels surfaces on the platform.
  13. # A channel definition can be a platform or a subsegment of it such as Facebook Home, Instagram Live, Instagram Shops, or WhatsApp chat.
  14. type ChannelDefinition implements Node {
  15. # Name of the channel that this sub channel belongs to.
  16. channelName: String!
  17. # Unique string used as a public identifier for the channel definition.
  18. handle: String!
  19. # The unique identifier for the channel definition.
  20. id: ID!
  21. # Name of the sub channel (e.g. Online Store, Instagram Shopping, TikTok Live).
  22. subChannelName: String!
  23. # Icon displayed when showing the channel in admin.
  24. svgIcon: String
  25. }
  26. # Represents an object containing all information for channels available to a shop.
  27. type AvailableChannelDefinitionsByChannel {
  28. # The channel definitions for channels installed on a shop.
  29. channelDefinitions: [ChannelDefinition!]!
  30. # The name of the channel.
  31. channelName: String!
  32. }