Promotion Categories

Query

promotionCategories — Returns [PromotionCategory]

Scopes Required: see_promotions

Arguments Type Description

sources

[String!]

shortCodes of the sources to find

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

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>"
}