Skip to main content
PUT
Update ExtraService
Updates an existing ExtraService record. You must include the Id of the record to update along with all required fields.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the ExtraService-Edit role.

Enums

Request Body

Required Fields

integer
required
The Id of the ExtraService record to update.
integer
required
ID of the business linked to this record.
string
required
Extra service name.
integer
required
Display order.
number
required
Unit price amount.
integer
required
Charge period.
integer
required
ID of the currency linked to this record.
integer
required
Last-minute discount type.

Optional Fields

string
Free-text description of this extra service.
string
Invoice line display text.
boolean
Whether the price is visible on the portal and app.
integer[]
List of resource types linked to this record.
integer[]
The added resource types value for this extra service.
integer[]
The removed resource types value for this extra service.
number
Credit price.
number
Maximum price cap.
boolean
Use as the default price for matched resource types if more than one price applies.
boolean
Use per-night pricing.
integer
ID of the tax rate linked to this record.
integer
ID of the reduced tax rate linked to this record.
integer
ID of the exempt tax rate linked to this record.
integer
ID of the financial account linked to this record.
integer
Start time restriction (minutes from midnight).
integer
End time restriction (minutes from midnight).
integer
Minimum booking length (minutes).
integer
Maximum booking length (minutes).
boolean
Only apply within the resource’s available times.
integer
Fixed cost booking length threshold (minutes).
number
Fixed cost price applied once the threshold is reached.
integer[]
List of tariffs linked to this record.
integer[]
The added tariffs value for this extra service.
integer[]
The removed tariffs value for this extra service.
boolean
Only available for contacts.
boolean
Only available for members.
boolean
Price uses booking credits.
boolean
Price uses printing credits.
boolean
Apply charge to visitors.
number
Price factor for low demand periods.
number
Price factor for average demand periods.
number
Price factor for high demand periods.
number
Price factor for last-minute bookings.
integer
Last-minute period threshold (minutes before booking).
string
Date from which this price applies.
string
Date until which this price applies.
string
Comma-separated names of associated resource types.
integer[]
List of teams linked to this record.
integer[]
The added teams value for this extra service.
integer[]
The removed teams value for this extra service.

Children

object[]
The days and times this extra service price is available for booking. The year, month and day component of FromTime/ToTime is always 1976-01-01.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the update.
object
Contains the Id of the updated record.
boolean
true if the extraservice was updated successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response