Brands Mutations

CreateBrand

Creates a new brand.

Parameters:

ParameterTypeDescription
inputBrandInputBrand data.

Example Query:

mutation CreateBrand($input: BrandInput!) {
  CreateBrand(input: $input) {
    id
    label
    active
  }
}

UpdateBrand

Updates an existing brand.

Parameters:

ParameterTypeDescription
idIntID of the brand.
inputBrandInputUpdated data.

DeleteBrand

Deletes a brand.

Parameters:

ParameterTypeDescription
idIntID of the brand.

EnableBrand / DisableBrand

Enables or disables a brand.

Parameters:

ParameterTypeDescription
idIntID of the brand.

Input Data Types

BrandInput

FieldTypeDescription
idIntUnique identifier.
labelStringBrand label.