ExtraServices
Update ExtraService
Update an existing ExtraService record.
PUT
Update ExtraService
Updates an existing ExtraService record. You must include theDocumentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
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
eChargePeriod — ChargePeriod values
eChargePeriod — ChargePeriod values
| Value | Name |
|---|---|
| 1 | Minutes |
| 2 | Days |
| 3 | Weeks |
| 4 | Months |
| 5 | Uses |
| 6 | FourWeekMonths |
eLastMinuteDiscountType — LastMinuteAdjustmentType values
eLastMinuteDiscountType — LastMinuteAdjustmentType values
| Value | Name |
|---|---|
| 1 | Disabled |
| 2 | Fixed |
| 3 | Gradual |
Request Body
Required Fields
The Id of the ExtraService record to update.
ID of the business linked to this record.
Extra service name.
Display order.
Unit price amount.
Charge period.
ID of the currency linked to this record.
Last-minute discount type.
Optional Fields
Free-text description of this extra service.
Invoice line display text.
Whether the price is visible on the portal and app.
List of resource types linked to this record.
The added resource types value for this extra service.
The removed resource types value for this extra service.
Credit price.
Maximum price cap.
Use as the default price for matched resource types if more than one price applies.
Use per-night pricing.
ID of the tax rate linked to this record.
ID of the reduced tax rate linked to this record.
ID of the exempt tax rate linked to this record.
ID of the financial account linked to this record.
Start time restriction (minutes from midnight).
End time restriction (minutes from midnight).
Minimum booking length (minutes).
Maximum booking length (minutes).
Only apply within the resource’s available times.
Fixed cost booking length threshold (minutes).
Fixed cost price applied once the threshold is reached.
List of tariffs linked to this record.
The added tariffs value for this extra service.
The removed tariffs value for this extra service.
Only available for contacts.
Only available for members.
Price uses booking credits.
Price uses printing credits.
Apply charge to visitors.
Price factor for low demand periods.
Price factor for average demand periods.
Price factor for high demand periods.
Price factor for last-minute bookings.
Last-minute period threshold (minutes before booking).
Date from which this price applies.
Date until which this price applies.
Comma-separated names of associated resource types.
List of teams linked to this record.
The added teams value for this extra service.
The removed teams value for this extra service.
Children
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
HTTP status code.
200 on success.A human-readable message confirming the update.
Contains the
Id of the updated record.true if the extraservice was updated successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Update ExtraService