Seasons Mutations

CreateSeason

Creates a new season.

Parameters:

ParameterTypeDescription
inputSeasonInputSeason data.

Example Query:

mutation CreateSeason($input: SeasonInput!) {
  CreateSeason(input: $input) {
    id
    label
    active
  }
}

UpdateSeason

Updates an existing season.

Parameters:

ParameterTypeDescription
idIntID of the season.
inputSeasonInputUpdated data.

DeleteSeason

Deletes a season.

Parameters:

ParameterTypeDescription
idIntID of the season.

EnableSeason / DisableSeason

Enables or disables a season.

Parameters:

ParameterTypeDescription
idIntID of the season.

Input Data Types

SeasonInput

FieldTypeDescription
idIntUnique identifier.
labelStringSeason label.