Virto Commerce Companies and Contacts API

Managing customers contacts and organizations

OpenAPI Specification

virto-commerce-companies-and-contacts-api-openapi.yml Raw ↑
openapi: 3.0.4
info:
  title: VirtoCommerce.Cart Catalog Companies and Contacts API
  version: v1
  description: Easily manage your products, categories, variations, and properties
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
      operationId: CustomerModule_BulkUpdateOrganizations
      requestBody:
        content:
          application/json-patch+json:
            schema:
 

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