PATCH
/
v1
/
{tenantId}
/
customers
/
{customerId}
/
users
/
{userId}
curl --request PATCH \
  --url https://api.debbiecollect.com/v1/{tenantId}/customers/{customerId}/users/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isCompany": false,
  "lang": "DA",
  "users": [
    {
      "contact": true,
      "lang": "en",
      "details": {
        "name": "Hans Hansen",
        "email": "example@debbie.dk",
        "phone": {
          "locale": "45",
          "number": "12345678"
        },
        "address": {
          "address": "Applebys Plads 7, 1.",
          "coAddress": null,
          "city": "København K",
          "zipcode": "1411"
        },
        "cpr": "1209981919",
        "cvr": null
      }
    }
  ]
}'
{}

Authorizations

Authorization
string
header
required

Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.

Path Parameters

tenantId
string
required

Id of the tenant the customer belongs to

customerId
string
required

Id of the customer

userId
string
required

Id of the user on the customer

Body

application/json

Patch user on customer body

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.