How to get a resource's ID

The bookings api allows you to dictate a resource to use when creating the booking in the resourceIds field, but I can find anywhere to get a list of resources and their Id’s

I see that the searchAvailability endpoint has a resourceIds field in the response, but this field seems to be undefined.

Can I get some help with this?

I’ve asked the team and am waiting on the response. What we know is resource_ids is read only, so applications cannot specify which resources a booking uses when creating a booking.
When a Booking is created, if the merchant has resources assigned to any of the services within the Booking, then those resources are assigned to the Booking to indicate that the resources are “held” by that Booking.

This Resource → Booking assignment isn’t externally exposed but is returned in the API. :slightly_smiling_face:

Bookings created by the API do not seem to use a resource.

Calendar appointments created by the API do not have a listed resource in the appointment.

Appointments created within the square calendar do use a resource.

The problem we are having is that our online appointments are overlapping those created by our techs because they are not consuming a resource when created through the API.

Still looking for an update on this.

Is it possible to get a list of resources?

The team is still working on a fix to handle this. :slightly_smiling_face: