Create a reservation resource

Creates a bookable resource. Give it weekly hours with resource availability and attach it to services with service resources; a resource without availability is never free.

Endpoint

POST
/reservation-resources

Body

FieldTypeRequiredDescription
organization_idintegerYesYour organization ID (the API key's organization).
resource_typestringYesperson, room, equipment, vehicle or other.
namestringYesDisplay name, max 255 characters.
descriptionstringNoDescription.
user_idintegerNoOrganization user, for person resources.
capacityintegerNoSimultaneous capacity. Default 1.
metadataobjectNoFree-form attributes.
colorstringNoHex color.
is_activebooleanNoDefault true.

Request

Response

Returns the created resource object.

json

Errors

StatusWhen
400 Bad RequestMissing required field or invalid resource_type.
403 Forbiddenorganization_id is not the API key's organization.

Report an issue with this documentation

Please log in to report issues with our documentation.