Headers
Global Webshop Client Id
UUID of the sales channel
Response
200 - application/json
Successful response
curl --request PATCH \
--url https://api.pricenow.dev/api/accounts/current \
--header 'Content-Type: application/json' \
--header 'pratiq-client-id: <pratiq-client-id>' \
--data '
{
"language": {},
"metaInformation": {
"acceptedNewsletter": true
}
}
'{
"data": {
"id": 123,
"email": "<string>",
"type": "ADMIN",
"language": "de",
"deletedAt": "2023-11-07T05:31:56Z",
"scheduledForDeletionAfter": "2023-11-07T05:31:56Z",
"company": "<string>",
"metaInformation": {
"acceptedNewsletter": true
}
}
}Update the current account
curl --request PATCH \
--url https://api.pricenow.dev/api/accounts/current \
--header 'Content-Type: application/json' \
--header 'pratiq-client-id: <pratiq-client-id>' \
--data '
{
"language": {},
"metaInformation": {
"acceptedNewsletter": true
}
}
'{
"data": {
"id": 123,
"email": "<string>",
"type": "ADMIN",
"language": "de",
"deletedAt": "2023-11-07T05:31:56Z",
"scheduledForDeletionAfter": "2023-11-07T05:31:56Z",
"company": "<string>",
"metaInformation": {
"acceptedNewsletter": true
}
}
}Global Webshop Client Id
UUID of the sales channel
Successful response
Show child attributes