Skip to main content
PATCH
/
api
/
accounts
/
current
cURL
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
    }
  }
}

Headers

pratiq-client-id
required

Global Webshop Client Id

pratiq-channel-uuid
string

UUID of the sales channel

Body

application/json
language
metaInformation
object

Response

200 - application/json

Successful response

data
object
required