Virto Commerce Companies and Contacts API

Managing customers contacts and organizations

Operations 45

GET /api/members/organizations Get organizations #
POST /api/members/search Get members #
GET /api/members/{id} Get member #
PATCH /api/members/{id} Partial update for Member #
GET /api/members/accounts/{userId} #
GET /api/members #
POST /api/members Create new member (can be any object inherited from Member type) #
PUT /api/members Update member #
DELETE /api/members Delete members #
POST /api/members/bulk Bulk create new members (can be any objects inherited from Member type) #
PUT /api/members/bulk Bulk update members #
POST /api/members/delete Bulk delete members #
POST /api/members/customers/invite #
GET /api/members/customers/invite/roles #
POST /api/contacts Create contact #
PUT /api/contacts Update contact #
DELETE /api/contacts Delete contacts #
GET /api/contacts Get plenty contacts #
POST /api/contacts/bulk Bulk create contacts #
PUT /api/contacts/bulk Bulk update contact #
PATCH /api/contacts/{id} Partial update for Contact #
GET /api/contacts/{id} Get contact #
POST /api/contacts/search Search contacts #
POST /api/organizations Create organization #
PUT /api/organizations Update organization #
DELETE /api/organizations Delete organizations #
GET /api/organizations Get plenty organizations #
POST /api/organizations/bulk Bulk create organizations #
PUT /api/organizations/bulk Bulk update organization #
GET /api/organizations/{id} Get organization #
PATCH /api/organizations/{id} Partial update for Organization #
POST /api/organizations/search Search organizations #
GET /api/vendors/{id} Get vendor #
GET /api/vendors Get plenty vendors #
POST /api/vendors/search Search vendors #
PUT /api/addresses #
POST /api/employees Create employee #
GET /api/employees Get plenty employees #
POST /api/employees/bulk Create employee #
GET /api/members/{id}/organizations Get all member organizations #
POST /api/customer-preferences #
PUT /api/customer-preferences #
DELETE /api/customer-preferences #
GET /api/customer-preferences/{id} #

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/virto-commerce-companies-and-contacts-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

virto-commerce-companies-and-contacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VirtoCommerce.Cart Catalog Companies and Contacts API
  version: v1
  description: Easily manage your products, categories, variations, and properties
servers:
- url: https://virtostart-demo-admin.govirto.com/api
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Companies and Contacts
  description: Managing customers contacts and organizations
paths:
  /api/members/organizations:
    get:
      tags:
      - Companies and Contacts
      summary: Get organizations
      description: Get array of all organizations.
      operationId: CustomerModule_ListOrganizations
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Organization'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Organization'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Organization'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/members/search:
    post:
      tags:
      - Companies and Contacts
      summary: Get members
      description: Get array of members satisfied search criteria.
      operationId: CustomerModule_SearchMember
      requestBody:
        description: concrete instance of SearchCriteria type type will be created by using PolymorphicMemberSearchCriteriaJsonConverter
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/MemberSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/MemberSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/MemberSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/members/{id}:
    get:
      tags:
      - Companies and Contacts
      summary: Get member
      operationId: CustomerModule_GetMemberById
      parameters:
      - name: id
        in: path
        description: member id
        required: true
        schema:
          type: string
      - name: responseGroup
        in: query
        description: response group
        schema:
          type: string
      - name: memberType
        in: query
        description: member type
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Member'
            application/json:
              schema:
                $ref: '#/components/schemas/Member'
            text/json:
              schema:
                $ref: '#/components/schemas/Member'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    patch:
      tags:
      - Companies and Contacts
      summary: Partial update for Member
      operationId: CustomerModule_PatchMember
      parameters:
      - name: id
        in: path
        description: Member id
        required: true
        schema:
          type: string
      requestBody:
        description: JsonPatchDocument object with fields to update
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/members/accounts/{userId}:
    get:
      tags:
      - Companies and Contacts
      operationId: CustomerModule_GetMemberByUserId
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
      - name: responseGroup
        in: query
        schema:
          type: string
      - name: memberType
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Member'
            application/json:
              schema:
                $ref: '#/components/schemas/Member'
            text/json:
              schema:
                $ref: '#/components/schemas/Member'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/members:
    get:
      tags:
      - Companies and Contacts
      operationId: CustomerModule_GetMembersByIds
      parameters:
      - name: ids
        in: query
        schema:
          type: array
          items:
            type: string
      - name: responseGroup
        in: query
        schema:
          type: string
      - name: memberTypes
        in: query
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Member'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Member'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Member'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    post:
      tags:
      - Companies and Contacts
      summary: Create new member (can be any object inherited from Member type)
      operationId: CustomerModule_CreateMember
      requestBody:
        description: concrete instance of abstract member type will be created by using PolymorphicMemberJsonConverter
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Member'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Member'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Member'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Member'
            application/json:
              schema:
                $ref: '#/components/schemas/Member'
            text/json:
              schema:
                $ref: '#/components/schemas/Member'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    put:
      tags:
      - Companies and Contacts
      summary: Update member
      operationId: CustomerModule_UpdateMember
      requestBody:
        description: concrete instance of abstract member type will be created by using PolymorphicMemberJsonConverter
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Member'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Member'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Member'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    delete:
      tags:
      - Companies and Contacts
      summary: Delete members
      description: Delete members by given array of ids.
      operationId: CustomerModule_DeleteMembers
      parameters:
      - name: ids
        in: query
        description: An array of members ids
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - customer:delete
      - api_key:
        - customer:delete
      - api_key_header:
        - customer:delete
      - http-signature:
        - customer:delete
      - basic:
        - customer:delete
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/members/bulk:
    post:
      tags:
      - Companies and Contacts
      summary: Bulk create new members (can be any objects inherited from Member type)
      operationId: CustomerModule_BulkCreateMembers
      requestBody:
        description: Array of concrete instances of abstract member type will be created by using PolymorphicMemberJsonConverter
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Member'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Member'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Member'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Member'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Member'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Member'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    put:
      tags:
      - Companies and Contacts
      summary: Bulk update members
      operationId: CustomerModule_BulkUpdateMembers
      requestBody:
        description: Array of concrete instances of abstract member type will be created by using PolymorphicMemberJsonConverter
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Member'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Member'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Member'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/members/delete:
    post:
      tags:
      - Companies and Contacts
      summary: Bulk delete members
      description: Bulk delete members by search criteria of members.
      operationId: CustomerModule_BulkDeleteMembersBySearchCriteria
      requestBody:
        description: concrete instance of SearchCriteria type will be created by using PolymorphicMemberSearchCriteriaJsonConverter
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - customer:delete
      - api_key:
        - customer:delete
      - api_key_header:
        - customer:delete
      - http-signature:
        - customer:delete
      - basic:
        - customer:delete
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/members/customers/invite:
    post:
      tags:
      - Companies and Contacts
      operationId: CustomerModule_InviteCustomers
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/InviteCustomerRequest'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/InviteCustomerRequest'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/InviteCustomerRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/InviteCustomerResult'
            application/json:
              schema:
                $ref: '#/components/schemas/InviteCustomerResult'
            text/json:
              schema:
                $ref: '#/components/schemas/InviteCustomerResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - customer:invite
      - api_key:
        - customer:invite
      - api_key_header:
        - customer:invite
      - http-signature:
        - customer:invite
      - basic:
        - customer:invite
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/members/customers/invite/roles:
    get:
      tags:
      - Companies and Contacts
      operationId: CustomerModule_GetInviteRoles
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CustomerRoleSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerRoleSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/CustomerRoleSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - customer:invite
      - api_key:
        - customer:invite
      - api_key_header:
        - customer:invite
      - http-signature:
        - customer:invite
      - basic:
        - customer:invite
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/contacts:
    post:
      tags:
      - Companies and Contacts
      summary: Create contact
      operationId: CustomerModule_CreateContact
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Contact'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Contact'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Contact'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Contact'
            application/json:
              schema:
                $ref: '#/components/schemas/Contact'
            text/json:
              schema:
                $ref: '#/components/schemas/Contact'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    put:
      tags:
      - Companies and Contacts
      summary: Update contact
      operationId: CustomerModule_UpdateContact
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Contact'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Contact'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Contact'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    delete:
      tags:
      - Companies and Contacts
      summary: Delete contacts
      description: Delete contacts by given array of ids.
      operationId: CustomerModule_DeleteContacts
      parameters:
      - name: ids
        in: query
        description: An array of contacts ids
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - customer:delete
      - api_key:
        - customer:delete
      - api_key_header:
        - customer:delete
      - http-signature:
        - customer:delete
      - basic:
        - customer:delete
      x-virtocommerce-module-id: VirtoCommerce.Customer
    get:
      tags:
      - Companies and Contacts
      summary: Get plenty contacts
      operationId: CustomerModule_GetContactsByIds
      parameters:
      - name: ids
        in: query
        description: contact IDs
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Contact'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Contact'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Contact'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/contacts/bulk:
    post:
      tags:
      - Companies and Contacts
      summary: Bulk create contacts
      operationId: CustomerModule_BulkCreateContacts
      requestBody:
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Contact'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Contact'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Contact'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Contact'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Contact'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Contact'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    put:
      tags:
      - Companies and Contacts
      summary: Bulk update contact
      operationId: CustomerModule_BulkUpdateContacts
      requestBody:
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Contact'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Contact'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Contact'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/contacts/{id}:
    patch:
      tags:
      - Companies and Contacts
      summary: Partial update for Contact
      operationId: CustomerModule_PatchContact
      parameters:
      - name: id
        in: path
        description: Contact id
        required: true
        schema:
          type: string
      requestBody:
        description: JsonPatchDocument object with fields to update
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Operation'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    get:
      tags:
      - Companies and Contacts
      summary: Get contact
      operationId: CustomerModule_GetContactById
      parameters:
      - name: id
        in: path
        description: Contact ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Contact'
            application/json:
              schema:
                $ref: '#/components/schemas/Contact'
            text/json:
              schema:
                $ref: '#/components/schemas/Contact'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/contacts/search:
    post:
      tags:
      - Companies and Contacts
      summary: Search contacts
      description: Get array of contacts satisfied search criteria.
      operationId: CustomerModule_SearchContacts
      requestBody:
        description: concrete instance of SearchCriteria type type will be created by using PolymorphicMemberSearchCriteriaJsonConverter
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MembersSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ContactSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/ContactSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/ContactSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/organizations:
    post:
      tags:
      - Companies and Contacts
      summary: Create organization
      operationId: CustomerModule_CreateOrganization
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Organization'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Organization'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Organization'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Organization'
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
            text/json:
              schema:
                $ref: '#/components/schemas/Organization'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    put:
      tags:
      - Companies and Contacts
      summary: Update organization
      operationId: CustomerModule_UpdateOrganization
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Organization'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Organization'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Organization'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    delete:
      tags:
      - Companies and Contacts
      summary: Delete organizations
      description: Delete organizations by given array of ids.
      operationId: CustomerModule_DeleteOrganizations
      parameters:
      - name: ids
        in: query
        description: An array of organizations ids
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - customer:delete
      - api_key:
        - customer:delete
      - api_key_header:
        - customer:delete
      - http-signature:
        - customer:delete
      - basic:
        - customer:delete
      x-virtocommerce-module-id: VirtoCommerce.Customer
    get:
      tags:
      - Companies and Contacts
      summary: Get plenty organizations
      operationId: CustomerModule_GetOrganizationsByIds
      parameters:
      - name: ids
        in: query
        description: Organization ids
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Organization'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Organization'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Organization'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
  /api/organizations/bulk:
    post:
      tags:
      - Companies and Contacts
      summary: Bulk create organizations
      operationId: CustomerModule_BulkCreateOrganizations
      requestBody:
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Organization'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Organization'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Organization'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Customer
    put:
      tags:
      - Companies and Contacts
      summary: Bulk update organization
      operationI

# --- truncated at 32 KB (86 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/virto-commerce/refs/heads/main/openapi/virto-commerce-companies-and-contacts-api-openapi.yml