List service bookings
...
Modifies an existing servicebooking for a logged in user.
Note: If apikey of level 3 is used person should be identified with param personid=x
Request
Code Block |
---|
PUT:APIURL/servicebookings.json?apikey=338934897438 { "id":1, "participantfirstname":"John", "participantlastname":"Doe" } |
...
Name | Example | Description | Datatype | Required |
---|---|---|---|---|
id | id=1 | Servicebooking id | ID | X |
participantfirstname | participantfirstname=John | Open text field that can be used to specify first name of a participant other than the customer that has made the booking | String | |
participantlastname | participantlastname=Doe | Open text field that can be used to specify last name of a participant other than the customer that has made the booking | String | |
participantid | participantid=7 | The ID of the individual person being booked as a participant. If specified participantfirstname and participantlastname will be ignored | ID | |
anonymous | anonymous=true | Required if the servicebooking belongs to an anonymous order | Boolean | X* |
...