Skip to main content
PUT
Update TariffSignupProduct
Updates an existing TariffSignupProduct 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 TariffSignupProduct-Edit role.

Request Body

Required Fields

integer
required
The Id of the TariffSignupProduct record to update.
integer
required
ID of the plan this sign-up fee belongs to; required, and it determines the owning location. Every contract created afterwards on that plan gets a matching deposit..
integer
required
ID of the product charged as the sign-up fee or deposit; required, and its own current price is used whenever Price is left null, so reuse an existing product rather than creating a duplicate..

Optional Fields

number
Optional amount charged for this sign-up fee, in the location’s currency; when null the linked product’s own current price is used instead..
boolean
Whether the deposit created from this sign-up fee is refunded when the contract ends, producing an unpaid credit note that can also be used to offset exit or damage fees..
boolean
Whether this fee is charged during the customer’s online checkout instead of waiting for the contract’s first eligible invoice..

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 tariffsignupproduct 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