API Reference
Accounts

Update an account.

1min
PATCH
This endpoint will provide the ability to update an existing account within the platform and return the account object.
Authentication
Authorization
Path Parameters
accountReference
*
Header Parameters
X-TokenId
X-SessionId
X-Version
*
Origin
Body Parameters
patchRequest
*
value
path
op
from
Responses
200
Ok
Description
Account
accountId
accountReference
status
verified
email
clientUserId
*
salutation
firstName
lastName
phoneNumber
mobileNumber
dateOfBirth
gender
addresses
customParameters
sessionToken
marketingAllowed
400
• Email address format invalid <br />• Invalid status provided. <br />• ClientUserId provided exceeds maximum length. <br />• FirstName provided exceeds maximum length. <br />• Surname provided exceeds maximum length. <br />• Phone number provided exceeds maximum length. <br />• Phone number does not support non-numeric characters. <br />• Mobile number provided exceeds maximum length. <br />• Mobile number does not support non-numeric characters. <br />• DateOfBirth must be a date in the past. <br />• {parameterName} provided exceeds maximum length.
403
• Unable to manage ClientUserId with the provided authentication.
409
• The email is already in use.
412
• {parameterName} not configured.
500
• Internal Server Error.
Curl
JS
Ruby
Python
Responses
200
400
403
409
412
500