Properties
| Name | Type | Description |
|---|---|---|
| Id | string | Unique identifier of the account. |
| Discriminator | object | Type of the account. Customer Company |
| Customer | object | Customer data to be updated. Required when `Discriminator` is `Customer`. |
| Company | object | Company data to be updated. Required when `Discriminator` is `Company`. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AccountUpdateParameters",
"title": "Account update parameters",
"required": [
"Discriminator",
"Id"
],
"type": "object",
"properties": {
"Id": {
"type": "string",
"description": "Unique identifier of the account.",
"format": "uuid"
},
"Discriminator": {
"title": "Account type discriminator",
"allOf": [
{
"$ref": "#/components/schemas/AccountParameterDiscriminatorEnum"
}
],
"description": "Type of the account.\n\nCustomer\n\nCompany",
"x-enumNames": [
"Customer",
"Company"
],
"x-enumDescriptions": [
"",
""
]
},
"Customer": {
"title": "Customer update parameters",
"allOf": [
{
"$ref": "#/components/schemas/AccountCustomerUpdateParameters"
}
],
"description": "Customer data to be updated. Required when `Discriminator` is `Customer`.",
"nullable": true
},
"Company": {
"title": "Company update parameters",
"allOf": [
{
"$ref": "#/components/schemas/AccountCompanyUpdateParameters"
}
],
"description": "Company data to be updated. Required when `Discriminator` is `Company`.",
"nullable": true
}
},
"additionalProperties": false,
"x-schema-id": "AccountUpdateParameters"
}