Update Venue Blocks
Apply ordered operations to a venue's content blocks. Requires draft set to true and an ifUpdatedAt timestamp. Rate limit: 20 requests per minute per API key.
Authorization
apiKey Use format: users API-Key YOUR_API_KEY
In: header
Path Parameters
API version
"2026-02""2026-02"Tenant slug
Page ID
Query Parameters
The language to edit. Defaults to the site's default language.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.basker.app/partners/2026-02/string/venues/string/blocks" \ -H "Content-Type: application/json" \ -d '{ "draft": true, "ifUpdatedAt": "2019-08-24T14:15:22Z", "operations": [ { "op": "update" } ] }'{
"versionTarget": "draft",
"operations": [
{
"op": "string",
"status": "applied",
"blockId": "string",
"insertedBlockId": "string"
}
],
"document": {}
}{
"error": "string",
"message": "string",
"requestId": "string",
"errors": [
{
"path": "string",
"message": "string",
"code": "string"
}
]
}{
"error": "string",
"message": "string",
"requestId": "string",
"errors": [
{
"path": "string",
"message": "string",
"code": "string"
}
]
}{
"error": "string",
"message": "string",
"requestId": "string",
"errors": [
{
"path": "string",
"message": "string",
"code": "string"
}
]
}{
"error": "string",
"message": "string",
"requestId": "string",
"errors": [
{
"path": "string",
"message": "string",
"code": "string"
}
]
}{
"error": "Too Many Requests",
"message": "Rate limit exceeded. Please retry later."
}