Skip to main content
PATCH
/
v1
/
spaces
/
{space_id}
Error
A valid request URL is required to generate request examples
{
  "name": "Meeting Room - 4 people",
  "label": "meeting-room-4-people",
  "description": "Modern meeting room equipped with a whiteboard, video conferencing capabilities, and Google Cast for presentations. Perfect for small team meetings.",
  "capacity": 4,
  "type": "meeting_room",
  "venue": {
    "name": "Downtown Event Center",
    "address": {},
    "label": "downtown-event-center",
    "type": "coworking",
    "spaces": [
      "<array>"
    ],
    "openingHours": [
      {
        "day": "monday",
        "open": "09:00",
        "close": "18:00"
      },
      {
        "day": "tuesday",
        "open": "09:00",
        "close": "18:00"
      }
    ],
    "metadata": {
      "import": "calendarId",
      "googleCalendarId": "primary"
    },
    "medias": [
      "<array>"
    ]
  },
  "products": [
    {
      "id": "a3f1d7d0-ef1d-4b2e-aad2-123456789abc",
      "reference": "one-day-pass",
      "name": "One Day Pass",
      "description": "Full day access to the coworking space including all amenities, meeting rooms, and common areas. Valid from 9:00 AM to 6:00 PM.",
      "price": 2500,
      "type": "one_time",
      "category": "booking",
      "metadata": {
        "durationType": "daily",
        "durationValue": 1
      },
      "currency": "EUR",
      "spaces": [
        "a3f1d7d0-ef1d-4b2e-aad2-123456789abc",
        "b4e2d8e1-fg2e-5c3f-bbe3-234567890bcd"
      ]
    }
  ],
  "metadata": {
    "color": "#FF0000",
    "amenities": [
      "whiteboard",
      "projector",
      "wifi"
    ],
    "equipment": [
      "laptop",
      "monitor"
    ]
  },
  "totalBookings": 0
}

Authorizations

Authorization
string
header
required

OAuth2 authentication for Boseat API

Path Parameters

space_id
string
required

Unique identifier (UUID) of the space to update

Example:

"a3f1d7d0-ef1d-4b2e-aad2-123456789abc"

Body

application/json
venue
string
required

Venue ID where the space is located

Example:

"a5d2c2c6-5d5c-4b6b-8c4d-0f7c5d6e5b4d"

name
string

Name of the space

Example:

"Meeting Room A"

label
string

URL-friendly public identifier (slug) for the space. Used in URLs and API calls. Must be unique within the venue.

Example:

"meeting-room-4-people"

description
string

Description of the space

Example:

"A modern meeting room with video conferencing"

capacity
number

Capacity of the space

Required range: x >= 1
Example:

8

type
enum<string>

Type of space, which determines available features and booking rules. Different space types may have different product options and pricing.

Available options:
meeting_room,
desk,
bedroom,
court,
studio,
conference_room,
event_hall,
gym_area,
podcast_booth,
restaurant_table,
retail_counter,
parking_spot,
generic
Example:

"meeting_room"

metadata
object

Metadata for the space

Example:
{
"color": "#FF0000",
"equipment": ["projector", "whiteboard"]
}
totalBookings
number

Total number of bookings (past and future) associated with this space. Useful for analytics and space utilization metrics.

Required range: x >= 0
Example:

0

products
string

The list of activated products related to the current space

Response

Space updated successfully with new details

name
string
required

Display name of the space. Shown to users in booking interfaces.

Example:

"Meeting Room - 4 people"

label
string
required

URL-friendly public identifier (slug) for the space. Used in URLs and API calls. Must be unique within the venue.

Example:

"meeting-room-4-people"

description
string
required

Detailed description of the space for end-users. Should highlight features, amenities, and any special characteristics.

Example:

"Modern meeting room equipped with a whiteboard, video conferencing capabilities, and Google Cast for presentations. Perfect for small team meetings."

capacity
number
required

Maximum number of people the space can accommodate. Used for capacity filtering and booking validation.

Required range: x >= 1
Example:

4

type
enum<string>
required

Type of space, which determines available features and booking rules. Different space types may have different product options and pricing.

Available options:
meeting_room,
desk,
bedroom,
court,
studio,
conference_room,
event_hall,
gym_area,
podcast_booth,
restaurant_table,
retail_counter,
parking_spot,
generic
Example:

"meeting_room"

venue
required

The venue this space belongs to. Can be returned as a full VenueDto object or just the venue ID string.

products
object[]
required

List of products available for booking in this space. Each product defines pricing, duration, and booking conditions specific to this space.

metadata
object
required

Additional metadata for the space. Can include custom properties like color coding, amenities, equipment, or integration-specific data.

Example:
{
"color": "#FF0000",
"amenities": ["whiteboard", "projector", "wifi"],
"equipment": ["laptop", "monitor"]
}
totalBookings
number
required

Total number of bookings (past and future) associated with this space. Useful for analytics and space utilization metrics.

Required range: x >= 0
Example:

0