curl --request PATCH \
--url https://api.pricenow.dev/api/accounts/current \
--header 'Content-Type: application/json' \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>' \
--data '
{
"language": {},
"metaInformation": {
"acceptedNewsletter": true,
"syncErrorWrite": "<string>",
"syncErrorRead": "<string>"
}
}
'{
"data": {
"id": 123,
"email": "<string>",
"type": "ADMIN",
"language": "en",
"deletedAt": "2023-11-07T05:31:56Z",
"scheduledForDeletionAfter": "2023-11-07T05:31:56Z",
"company": "<string>",
"metaInformation": {
"acceptedNewsletter": true,
"syncErrorWrite": "<string>",
"syncErrorRead": "<string>"
}
}
}Update the current account
curl --request PATCH \
--url https://api.pricenow.dev/api/accounts/current \
--header 'Content-Type: application/json' \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>' \
--data '
{
"language": {},
"metaInformation": {
"acceptedNewsletter": true,
"syncErrorWrite": "<string>",
"syncErrorRead": "<string>"
}
}
'{
"data": {
"id": 123,
"email": "<string>",
"type": "ADMIN",
"language": "en",
"deletedAt": "2023-11-07T05:31:56Z",
"scheduledForDeletionAfter": "2023-11-07T05:31:56Z",
"company": "<string>",
"metaInformation": {
"acceptedNewsletter": true,
"syncErrorWrite": "<string>",
"syncErrorRead": "<string>"
}
}
}Language of the response
en, de, fr, it UUID of the sales channel
Successful response
Show child attributes