16 December 2024
Composable Commerce
HTTP API
Enhancement
Project configurationGraphQL

You can now retrieve, update, and delete Channels by user-defined key, and check for their existence by key.

Changes:

The following changes were introduced in terms of GraphQL SDL:

type Mutation {
  updateChannel(
    version: Long!
    actions: [ChannelUpdateAction!]!

    "Queries with specified ID"
    id: String

    "Queries with specified key"
    key: String
  ): Channel

  deleteChannel(
    version: Long!

    "Queries with specified ID"
    id: String

    "Queries with specified key"
    key: String
  ): Channel
}