Retrieve commercial seasons for product classification.
Season — Returns a single season by id
Season — Returns a single season by idquery GetSeason($id: Int!) {
Season(id: $id) {
id
label
active
counter(include_stock_levels: true, location_id: 100)
}
}Seasons — Returns a list of seasons with filters, search, and ordering
Seasons — Returns a list of seasons with filters, search, and orderingquery Seasons(
$where: QuerySeasonsWhereWhereConditions,
$orderBy: [QuerySeasonsOrderByOrderByClause!],
$search: String,
$first: Int,
$page: Int
) {
Seasons(
where: $where,
orderBy: $orderBy,
search: $search,
first: $first,
page: $page
) {
paginatorInfo {
total
currentPage
}
data {
id
label
active
}
}
}B2bStoreSeasons — Filtered seasons for B2B store
B2bStoreSeasons — Filtered seasons for B2B storequery B2bStoreSeasons(
$where: QueryB2bStoreSeasonsWhereWhereConditions,
$orderBy: [QueryB2bStoreSeasonsOrderByOrderByClause!],
$search: String,
$first: Int,
$page: Int
) {
B2bStoreSeasons(
where: $where,
orderBy: $orderBy,
search: $search,
first: $first,
page: $page
) {
paginatorInfo {
total
currentPage
}
data {
id
label
active
}
}
}Available fields
Filters
| Field | Example |
|---|---|
id | { "column": "ID", "operator": "EQ", "value": 100012 } |
label | { "column": "LABEL", "operator": "LIKE", "value": "%Winter%" } |
active | { "column": "ACTIVE", "operator": "EQ", "value": true } |
