Update one of your games
const url = 'https://api.thebgdb.org/v1/publisher/games/5c9b0f43-7a39-4f0c-8a4e-2f2d2b1d9a77';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"minAge":12,"maxPlaytime":120}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.thebgdb.org/v1/publisher/games/5c9b0f43-7a39-4f0c-8a4e-2f2d2b1d9a77 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "minAge": 12, "maxPlaytime": 120 }'Send only the facts that change, held to the same rules. Credits are added, never removed. The name and the BoardGameGeek id are not changed here: propose a correction on the game’s page. Works for any game credited to your publisher, also one you did not add.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The game’s id (its slug is accepted too).
Example
5c9b0f43-7a39-4f0c-8a4e-2f2d2b1d9a77Request Bodyrequired
Section titled “Request Bodyrequired”object
The game’s name in other languages, each with its language.
object
A language code: “en”, “fr”, “pt-BR”.
game when not said.
Required unless releaseDate is given.
“2026”, “2026-10” or “2026-10-23”, as precise as you know it.
Minutes. Required.
Minutes. minPlaytime when not said.
The age printed on the box. Required.
Required: at least one, by name.
Optional.
Required: must include your publisher as written; co-publishers may follow.
Optional.
Optional.
What the game is and how it plays, in your own words. Plain text: paragraphs separated by a blank line, and lists whose lines start with “- “; no links, HTML or other marks. Required.
States that the description is your own text, not a review’s or a shop’s. Required with description.
One line.
The game’s page on your site (https). Your description is credited to it.
The box’s barcode: EAN-13, or a 12-digit UPC.
Example
{ "minAge": 12, "maxPlaytime": 120}Responses
Section titled “Responses”Taken. status is published when the game is on its way to the catalog (it appears within seconds under id), in_review when a moderator must first say which game it is, unchanged when it said nothing new.
object
object
Example
{ "data": { "submissionId": "0b5d1c7e-8d1b-4c6a-9a4e-3f1d2c3b4a59", "id": "5c9b0f43-7a39-4f0c-8a4e-2f2d2b1d9a77", "status": "published", "cover": { "key": "covers/3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f.jpg", "width": 960, "height": 1280 } }}A fact breaks its rule; the code says which.
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
Example
{ "error": "Game not found", "code": "game_not_found"}No API token was sent (not_logged_in), or it does not carry the games:write scope (publisher_token_required).
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
Example
{ "error": "Game not found", "code": "game_not_found"}The token’s member has no access to the Publisher API, or it was withdrawn (publisher_access_required); or the game is not credited to their publisher (not_your_game, game_publisher_not_yours).
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
Example
{ "error": "Game not found", "code": "game_not_found"}No such game.
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
Example
{ "error": "Game not found", "code": "game_not_found"}More than 10 writes a minute (posting_too_fast, retry-after: 60), or more than 100 new games or 500 writes in a UTC day (daily_publisher_limit, retry-after in seconds until midnight UTC). Reading is limited as for any token.
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
Example
{ "error": "Game not found", "code": "game_not_found"}The cover could not be checked or copied just now (cover_not_judged, cover_not_stored), or the service that takes games is unavailable (engine_unavailable). Try again in a minute.
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
Example
{ "error": "Game not found", "code": "game_not_found"}