Available in API 2.0+
Modifies an existing resource.
Required Parameters | Possible Values | Description |
resource | Resource ID | The numerical ID of the existing resource to modify |
Required Parameters (at least 1 required) | Possible Values | Description |
new_name | String | The new name for the existing resource |
new_type | equipment | consumable | staffing | <custom category> | The new type (category) of the resource |
new_qty | Number | The new available quantity of the resource. Passing this parameter with a blank value will reset the available quantity to "Unlimited" |
new_charge | Number | The new charge (without currency symbol - i.e. 10.00) for the resource. This will be a per-hour charge where the resource type is "staffing ", otherwise this is a per-booking charge |
new_public | 0 | 1 | Sets whether the resource is publicly requestable/bookable (can appear on the Public Booking/Request screen) |
new_venues | Venue IDs | A comma-separated list of Venue ID's the resource is available to. Passing this parameter with a blank value will reset the resource to be available to all venues |
Omitting any of the above parameters will leave its current value unchanged. Passing any of the above parameters with a "blank" value will clear/delete the current value of the corresponding field.
Example Response |
{
"resource_modified":"67"
} |
Variables Returned | Description |
resource_modified | The unique resource ID corresponding the modified resource |