Companies
Update Company
Companies
Update Company
Update a Company. Once the Data Submission was completed, cannot be updated anymore
PATCH
/
partner
/
v1
/
companies
/
{id}
curl --request PATCH \
--url https://api.paywise.de/partner/v1/companies/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"name": "<string>",
"address": {
"street": "<string>",
"zip": "<string>",
"city": "<string>",
"country": "AF"
},
"phone": "<string>",
"vat_number": "<string>",
"users": [
{
"id": "<string>",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "<string>",
"notification_types": [
"STATUS_UPDATE"
]
}
],
"skip_email_verification": false
}
],
"default_claim_type": "H05",
"legal_form": "<string>",
"legal_representatives": [
{
"type": "gesellschafter",
"name": "<string>"
}
],
"tax_deduction_eligibility": "J",
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "<string>",
"notification_types": [
"STATUS_UPDATE"
]
}
],
"iban": "<string>"
}'
{
"href": "<string>",
"id": "<string>",
"name": "<string>",
"address": {
"street": "<string>",
"zip": "<string>",
"city": "<string>",
"country": "AF"
},
"phone": "<string>",
"vat_number": "<string>",
"users": [
{
"href": "<string>",
"id": "<string>",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_verified": true,
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "<string>",
"notification_types": [
"STATUS_UPDATE"
]
}
]
}
],
"data_submission_completed": false,
"default_claim_type": "H05",
"legal_form": "<string>",
"legal_representatives": [
{
"type": "gesellschafter",
"name": "<string>"
}
],
"tax_deduction_eligibility": "J",
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "<string>",
"notification_types": [
"STATUS_UPDATE"
]
}
],
"iban": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
Response
200
application/json
The response is of type object
.
curl --request PATCH \
--url https://api.paywise.de/partner/v1/companies/{id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"name": "<string>",
"address": {
"street": "<string>",
"zip": "<string>",
"city": "<string>",
"country": "AF"
},
"phone": "<string>",
"vat_number": "<string>",
"users": [
{
"id": "<string>",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "<string>",
"notification_types": [
"STATUS_UPDATE"
]
}
],
"skip_email_verification": false
}
],
"default_claim_type": "H05",
"legal_form": "<string>",
"legal_representatives": [
{
"type": "gesellschafter",
"name": "<string>"
}
],
"tax_deduction_eligibility": "J",
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "<string>",
"notification_types": [
"STATUS_UPDATE"
]
}
],
"iban": "<string>"
}'
{
"href": "<string>",
"id": "<string>",
"name": "<string>",
"address": {
"street": "<string>",
"zip": "<string>",
"city": "<string>",
"country": "AF"
},
"phone": "<string>",
"vat_number": "<string>",
"users": [
{
"href": "<string>",
"id": "<string>",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_verified": true,
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "<string>",
"notification_types": [
"STATUS_UPDATE"
]
}
]
}
],
"data_submission_completed": false,
"default_claim_type": "H05",
"legal_form": "<string>",
"legal_representatives": [
{
"type": "gesellschafter",
"name": "<string>"
}
],
"tax_deduction_eligibility": "J",
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "<string>",
"notification_types": [
"STATUS_UPDATE"
]
}
],
"iban": "<string>"
}