Update my (as company) details
PATCH/v1/auth/company/
Update my (as company) details
Request
- application/json
Body
first name of the consumer user
last name of the consumer user
website url of the company
legal company name of the company
vat code with country code
address
object
sectors to be used for blacklist/whitelist from charity side
List of sectors of charities to be excluded
List of charities to be exclude
List of sectors of charities to be included, if empty all charities will be included
List of charities to be included, if empty all charities will be included
Responses
- 200
- 401
- 422
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Cents ID of the company
first name of the consumer user
last name of the consumer user
website url of the company
legal company name of the company
vat code with country code
address
object
sectors to be used for blacklist/whitelist from charity side
List of sectors of charities to be excluded
List of charities to be exclude
List of sectors of charities to be included, if empty all charities will be included
List of charities to be included, if empty all charities will be included
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"first_name": "Mario",
"last_name": "Rossi",
"website": "company.com",
"company_name": "Company S.r.l.",
"vat": "IT12345678912",
"address": {
"street_address": "via Roma 5",
"city": "Milan",
"region_state": "Lombardia",
"zip_code": "20100",
"country": "Italy"
},
"sectors": [
"string"
],
"charities_blacklist_sectors": [
[
"sector 1",
"sector 2"
]
],
"charities_blacklist": [
[
"charity_id_1",
"charity_id_2"
]
],
"charities_whitelist_sectors": [
[
"sector 1",
"sector 2"
]
],
"charities_whitelist": [
[
"charity_id_1",
"charity_id_2"
]
]
}
Unauthorized
Invalid input