Mews Accounts API

The Accounts API from Mews — 3 operation(s) for accounts.

Operations 3

POST /api/connector/v1/accounts/update Update accounts #
POST /api/connector/v1/accounts/addFile Upload and link file to account #
POST /api/connector/v1/accounts/merge Merge accounts #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mews-com-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mews-com-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BookingEngineApi Account notes Accounts API
  version: v1
servers:
- url: https://api.mews.com
tags:
- name: Accounts
paths:
  /api/connector/v1/accounts/update:
    post:
      tags:
      - Accounts
      summary: Update accounts
      description: Updates one or more existing accounts in the system. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property).
      operationId: accounts_update
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MultipleAccountUpdateParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              AccountUpdates:
              - Id: 3ff104e6-3ba8-4dfc-8d35-b0ec00c5fd4c
                Discriminator: Company
                Customer: null
                Company:
                  Email:
                    Value: example@example.com
                  TaxIdentifier:
                    Value: CZ8810310963
                  BillingCode:
                    Value: null
                  AccountingCode:
                    Value: null
                  Notes:
                    Value: Example notes
                  Name:
                    Value: Example company
                  MotherCompanyId:
                    Value: 839e9d92-aa8b-48bf-8384-b0ec0081bb34
                  WebsiteUrl:
                    Value: https://www.example.com
                  InvoiceDueInterval:
                    Value: null
                  CreditRatingBasic:
                    Value: CreditOk
                  Department:
                    Value: Accounting
                  DunsNumber:
                    Value: '987654321'
                  ReferenceId:
                    Value: null
                  ExternalIdentifier:
                    Value: COM-123
                  AdditionalTaxIdentifier:
                    Value: XY00112233445
                  Contact:
                    Value: Sample contact
                  ContactPerson:
                    Value: Sample person
                  FiscalIdentifier:
                    Value: FiscalIdentifier
                  Iata:
                    Value: PAO
                  Telephone:
                    Value: 111-222-333
                  SourceId:
                    Value: F42098A0-8507-4963-ACC9-B0EC00821949
                  Classifications:
                    Corporate:
                      Value: true
                    Internal:
                      Value: true
                    Private:
                      Value: true
                    OnlineTravelAgency:
                      Value: true
                    GlobalDistributionSystem:
                      Value: true
                    Marketing:
                      Value: true
                    Inactive:
                      Value: true
                  Options:
                    Invoiceable:
                      Value: 'true'
                    AddFeesToInvoices:
                      Value: 'true'
              - Id: 71db411f-c1d6-4e1c-9cd7-44e8bf45f936
                Discriminator: Customer
                Company: null
                Customer:
                  Email:
                    Value: example@example.com
                  TaxIdentifier:
                    Value: CZ8810310963
                  BillingCode:
                    Value: null
                  AccountingCode:
                    Value: null
                  Notes:
                    Value: Example notes
                  LastName:
                    Value: Sample
                  FirstName:
                    Value: Sample
                  SecondLastName:
                    Value: null
                  BirthPlace:
                    Value: Sample place
                  Telephone:
                    Value: 111-222-333
                  Occupation:
                    Value: null
                  CarRegistrationNumber:
                    Value: null
                  LoyaltyCode:
                    Value: null
                  NationalityCode:
                    Value: US
                  CompanyId:
                    Value: 839e9d92-aa8b-48bf-8384-b0ec0081bb34
                  BirthDate:
                    Value: '2000-01-01'
                  Sex:
                    Value: Male
                  Title:
                    Value: Mister
                  PreferredLanguageCode:
                    Value: null
                  Options:
                    SendMarketingEmails:
                      Value: true
                    Invoiceable:
                      Value: true
                    BillAddressObjection:
                      Value: true
                  Classifications:
                    PaymasterAccount:
                      Value: true
                    Blacklist:
                      Value: true
                    Media:
                      Value: true
                    LoyaltyProgram:
                      Value: true
                    PreviousComplaint:
                      Value: true
                    Returning:
                      Value: true
                    Staff:
                      Value: true
                    FriendOrFamily:
                      Value: true
                    TopManagement:
                      Value: true
                    Important:
                      Value: true
                    VeryImportant:
                      Value: true
                    Problematic:
                      Value: true
                    Cashlist:
                      Value: true
                    DisabledPerson:
                      Value: true
                    Military:
                      Value: true
                    Airline:
                      Value: true
                    HealthCompliant:
                      Value: true
                    InRoom:
                      Value: true
                    WaitingForRoom:
                      Value: true
                    Student:
                      Value: true
                  LegalEntityIdentifiers:
                    ItDestinationCode:
                      Value: null
                    ItFiscalCode:
                      Value: null
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResult'
              example:
                Accounts:
                - Id: 3ff104e6-3ba8-4dfc-8d35-b0ec00c5fd4c
                  Discriminator: Company
                  Customer: null
                  Company:
                    ChainId: 79fa3c17-bec6-454f-b3be-b0ec00818acd
                    CreatedUtc: '2024-01-03T07:52:20Z'
                    UpdatedUtc: '2024-01-18T10:20:31Z'
                    UpdaterProfileId: 93f03906-ed13-4a26-b8dc-b0ec0082194f
                    Email: example@example.com
                    TaxIdentifier: CZ8810310963
                    BillingCode: null
                    AccountingCode: null
                    Notes: Example notes
                    Name: Example company
                    MotherCompanyId: 839e9d92-aa8b-48bf-8384-b0ec0081bb34
                    WebsiteUrl: https://www.example.com
                    InvoiceDueInterval: null
                    CreditRatingBasic: CreditOk
                    Department: Accounting
                    DunsNumber: '987654321'
                    ReferenceId: null
                    ExternalIdentifier: COM-123
                    AdditionalTaxIdentifier: XY00112233445
                    Contact: Sample contact
                    ContactPerson: Sample person
                    FiscalIdentifier: FiscalIdentifier
                    Iata: PAO
                    Telephone: 111-222-333
                    SourceId: F42098A0-8507-4963-ACC9-B0EC00821949
                    Classifications:
                      Corporate: true
                      Internal: true
                      Private: true
                      OnlineTravelAgency: true
                      GlobalDistributionSystem: true
                      Marketing: true
                      Inactive: true
                    Options:
                      Invoiceable: true
                      AddFeesToInvoices: true
                - Id: 71db411f-c1d6-4e1c-9cd7-44e8bf45f936
                  Discriminator: Customer
                  Customer:
                    ChainId: 79fa3c17-bec6-454f-b3be-b0ec00818acd
                    CreatedUtc: '2024-01-03T07:52:19Z'
                    UpdatedUtc: '2024-01-18T10:25:41Z'
                    UpdaterProfileId: 93f03906-ed13-4a26-b8dc-b0ec0082194f
                    Email: example@example.com
                    TaxIdentifier: CZ8810310963
                    BillingCode: null
                    AccountingCode: null
                    Notes: Example notes
                    LastName: Sample
                    FirstName: Sample
                    SecondLastName: null
                    BirthPlace: Sample place
                    Telephone: 111-222-333
                    Occupation: null
                    CarRegistrationNumber: null
                    LoyaltyCode: null
                    NationalityCode: US
                    CompanyId: 839e9d92-aa8b-48bf-8384-b0ec0081bb34
                    BirthDate: '2000-01-01T00:00:00Z'
                    Sex: Male
                    Title: Mister
                    PreferredLanguageCode: null
                    Options:
                      SendMarketingEmails: true
                      Invoiceable: true
                      BillAddressObjection: true
                    Classifications:
                      PaymasterAccount: true
                      Blacklist: true
                      Media: true
                      LoyaltyProgram: true
                      PreviousComplaint: true
                      Returning: true
                      Staff: true
                      FriendOrFamily: true
                      TopManagement: true
                      Important: true
                      VeryImportant: true
                      Problematic: true
                      Cashlist: true
                      DisabledPerson: true
                      Military: true
                      Airline: true
                      HealthCompliant: true
                      InRoom: true
                      WaitingForRoom: true
                      Student: true
                    LegalEntityIdentifiers:
                      ItDestinationCode: null
                      ItFiscalCode: null
                  Company: null
        '400':
          description: Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '401':
          description: Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '403':
          description: Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '408':
          description: Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see [Request timeouts](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-timeouts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '204':
          description: Server has successfully fulfilled the request and there is no additional information to send back.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '429':
          description: Error caused by too many requests sent in a given amount of time. Response contains `Retry-After` header indicating how long the user agent should wait before making a follow-up request. For more information, see [Request limits](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-limits).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '500':
          description: Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our [documentation repository](https://github.com/MewsSystems/gitbook-connector-api).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
  /api/connector/v1/accounts/addFile:
    post:
      tags:
      - Accounts
      summary: Upload and link file to account
      description: "Attaches the specified file to the account. \n\nAllowed MIME types: `application/pdf`, `image/bmp`, `image/gif`, `image/jpeg`, `image/png`, `image/tiff`.\n\nNote this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/guidelines/multi-property)."
      operationId: accounts_addFile
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountFileParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              AccountId: 3fa85f64-5717-4562-b3fc-2c963f66afa6
              Name: document.pdf
              Type: application/pdf
              ChainId: 3fa85f64-5717-4562-b3fc-2c963f66afa6
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddAccountFileResult'
              example:
                FileId: f039f5b4-ff18-4510-9086-92b14a68ed78
        '400':
          description: Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '401':
          description: Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '403':
          description: Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '408':
          description: Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see [Request timeouts](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-timeouts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '204':
          description: Server has successfully fulfilled the request and there is no additional information to send back.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '429':
          description: Error caused by too many requests sent in a given amount of time. Response contains `Retry-After` header indicating how long the user agent should wait before making a follow-up request. For more information, see [Request limits](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-limits).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '500':
          description: Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our [documentation repository](https://github.com/MewsSystems/gitbook-connector-api).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
  /api/connector/v1/accounts/merge:
    post:
      tags:
      - Accounts
      summary: Merge accounts
      description: Merges two or more accounts of the same account type together. The given source accounts will be merged into the given target account and the merged account will keep the target account ID.
      operationId: accounts_merge
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MultipleAccountMergeParameters'
            example:
              ClientToken: E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D
              AccessToken: C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D
              Client: Sample Client 1.0.0
              AccountMergeParameters:
              - AccountType: Company
                SourceAccountIds:
                - b0c10ced-34eb-44b4-92e8-af5b008f3fb4
                - 5176d000-bf17-40be-b140-9041d2b70eee
                TargetAccountId: 51262225-8130-4320-8210-af5b008f64e5
              - AccountType: Customer
                SourceAccountIds:
                - 7799f19a-c9c9-42bf-968f-a759e3ea1ea6
                - bb926ffe-5310-48bc-8202-6165fa3bdcad
                TargetAccountId: 49b2abd4-df58-4f1d-bead-0fa6342f8a78
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unit'
        '400':
          description: Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '401':
          description: Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '403':
          description: Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '408':
          description: Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see [Request timeouts](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-timeouts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '204':
          description: Server has successfully fulfilled the request and there is no additional information to send back.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '429':
          description: Error caused by too many requests sent in a given amount of time. Response contains `Retry-After` header indicating how long the user agent should wait before making a follow-up request. For more information, see [Request limits](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-limits).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
        '500':
          description: Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our [documentation repository](https://github.com/MewsSystems/gitbook-connector-api).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorApiExceptionResult'
components:
  schemas:
    CustomerAccountOptions:
      title: Customer options
      type: object
      properties:
        SendMarketingEmails:
          type: boolean
          description: Send marketing emails.
        Invoiceable:
          type: boolean
          description: Invoiceable.
        BillAddressObjection:
          type: boolean
          description: Bill address objection.
      additionalProperties: false
      x-schema-id: CustomerAccountOptions
    CompanyAccountClassifications:
      title: Company classifications
      type: object
      properties:
        Corporate:
          type: boolean
          description: Corporate.
        Internal:
          type: boolean
          description: Internal.
        Private:
          type: boolean
          description: Private.
        OnlineTravelAgency:
          type: boolean
          description: Online travel agency.
        GlobalDistributionSystem:
          type: boolean
          description: Global distribution system.
        Marketing:
          type: boolean
          description: Marketing.
        Inactive:
          type: boolean
          description: Inactive.
        GovernmentEntity:
          type: boolean
          description: Government Entity
      additionalProperties: false
      x-schema-id: CompanyAccountClassifications
    Unit:
      type: object
      additionalProperties: false
    CustomerClassificationUpdateParameters:
      title: Customer update classifications
      type: object
      properties:
        PaymasterAccount:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Paymaster account (or `null` if the value should not be updated).
        Blacklist:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Synonym of Blocklist, left for backward compatibility (`null` if the value should not be updated).
          deprecated: true
          x-deprecatedMessage: Use Blocklist instead.
        Blocklist:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Blocklist (or `null` if the value should not be updated).
        Media:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Media (or `null` if the value should not be updated).
        LoyaltyProgram:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Loyalty program (or `null` if the value should not be updated).
        PreviousComplaint:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Previous complaint (or `null` if the value should not be updated).
        Returning:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Returning (or `null` if the value should not be updated).
        Staff:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Staff (or `null` if the value should not be updated).
        FriendOrFamily:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Friend or family (or `null` if the value should not be updated).
        TopManagement:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Top management (or `null` if the value should not be updated).
        Important:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Important (or `null` if the value should not be updated).
        VeryImportant:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Very important (or `null` if the value should not be updated).
        Problematic:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Problematic (or `null` if the value should not be updated).
        Cashlist:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Cashlist (or `null` if the value should not be updated).
        DisabledPerson:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Disabled person (or `null` if the value should not be updated).
        Military:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Military (or `null` if the value should not be updated).
        Airline:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Airline (or `null` if the value should not be updated).
        HealthCompliant:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Health compliant (or `null` if the value should not be updated).
        InRoom:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: In room (or `null` if the value should not be updated).
        WaitingForRoom:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Waiting for room (or `null` if the value should not be updated).
        Student:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Student (or `null` if the value should not be updated).
      additionalProperties: false
      x-schema-id: CustomerClassificationUpdateParameters
    ConnectorApiExceptionResult:
      title: ConnectorApiExceptionResult
      type: object
      properties:
        Message:
          type:
          - string
          - 'null'
        RequestId:
          type:
          - string
          - 'null'
        Details: {}
      additionalProperties: false
      x-schema-id: ConnectorApiExceptionResult
    CustomerOptionUpdateParameters:
      title: Customer update options
      type: object
      properties:
        SendMarketingEmails:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Send marketing email (or `null` if the value should not be updated).
        Invoiceable:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Invoiceable (or `null` if the value should not be updated).
        BillAddressObjection:
          title: Boolean update value
          allOf:
          - $ref: '#/components/schemas/BooleanUpdateValue'
          description: Bill address objection (or `null` if the value should not be updated).
      additionalProperties: false
      x-schema-id: CustomerOptionUpdateParameters
    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.


            Customer


            Company'
          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`.
        Company:
          title: Company update parameters
          allOf:
          - $ref: '#/components/schemas/AccountCompanyUpdateParameters'
          description: Company data to be updated. Required when `Discriminator` is `Company`.
      additionalProperties: false
      x-schema-id: AccountUpdateParameters
    CompanyAccount:
      title: Company
      required:
      - ChainId
      - Classifications
      - CreatedUtc
      - Name
      - Options
      - UpdatedUtc
      - UpdaterProfileId
      type: object
      properties:
        ChainId:
          type: string
          description: Unique identifier of the chain.
          format: uuid
        CreatedUtc:
          minLength: 1
          type: string
          description: Creation date and time of the `Company` in UTC timezone in ISO 8601 format.
          format: date-time
        UpdatedUtc:
          minLength: 1
          type: string
          description: Last update date and time of the `Company` in UTC timezone in ISO 8601 format.
          format: date-time
        UpdaterProfileId:
          type: string
          description: Unique identifier of the user who updated the company.
          format: uuid
        Email:
          type:
          - string
          - 'null'
          description: Email address of the company.
          format: email
        TaxIdentifier:
          type:
          - string
          - 'null'
          description: Tax identification number of the company.
        BillingCode:
          type:
          - string
          - 'null'
          description: Billing code of the company.
        AccountingCode:
          type:
          - string
          - 'null'
          description: Accounting code of the company.
        Notes:
          type:
          - string
          - 'null'
          description: Additional notes.
        Name:
          minLength: 1
          type: string
          description: Name of the company.
        MotherCompanyId:
          type:
          - string
          - 'null'
          description: Unique identifier of mother company.
          format: uuid
        WebsiteUrl:
          type:
          - string
          - 'null'
          description: The website url of the company.
          format: uri
        InvoiceDueInte

# --- truncated at 32 KB (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/mews-com/refs/heads/main/openapi/mews-com-accounts-api-openapi.yml