Promotion Categories
Query
promotionCategories — Returns [PromotionCategory]
Scopes Required: see_promotions
| Arguments | Type | Description |
|---|---|---|
|
sources |
[String!] |
|
Example Query
query GetPromotionCategories($sources: [String!]) {
promotionCategories(sources: $sources) {
id,
name,
parent,
deleted,
mdbId
}
}
# Example variables
{
"sources": [
"<SOURCES>"
]
}Query
promotionCategory — Returns PromotionCategory
Scopes Required: see_promotions
| Arguments | Type | Description |
|---|---|---|
|
id |
The ID of the promotion category to retrieve |
Example Query
query GetPromotionCategory($id: ID!) {
promotionCategory(id: $id) {
id,
name,
parent,
deleted,
mdbId
}
}
# Example variables
{
"id": "<ID>"
}