Request
PATCH https://backend.net0.com/v1/customers/profile
This endpoint allows for the partial update of the currently logged-in user.
curl --location --request PATCH 'https://backend.net0.com/v1/customers/profile' \
--header 'x-api-key: <API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"lastName": "Dev"
}'
Name | Description | In | Required |
---|---|---|---|
body | Patch operations to be carried out on the customer's profile | Body | True |
Response
The response is an object containing the details of the updated customer's profile.
{
"id": "4273e3fa-15b3-4cb8-a6a8-3992cf7f5c0f",
"role": "co-owner",
"status": "active",
"avatarUrl": null,
"phone": "744444444",
"firstName": "API",
"lastName": "Dev",
"email": "[email protected]",
"verify": true,
"companyId": 2,
"createdAt": "2021-11-22T18:37:10.596Z",
"updatedAt": "2021-11-22T18:45:33.810Z",
"deletedAt": null
}