Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource URL 

...

languagebash

Update an existing staff member.

Code Block
PUT /staff/:id
ANY /staff/:id?_method=put

Parameters

Table of allowed paramatersparameters.

firstnamestringThe firstname of the staff member.
surnamestringThe surname of the staff member.
titlestringThe staff members title. For example: mr, mrs, dr, etc
emailstringThe staff members email.
faxstringThe staff members fax
phonestringThe staff members phone number.
mobilestringThe staff members mobile number
positionstringThe staff members position. For example, software engineer or CEO.

Handling the response

Please see the GET endpoint for handling the response.