Virto Commerce Catalog API

Easily manage your products, categories, variations, and properties

OpenAPI Specification

virto-commerce-catalog-api-openapi.yml Raw ↑
openapi: 3.0.4
info:
  title: VirtoCommerce.Cart Catalog API
  version: v1
  description: Easily manage your products, categories, variations, and properties
tags:
- name: Catalog
  description: Easily manage your products, categories, variations, and properties
paths:
  /api/catalog/automatic-link-queries/search:
    post:
      tags:
      - Catalog
      operationId: AutomaticLinkQuery_Search
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuerySearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuerySearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuerySearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuerySearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuerySearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuerySearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:read
      - api_key:
        - catalog:read
      - api_key_header:
        - catalog:read
      - http-signature:
        - catalog:read
      - basic:
        - catalog:read
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/automatic-link-queries:
    post:
      tags:
      - Catalog
      operationId: AutomaticLinkQuery_Create
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuery'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuery'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuery'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
            application/json:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
            text/json:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:create
      - api_key:
        - catalog:create
      - api_key_header:
        - catalog:create
      - http-signature:
        - catalog:create
      - basic:
        - catalog:create
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    put:
      tags:
      - Catalog
      operationId: AutomaticLinkQuery_Update
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuery'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuery'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AutomaticLinkQuery'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
            application/json:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
            text/json:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:update
      - api_key:
        - catalog:update
      - api_key_header:
        - catalog:update
      - http-signature:
        - catalog:update
      - basic:
        - catalog:update
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    delete:
      tags:
      - Catalog
      operationId: AutomaticLinkQuery_Delete
      parameters:
      - name: ids
        in: query
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:delete
      - api_key:
        - catalog:delete
      - api_key_header:
        - catalog:delete
      - http-signature:
        - catalog:delete
      - basic:
        - catalog:delete
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/automatic-link-queries/{id}:
    get:
      tags:
      - Catalog
      operationId: AutomaticLinkQuery_Get
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: responseGroup
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
            application/json:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
            text/json:
              schema:
                $ref: '#/components/schemas/AutomaticLinkQuery'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:read
      - api_key:
        - catalog:read
      - api_key_header:
        - catalog:read
      - http-signature:
        - catalog:read
      - basic:
        - catalog:read
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/products/associations/{productId}:
    get:
      tags:
      - Catalog
      summary: Returns list of associations for specified product
      description: Returns list of associations for specified product
      operationId: CatalogModuleAssociations_GetProductAssociations
      parameters:
      - name: productId
        in: path
        description: Owner product id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductAssociation'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductAssociation'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductAssociation'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:read
      - api_key:
        - catalog:read
      - api_key_header:
        - catalog:read
      - http-signature:
        - catalog:read
      - basic:
        - catalog:read
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/products/associations/get/multiple:
    post:
      tags:
      - Catalog
      summary: Returns list of associations for specified products
      description: Returns list of associations for specified products
      operationId: CatalogModuleAssociations_GetProductsAssociations
      requestBody:
        description: Array of product ids
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                type: string
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductAssociation'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductAssociation'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductAssociation'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:read
      - api_key:
        - catalog:read
      - api_key_header:
        - catalog:read
      - http-signature:
        - catalog:read
      - basic:
        - catalog:read
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/products/associations:
    post:
      tags:
      - Catalog
      summary: Updates the specified association
      description: Updates the specified association
      operationId: CatalogModuleAssociations_UpdateAssociations
      requestBody:
        description: The association
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ProductAssociation'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ProductAssociation'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ProductAssociation'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:update
      - api_key:
        - catalog:update
      - api_key_header:
        - catalog:update
      - http-signature:
        - catalog:update
      - basic:
        - catalog:update
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    delete:
      tags:
      - Catalog
      summary: Deletes specified associations
      description: Updates the specified association
      operationId: CatalogModuleAssociations_Delete
      parameters:
      - name: ids
        in: query
        description: associations to delete ids
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:delete
      - api_key:
        - catalog:delete
      - api_key_header:
        - catalog:delete
      - http-signature:
        - catalog:delete
      - basic:
        - catalog:delete
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/products/associations/search:
    post:
      tags:
      - Catalog
      summary: Returns associations by search criteria
      description: Returns associations by search criteria
      operationId: CatalogModuleAssociations_Search
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ProductAssociationSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ProductAssociationSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ProductAssociationSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProductAssociationSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/ProductAssociationSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/ProductAssociationSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:read
      - api_key:
        - catalog:read
      - api_key_header:
        - catalog:read
      - http-signature:
        - catalog:read
      - basic:
        - catalog:read
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/products/associations/{id}:
    patch:
      tags:
      - Catalog
      summary: Partial update for the specified association by id
      operationId: CatalogModuleAssociations_PatchAssociation
      parameters:
      - name: id
        in: path
        description: ProductAssociation 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:
        - catalog:update
      - api_key:
        - catalog:update
      - api_key_header:
        - catalog:update
      - http-signature:
        - catalog:update
      - basic:
        - catalog:update
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/brand-settings/store/{storeId}:
    get:
      tags:
      - Catalog
      operationId: CatalogModuleBrandSetting_GetByStoreId
      parameters:
      - name: storeId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/BrandStoreSetting'
            application/json:
              schema:
                $ref: '#/components/schemas/BrandStoreSetting'
            text/json:
              schema:
                $ref: '#/components/schemas/BrandStoreSetting'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:read
      - api_key:
        - catalog:read
      - api_key_header:
        - catalog:read
      - http-signature:
        - catalog:read
      - basic:
        - catalog:read
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/brand-settings:
    put:
      tags:
      - Catalog
      operationId: CatalogModuleBrandSetting_Update
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BrandStoreSetting'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BrandStoreSetting'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BrandStoreSetting'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:update
      - api_key:
        - catalog:update
      - api_key_header:
        - catalog:update
      - http-signature:
        - catalog:update
      - basic:
        - catalog:update
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/catalogs/search:
    post:
      tags:
      - Catalog
      operationId: CatalogModuleCatalogs_SearchCatalogs
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/CatalogSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/CatalogSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/CatalogSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CatalogSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/CatalogSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/CatalogSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/catalogs/{id}:
    get:
      tags:
      - Catalog
      summary: Gets Catalog by id
      description: Gets Catalog by id with full information loaded
      operationId: CatalogModuleCatalogs_GetCatalog
      parameters:
      - name: id
        in: path
        description: The Catalog id.
        required: true
        schema:
          type: string
      - name: responseGroup
        in: query
        description: Response group
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Catalog'
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
            text/json:
              schema:
                $ref: '#/components/schemas/Catalog'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    delete:
      tags:
      - Catalog
      summary: Deletes catalog by id
      description: Deletes catalog by id
      operationId: CatalogModuleCatalogs_DeleteCatalog
      parameters:
      - name: id
        in: path
        description: Catalog id.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:delete
      - api_key:
        - catalog:delete
      - api_key_header:
        - catalog:delete
      - http-signature:
        - catalog:delete
      - basic:
        - catalog:delete
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    patch:
      tags:
      - Catalog
      summary: Partial update for the specified Catalog by id
      operationId: CatalogModuleCatalogs_PatchCatalog
      parameters:
      - name: id
        in: path
        description: Catalog 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.Catalog
  /api/catalog/catalogs/outer/{outerId}:
    get:
      tags:
      - Catalog
      summary: Gets catalog by outer id.
      description: Gets catalog by outer id
      operationId: CatalogModuleCatalogs_GetCatalogByOuterId
      parameters:
      - name: outerId
        in: path
        description: Catalog outer id
        required: true
        schema:
          type: string
      - name: responseGroup
        in: query
        description: Response group
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Catalog'
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
            text/json:
              schema:
                $ref: '#/components/schemas/Catalog'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/catalogs/getnew:
    get:
      tags:
      - Catalog
      summary: Gets the template for a new catalog
      description: Gets the template for a new common catalog
      operationId: CatalogModuleCatalogs_GetNewCatalog
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Catalog'
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
            text/json:
              schema:
                $ref: '#/components/schemas/Catalog'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:create
      - api_key:
        - catalog:create
      - api_key_header:
        - catalog:create
      - http-signature:
        - catalog:create
      - basic:
        - catalog:create
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/catalogs/getnewvirtual:
    get:
      tags:
      - Catalog
      summary: Gets the template for a new virtual catalog
      operationId: CatalogModuleCatalogs_GetNewVirtualCatalog
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Catalog'
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
            text/json:
              schema:
                $ref: '#/components/schemas/Catalog'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:create
      - api_key:
        - catalog:create
      - api_key_header:
        - catalog:create
      - http-signature:
        - catalog:create
      - basic:
        - catalog:create
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/catalogs:
    post:
      tags:
      - Catalog
      summary: Creates the specified catalog
      description: Creates the specified catalog
      operationId: CatalogModuleCatalogs_CreateCatalog
      requestBody:
        description: The catalog to create
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Catalog'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Catalog'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Catalog'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Catalog'
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
            text/json:
              schema:
                $ref: '#/components/schemas/Catalog'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:create
      - api_key:
        - catalog:create
      - api_key_header:
        - catalog:create
      - http-signature:
        - catalog:create
      - basic:
        - catalog:create
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    put:
      tags:
      - Catalog
      summary: Updates the specified catalog
      description: Updates the specified catalog.
      operationId: CatalogModuleCatalogs_UpdateCatalog
      requestBody:
        description: The catalog.
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Catalog'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Catalog'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Catalog'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - catalog:update
      - api_key:
        - catalog:update
      - api_key_header:
        - catalog:update
      - http-signature:
        - catalog:update
      - basic:
        - catalog:update
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/categories/{id}:
    get:
      tags:
      - Catalog
      summary: Gets category by id.
      operationId: CatalogModuleCategories_GetCategory
      parameters:
      - name: id
        in: path
        description: Category id.
        required: true
        schema:
          type: string
      - name: responseGroup
        in: query
        description: Response group
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Category'
            application/json:
              schema:
                $ref: '#/components/schemas/Category'
            text/json:
              schema:
                $ref: '#/components/schemas/Category'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    patch:
      tags:
      - Catalog
      summary: Partial update for the specified Category by id
      operationId: CatalogModuleCategories_PatchCategory
      parameters:
      - name: id
        in: path
        description: Category 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.Catalog
  /api/catalog/categories/outer/{outerId}:
    get:
      tags:
      - Catalog
      summary: Gets category by outer id.
      description: Gets category by outer id (integration key) with full information loaded
      operationId: CatalogModuleCategories_GetCategoryByOuterId
      parameters:
      - name: outerId
        in: path
        description: Category outer id
        required: true
        schema:
          type: string
      - name: responseGroup
        in: query
        description: Response group
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Catalog'
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
            text/json:
              schema:
                $ref: '#/components/schemas/Catalog'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Catalog
  /api/catalog/categories:
    get:
      tags:
      - Catalog
      summary: Gets categories by ids
      operationId: CatalogModuleCategories_GetCategoriesByIdsAsync
      parameters:
      - name: ids
        in: query
        description: Categories ids
        schema:
          type: array
          items:
            type: string
      - name: respGroup
        in: query
        description: Response group.
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Category'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Category'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Category'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    post:
      tags:
      - Catalog
      summary: Creates or updates the specified category.
      description: If category ID does not exist in the database, a new category is created. It's updated otherwise
      operationId: CatalogModuleCategories_CreateOrUpdateCategory
      requestBody:
        description: The category.
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Category'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Category'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Category'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Catalog
    delete:
      tags:
      - Catalog
      summary: Deletes the specified categories by id.
      operationId: CatalogModuleCategories_DeleteCategory
      parameters:
      - name: ids
        in: query
        description: The categories ids.
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
   

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