All Release Notes

Added Store Created and Store Deleted Messages

5 August 2021
Enhancement
GraphQLStoresMessages/Subscriptions

You can now subscribe to messages triggered when Stores are created and deleted.

Changes:

  • [API] Added StoreCreated Message
  • [API] Added StoreDeleted Message
  • [GraphQL API] Added the following types to the GraphQL schema: StoreCreated, and StoreDeleted.

The following changes were introduced in terms of GraphQL SDL:

type StoreCreated implements MessagePayload {
languages: [Locale!]!
custom: CustomFieldsType
name(
"String is defined for different locales. This argument specifies the desired locale."
locale: Locale,
"List of languages the client is able to understand, and which locale variant is preferred."
acceptLanguage: [Locale!]): String
distributionChannels: [Channel!]!
supplyChannels: [Channel!]!
distributionChannelsRef: [Reference!]!
supplyChannelsRef: [Reference!]!
nameAllLocales: [LocalizedString!]
type: String!
}
type StoreDeleted implements MessagePayload {
type: String!
}