Invendor Accounts API

The Accounts API from Invendor — 15 operation(s) for accounts.

Operations 20

GET /v1/Accounts/me Returns the detailed info of an account #
GET /v1/Accounts #
POST /v1/Accounts Creates a new account. Profiles and users must be created separately using POST /api/profiles and POST /api/users, then linked via POST /api/accounts/{accountId}/profiles. #
GET /v1/Accounts/{accountId} Returns the detailed info of an account #
PUT /v1/Accounts/{accountId} #
DELETE /v1/Accounts/{accountId} Deletes an account. NB! Will disable all the related Groups, Users, Locations, Operations, Dimensions! #
POST /v1/Accounts/fromInvitation #
PUT /v1/Accounts/{accountId}/fromInvitation #
PUT /v1/Accounts/{accountId}/linkedLocations #
PUT /v1/Accounts/{accountId}/linkedOperations #
GET /v1/Accounts/vendors Returns the list of vendors of an account #
GET /v1/Accounts/invitation Get data from the inviter's tenant regarding account #
POST /v1/Accounts/invitation Inviter creates an invitation #
GET /v1/Accounts/linkedClientsTenants Get all tenants linked to account #
GET /v1/Accounts/{accountId}/linkedSettings/validation Validate that a linked (vendor) account is fully configured for cross-tenant session replication, and report exactly which pieces are missing. #
DELETE /v1/Accounts/integration Delete account invitation #
GET /v1/Accounts/validate Validates whether a single account code exists
POST /v1/Accounts/validate Validates multiple account codes. Returns only invalid codes.

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/invendor-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

invendor-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: IO.Common Accounts API
  version: '1.0'
servers:
- url: https://api.invendor.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
security:
- OAuth2: []
tags:
- name: Accounts
paths:
  /v1/Accounts/me:
    get:
      tags:
      - Accounts
      summary: Returns the detailed info of an account
      operationId: My account details
      parameters:
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDetailsResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts:
    get:
      tags:
      - Accounts
      operationId: Accounts list
      parameters:
      - name: Filter
        in: query
        schema:
          type: string
      - name: Page
        in: query
        schema:
          type: integer
          format: int32
      - name: PageSize
        in: query
        schema:
          type: integer
          format: int32
      - name: SortColumn
        in: query
        schema:
          type: string
      - name: SortOrder
        in: query
        schema:
          type: string
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResponseIPagedResult'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
    post:
      tags:
      - Accounts
      summary: 'Creates a new account. Profiles and users must be created separately

        using POST /api/profiles and POST /api/users, then linked via

        POST /api/accounts/{accountId}/profiles.'
      operationId: Create account
      parameters:
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      requestBody:
        description: ''
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountRequest'
          application/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountRequest'
          text/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountRequest'
          application/*+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Int32ResourceCreatedResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/{accountId}:
    get:
      tags:
      - Accounts
      summary: Returns the detailed info of an account
      operationId: Account details
      parameters:
      - name: accountId
        in: path
        description: Account Id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDetailsResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
    put:
      tags:
      - Accounts
      operationId: Update account
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
          application/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
          text/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
          application/*+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
    delete:
      tags:
      - Accounts
      summary: Deletes an account. NB! Will disable all the related Groups, Users, Locations, Operations, Dimensions!
      operationId: Delete account
      parameters:
      - name: accountId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/fromInvitation:
    post:
      tags:
      - Accounts
      operationId: Create account from invitation
      parameters:
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      requestBody:
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountFromInvitationRequest'
          application/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountFromInvitationRequest'
          text/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountFromInvitationRequest'
          application/*+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountFromInvitationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Int32ResourceCreatedResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/{accountId}/fromInvitation:
    put:
      tags:
      - Accounts
      operationId: Create account linked settings from invitation
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/UpdateAccountFromInvitationRequest'
          application/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/UpdateAccountFromInvitationRequest'
          text/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/UpdateAccountFromInvitationRequest'
          application/*+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/UpdateAccountFromInvitationRequest'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/{accountId}/linkedLocations:
    put:
      tags:
      - Accounts
      operationId: Update linked account locations mapping
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LinkedLocationsMap'
          application/json; x-api-version=1.0:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LinkedLocationsMap'
          text/json; x-api-version=1.0:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LinkedLocationsMap'
          application/*+json; x-api-version=1.0:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LinkedLocationsMap'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/{accountId}/linkedOperations:
    put:
      tags:
      - Accounts
      operationId: Update linked account operations mapping
      parameters:
      - name: accountId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LinkedOperationsMap'
          application/json; x-api-version=1.0:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LinkedOperationsMap'
          text/json; x-api-version=1.0:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LinkedOperationsMap'
          application/*+json; x-api-version=1.0:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LinkedOperationsMap'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/{accountId}/profiles:
    post:
      tags:
      - Accounts
      summary: Add group to account. Enables group to access account
      operationId: Add related profile
      parameters:
      - name: accountId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        description: Request DTO - GroupId and IsDefault
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/AddAccountRelatedProfileRequest'
          application/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/AddAccountRelatedProfileRequest'
          text/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/AddAccountRelatedProfileRequest'
          application/*+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/AddAccountRelatedProfileRequest'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/{accountId}/profiles/{userProfileId}:
    delete:
      tags:
      - Accounts
      summary: Remove related profile from the account
      operationId: Delete related profile
      parameters:
      - name: accountId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      - name: userProfileId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/vendors:
    get:
      tags:
      - Accounts
      summary: Returns the list of vendors of an account
      operationId: Account vendors
      parameters:
      - name: Filter
        in: query
        schema:
          type: string
      - name: Page
        in: query
        schema:
          type: integer
          format: int32
      - name: PageSize
        in: query
        schema:
          type: integer
          format: int32
      - name: SortColumn
        in: query
        schema:
          type: string
      - name: SortOrder
        in: query
        schema:
          type: string
      - name: locationId
        in: query
        schema:
          type: integer
          format: int32
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountVendorResult'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/invitation:
    get:
      tags:
      - Accounts
      summary: Get data from the inviter's tenant regarding account
      operationId: Client accepts vendor invitation
      parameters:
      - name: tenantId
        in: query
        description: Inviter's tenant id
        schema:
          type: string
          format: uuid
      - name: recordId
        in: query
        description: Id of the record
        schema:
          type: integer
          format: int32
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedAccountSettingsDataResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
    post:
      tags:
      - Accounts
      summary: Inviter creates an invitation
      operationId: Vendor invitation
      parameters:
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      requestBody:
        description: ''
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountInvetationRequest'
          application/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountInvetationRequest'
          text/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountInvetationRequest'
          application/*+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/CreateAccountInvetationRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateAccountInvetationResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/linkedClientsTenants:
    get:
      tags:
      - Accounts
      summary: Get all tenants linked to account
      operationId: Account's clients' tenants
      parameters:
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientTenantResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/{accountId}/linkedSettings/validation:
    get:
      tags:
      - Accounts
      summary: 'Validate that a linked (vendor) account is fully configured for cross-tenant session

        replication, and report exactly which pieces are missing.'
      operationId: Validate linked account configuration
      parameters:
      - name: accountId
        in: path
        description: Linked account id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedAccountValidationResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/integration:
    delete:
      tags:
      - Accounts
      summary: Delete account invitation
      operationId: Delete account integration
      parameters:
      - name: recordId
        in: query
        description: ''
        schema:
          type: integer
          format: int32
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
  /v1/Accounts/validate:
    get:
      tags:
      - Accounts
      summary: Validates whether a single account code exists
      parameters:
      - name: accountCode
        in: query
        schema:
          type: string
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: boolean
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
    post:
      tags:
      - Accounts
      summary: Validates multiple account codes. Returns only invalid codes.
      parameters:
      - name: Account
        in: query
        description: Account
        schema:
          title: Account
          type: int
      requestBody:
        content:
          application/json-patch+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/ValidateAccountCodesRequest'
          application/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/ValidateAccountCodesRequest'
          text/json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/ValidateAccountCodesRequest'
          application/*+json; x-api-version=1.0:
            schema:
              $ref: '#/components/schemas/ValidateAccountCodesRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - OAuth2:
        - io.common
components:
  schemas:
    UpdateAccountFromInvitationRequest:
      type: object
      properties:
        inviterTenantId:
          type: string
          format: uuid
        externalAccountId:
          type: integer
          format: int32
      additionalProperties: false
    LinkedOperationsMap:
      type: object
      properties:
        id:
          type: integer
          format: int32
        genericOperationType:
          type:
          - string
          - 'null'
        operationId:
          type:
          - integer
          - 'null'
          format: int32
        externalOperationId:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    AddAccountRelatedProfileRequest:
      type: object
      properties:
        userProfileId:
          type: integer
          format: int32
        isDefault:
          type: boolean
      additionalProperties: false
    CreateAccountInvetationResponse:
      type: object
      properties:
        tenantId:
          type: string
          format: uuid
        linkedAccountSettingsId:
          type: integer
          format: int32
      additionalProperties: false
    OrderNotificationAttachmentFormat:
      enum:
      - 0
      - 1
      type: integer
      format: int32
    CreateAccountRequest:
      type: object
      properties:
        accountCode:
          type:
          - string
          - 'null'
        accountName:
          type:
          - string
          - 'null'
        addresses:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/AccountAddress'
        filteredItems:
          type:
          - boolean
          - 'null'
        mfaEnabled:
          type:
          - boolean
          - 'null'
      additionalProperties: false
    LinkedLocationsMap:
      type: object
      properties:
        id:
          type: integer
          format: int32
        locationId:
          type:
          - integer
          - 'null'
          format: int32
        locationName:
          type:
          - string
          - 'null'
        externalLocationId:
          type:
          - integer
          - 'null'
          format: int32
        externalLocationName:
          type:
          - string
          - 'null'
      additionalProperties: false
    LinkedAccountSettingsDataResponse:
      type: object
      properties:
        id:
          type: integer
          format: int32
        tenantId:
          type:
          - string
          - 'null'
          format: uuid
        accountId:
          type:
          - integer
          - 'null'
          format: int32
        accountName:
          type:
          - string
          - 'null'
        userId:
          type:
          - integer
          - 'null'
          format: int32
        type:
          $ref: '#/components/schemas/AccountRelationEnum'
        externalUserId:
          type:
          - integer
          - 'null'
          format: int32
        externalAccountId:
          type:
          - integer
          - 'null'
          format: int32
        externalAccountName:
          type:
          - string
          - 'null'
        locations:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/LinkedLocationsMap'
        operations:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/LinkedOperationsMap'
      additionalProperties: false
    AccountAddress:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/AddressType'
        addressLine:
          type:
          - string
          - 'null'
        addressLine2:
          type:
          - string
          - 'null'
        addressLine3:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        state:
          type:
          - string
          - 'null'
        zipCode:
          type:
          - string
          - 'null'
        country:
          type:
          - string
          - 'null'
      additionalProperties: false
    OrderStatus:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      type: integer
      format: int32
    AccountLocationResponse:
      type: object
      properties:
        locationId:
          type: integer
          format: int32
        relType:
          type: integer
          format: int32
      additionalProperties: false
    CreateAccountFromInvitationRequest:
      type: object
      properties:
        accountCode:
          type:
          - string
          - 'null'
        accountName:
          type:
          - string
          - 'null'
        addresses:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/AccountAddress'
        filteredItems:
          type:
          - boolean
          - 'null'
        inviterTenantId:
          type: string
          format: uuid
        externalAccountId:
          type: integer
          format: int32
      additionalProperties: false
    ValidateAccountCodesRequest:
      type: object
      properties:
        accountCodes:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
    AccountVendorResult:
      type: object
      properties:
        vendorId:
          type: integer
          format: int32
        vendorCode:
          type:
          - string
          - 'null'
        vendorName:
          type:
          - string
          - 'null'
      additionalProperties: false
    ClientTenantResponse:
      type: object
      properties:
        tenantId:
          type: string
          format: uuid
        name:
          type:
          - string
          - 'null'
        accountId:
          type: integer
          format: int32
      additionalProperties: false
    AccountResponse:
      type: object
      properties:
        id:
          type: integer
          format: int32
        accountCode:
          type:
          - string
          - 'null'
        accountName:
          type:
          - string
          - 'null'
        filteredItems:
          type: boolean
        isTenantPrimary:
          type: boolean
        isUserPrimary:
          type: boolean
        mfaEnabled:
          type: boolean
        tenantId:
          type:
          - string
          - 'null'
          format: uuid
        integrationEnabled:
          type: boolean
      additionalProperties: false
    OperationsForHash:
      type: object
      properties:
        operationId:
          type: integer
          format: int32
        genericOperationType:
          type:
          - string
          - 'null'
      additionalProperties: false
    UpdateAccountRequest:
      type: object
      properties:
        accountName:
          type:
          - string
  

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