CreateBrand
CreateBrandCreates a new brand.
Parameters:
| Parameter | Type | Description |
|---|---|---|
input | BrandInput | Brand data. |
Example Query:
mutation CreateBrand($input: BrandInput!) {
CreateBrand(input: $input) {
id
label
active
}
}UpdateBrand
UpdateBrandUpdates an existing brand.
Parameters:
| Parameter | Type | Description |
|---|---|---|
id | Int | ID of the brand. |
input | BrandInput | Updated data. |
DeleteBrand
DeleteBrandDeletes a brand.
Parameters:
| Parameter | Type | Description |
|---|---|---|
id | Int | ID of the brand. |
EnableBrand / DisableBrand
EnableBrand / DisableBrandEnables or disables a brand.
Parameters:
| Parameter | Type | Description |
|---|---|---|
id | Int | ID of the brand. |
Input Data Types
BrandInput
BrandInput