Documentation

api.resources.custom_property

Fetch a custom property for a given resource.

Arguments:

def api.resources.custom_property(
  reservable_id: str = None, # Resource ID
  prop_name: str = None, # Name of custom property, case-insensitive
):

Returns a str, dec, or None. Note that dates will be returned in the string format 'YYYY-MM-DD'. None will be returned if the custom property is not found.

Example:

value = api.resources.custom_property(reservable_id="foo", prop_name="bar")