Owner Resources API
Resources represent bookable items at your venue (typically padel courts). As an owner, you can create resources, configure their schedules, set pricing rules, and manage their operational status.List All My Resources
Retrieve all resources across all venues you own.Response
Unique identifier for the resource
ID of the venue this resource belongs to
Resource name (e.g., “Court 1”)
Detailed description of the resource
Resource type (e.g., PADEL_COURT, TENNIS_COURT)
Duration of each booking slot in minutes
Resource status: ACTIVE, SUSPENDED, PENDING_APPROVAL, REJECTED
Reason for rejection (if status is REJECTED)
Array of weekly schedules defining opening hours
Array of pricing rules based on day type and time
Array of resource images
Creation timestamp
Last update timestamp
Create Resource
Create a new resource (court) at one of your venues.Path Parameters
ID of the venue to create the resource in
Request Body
Resource name (cannot be blank)
Detailed description of the resource
Resource type (PADEL_COURT, TENNIS_COURT, etc.)
Duration of each booking slot in minutes (typically 90 for padel)
Response
Returns the created resource object with HTTP status 201 (Created).Set Schedule
Define opening and closing times for a specific day of the week.Path Parameters
Resource ID to set schedule for
Request Body
Day of week: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
Opening time in HH:mm:ss format. Set to null to close on this day.
Closing time in HH:mm:ss format. Set to null to close on this day.
Response
Returns the updated resource object with the new schedule included.To mark a day as closed, set both
openingTime and closingTime to null. You need to set the schedule for each day of the week separately.Add Price Rule
Add a pricing rule based on day type (weekday/weekend) and time range.Path Parameters
Resource ID to add price rule to
Request Body
Day type: WEEKDAY or WEEKEND
Start time for this price rule (HH:mm:ss)
End time for this price rule (HH:mm:ss)
Price for bookings in this time range
Currency code (e.g., EUR, USD)
Response
Returns the updated resource object with the new price rule included.Pricing Example
Remove Price Rule
Delete a specific pricing rule from a resource.Path Parameters
Resource ID
Price rule ID to delete
Response
Returns HTTP status 204 (No Content) on success.Suspend Resource
Temporarily suspend a resource. Suspended resources cannot be booked.Path Parameters
Resource ID to suspend
Response
Returns HTTP status 204 (No Content) on success.Reactivate Resource
Reactivate a previously suspended resource.Path Parameters
Resource ID to reactivate
Response
Returns HTTP status 204 (No Content) on success.Add Resource Image
Add an image to a resource. Images should be uploaded to your CDN first.Path Parameters
Resource ID to add image to
Request Body
Full URL to the image (cannot be blank)
Public identifier for the image (cannot be blank)
Response
Returns the updated resource object with the new image included.Delete Resource Image
Remove an image from a resource.Path Parameters
Resource ID
Image ID to delete
Response
Returns HTTP status 200 (OK) on success.Resource Setup Workflow
- Create the resource with basic information
- Set schedules for each day of the week
- Add price rules for different time slots and day types
- Add images to showcase the court
- Wait for approval (new resources start in PENDING_APPROVAL status)
Resources must have both schedules and price rules configured before they can accept bookings. Ensure you set up the full weekly schedule and pricing structure after creating a resource.