Skip to main content
POST
Create, update, or delete a service price

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Body

application/json
action
enum<string>
required
Available options:
create,
update,
delete
csrf_token
string
required
Example:

"abc123def456"

service_name
string
Example:

"Boiler Service"

service_category
string
Example:

"Gas & Heating"

unit_price
number<float>
Example:

85

vat_rate
number<float>
Example:

20

service_id
integer
Example:

1

Response

Service price updated

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"