Beispielanfrage
PATCH https://api.jupiter-erp.com/api/account
Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"company_name": "string",
"director_name": "string",
"legal_form": "string",
"address_line_1": "string",
"address_line_2": "string"
}'Request Body
Optional
ModellUpdateAccountRequest
| Feld | Typ | Beschreibung |
|---|---|---|
| address_line_1 | string | First line of the address (Street and House number) |
| address_line_2 | string | Second line of the address |
| bank_bic | string | Bank BIC/SWIFT code |
| bank_iban | string | Bank IBAN |
| city | string | City of the address. |
| company_name | string | — |
| country_code | string | ISO country code of the address. |
| director_name | string | — |
| district_court | string | — |
| string (email) | — | |
| employees | string | — |
| industry | string | — |
| legal_form | string | — |
| name | string | — |
| phone | string | Phone number in E.164 format. |
| sepa_creditor_id | string | — |
| state | string | State or region of the address. |
| tax_id | string | Tax ID |
| trading_register_number | string | — |
| vat_id | string | VAT ID |
| website | string (https://test.com) | — |
| website_contact | string (https://test.com) | — |
| website_imprint | string (https://test.com) | — |
| website_privacy_policy | string (https://test.com) | — |
| website_support | string (https://test.com) | — |
| website_terms_of_service | string (https://test.com) | — |
| zip | string | ZIP or postal code. |
Beispiel Request
{
"name": "string",
"company_name": "string",
"director_name": "string",
"legal_form": "string",
"address_line_1": "string",
"address_line_2": "string"
}Antworten
200OK
ModellAccount
| Feld | Typ | Beschreibung | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| address_line_1 | string | First line of the address (Street and House number) | |||||||||
| address_line_2 | string | Second line of the address | |||||||||
| bank_bic | string | Bank BIC/SWIFT code | |||||||||
| bank_iban | string | Bank IBAN | |||||||||
| city | string | City of the address. | |||||||||
| company_name | string | — | |||||||||
| country_code | string | ISO country code of the address. | |||||||||
| created_at* | string (date-time) | Creation timestamp in ISO 8601 format. | |||||||||
| director_name | string | — | |||||||||
| district_court | string | — | |||||||||
| string (email) | — | ||||||||||
| employees | string | — | |||||||||
| id* | integer | — | |||||||||
| industry | string | — | |||||||||
| legal_form | string | — | |||||||||
| logo | object |
| |||||||||
| name* | string | — | |||||||||
| phone | string | Phone number in E.164 format. | |||||||||
| sepa_creditor_id | string | — | |||||||||
| slug | string | — | |||||||||
| state | string | State or region of the address. | |||||||||
| status* | string | Tenant account lifecycle status. Set only by platform admins; not writable via Account API. string
| |||||||||
| tax_id | string | Tax ID | |||||||||
| trading_register_number | string | — | |||||||||
| updated_at* | string (date-time) | Last update timestamp in ISO 8601 format. | |||||||||
| uuid* | string | — | |||||||||
| vat_id | string | VAT ID | |||||||||
| website | string (https://test.com) | — | |||||||||
| website_contact | string (https://test.com) | — | |||||||||
| website_imprint | string (https://test.com) | — | |||||||||
| website_privacy_policy | string (https://test.com) | — | |||||||||
| website_support | string (https://test.com) | — | |||||||||
| website_terms_of_service | string (https://test.com) | — | |||||||||
| zip | string | ZIP or postal code. |
Beispiel Response
{
"id": 0,
"slug": "string",
"uuid": "string",
"name": "string",
"status": "active",
"company_name": "string",
"updated_at": "2025-01-14T13:51:15.000Z",
"created_at": "2025-01-14T13:51:15.000Z"
}Account