Update an account.
1min
PATCH
Authentication
Authorization
Bearer
Path Parameters
accountReference
string
*
Header Parameters
X-TokenId
string
X-SessionId
string
X-Version
string
*
Origin
string
Body Parameters
patchRequest
Microsoft.AspNet.JsonPatch.JsonPatchDocument[FictiveGlobal.Api.Rest.Dtos.v1.Patch.Accounts.AccountsPatchModel]
*
value
System.Object
path
string
op
string
from
string
Responses
200
Ok
FictiveGlobal.Api.Rest.Dtos.v2.AccountResult
Description
Account
accountId
integer<int32>
accountReference
string
status
string<None | Active | Suspended | Closed | MWalletInactive>
verified
boolean
email
string
clientUserId
string
salutation
string
firstName
string
lastName
string
phoneNumber
string
mobileNumber
string
dateOfBirth
string<date-time>
gender
string<NotKnown | Female | Male>
addresses
FictiveGlobal.Api.Rest.Dtos.v1.Address[]
customParameters
object
sessionToken
string
marketingAllowed
boolean
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.
ο»Ώ
ο»Ώ
Updated 02 Nov 2023
Did this page help you?