bidDeskSeats
Requires permission biddesk:settings:manage.
The organization's Bid Desk seats: purchased and assigned counts, who holds a seat and who can be given one. Requires Bid Desk and permission to manage Bid Desk settings.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query BidDeskSeats {
bidDeskSeats {
assigned
available
canAddSeats
offer
overAssigned
purchased
apps {
name
installationId
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidDeskSeats {\n bidDeskSeats {\n assigned\n available\n canAddSeats\n offer\n overAssigned\n purchased\n apps {\n name\n installationId\n }\n }\n}"
}
EOF
Response:
{
"data": {
"bidDeskSeats": {
"assigned": 0,
"available": 0,
"canAddSeats": true,
"offer": "string",
"overAssigned": 0,
"purchased": 0,
"apps": [
{
"name": "string",
"installationId": "id"
}
]
}
}
}
bidDeskSeats: BidDeskSeatOverview!
Type
BidDeskSeatOverview object
The organization's Bid Desk seats: purchased and assigned counts, who holds one and who can be given one.