Virto Commerce Marketing API

Marketing system with dynamic contents and promotions management

Operations 35

POST /api/marketing/contentplaces/listentries/search Search content places list entries by given criteria #
POST /api/marketing/contentplaces/search Search dynamic content places by given criteria #
POST /api/marketing/contentitems/listentries/search Search content places list entries by given criteria #
POST /api/marketing/contentitems/search Search dynamic content items by given criteria #
POST /api/marketing/contentpublications/search Search dynamic content items by given criteria #
POST /api/marketing/contentitems/evaluate Get dynamic content for given placeholders #
GET /api/marketing/contentitems/{id} Find dynamic content item object by id #
POST /api/marketing/contentitems Add new dynamic content item object to marketing system #
PUT /api/marketing/contentitems Update an existing dynamic content item object #
DELETE /api/marketing/contentitems Delete a dynamic content item objects #
GET /api/marketing/contentplaces/{id} Find dynamic content place object by id #
POST /api/marketing/contentplaces Add new dynamic content place object to marketing system #
PUT /api/marketing/contentplaces Update a existing dynamic content place object #
DELETE /api/marketing/contentplaces Delete a dynamic content place objects #
GET /api/marketing/contentpublications/new Get new dynamic content publication object #
GET /api/marketing/contentpublications/{id} Find dynamic content publication object by id #
POST /api/marketing/contentpublications Add new dynamic content publication object to marketing system #
PUT /api/marketing/contentpublications Update an existing dynamic content publication object #
DELETE /api/marketing/contentpublications Delete a dynamic content publication objects #
GET /api/marketing/contentfolders/{id} Find dynamic content folder by id #
POST /api/marketing/contentfolders Add new dynamic content folder #
PUT /api/marketing/contentfolders Update an existing dynamic content folder #
DELETE /api/marketing/contentfolders Delete a dynamic content folders #
POST /api/marketing/promotions/search Search dynamic content places by given criteria #
POST /api/marketing/promotions/evaluate Evaluate promotions #
GET /api/marketing/promotions/{id} Find promotion object by id #
GET /api/marketing/promotions/new Get new dynamic promotion object #
POST /api/marketing/promotions Add new dynamic promotion object to marketing system #
PUT /api/marketing/promotions Update an existing dynamic promotion object in marketing system #
DELETE /api/marketing/promotions Delete promotions objects #
POST /api/marketing/promotions/coupons/search #
GET /api/marketing/promotions/coupons/{id} #
POST /api/marketing/promotions/coupons/add #
DELETE /api/marketing/promotions/coupons/delete #
POST /api/marketing/promotions/coupons/import #

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-marketing-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-marketing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VirtoCommerce.Cart Catalog Marketing 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: Marketing
  description: Marketing system with dynamic contents and promotions management
paths:
  /api/marketing/contentplaces/listentries/search:
    post:
      tags:
      - Marketing
      summary: Search content places list entries by given criteria
      operationId: MarketingModuleDynamicContent_DynamicContentPlaceListEntriesSearch
      requestBody:
        description: criteria
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlaceSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlaceSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlaceSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentListEntrySearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentListEntrySearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentListEntrySearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentplaces/search:
    post:
      tags:
      - Marketing
      summary: Search dynamic content places by given criteria
      operationId: MarketingModuleDynamicContent_DynamicContentPlacesSearch
      requestBody:
        description: criteria
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlaceSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlaceSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlaceSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentPlaceSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPlaceSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPlaceSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentitems/listentries/search:
    post:
      tags:
      - Marketing
      summary: Search content places list entries by given criteria
      operationId: MarketingModuleDynamicContent_DynamicContentItemsEntriesSearch
      requestBody:
        description: criteria
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItemSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItemSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItemSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentListEntrySearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentListEntrySearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentListEntrySearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentitems/search:
    post:
      tags:
      - Marketing
      summary: Search dynamic content items by given criteria
      operationId: MarketingModuleDynamicContent_DynamicContentItemsSearch
      requestBody:
        description: criteria
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItemSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItemSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItemSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentItemSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentItemSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentItemSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentpublications/search:
    post:
      tags:
      - Marketing
      summary: Search dynamic content items by given criteria
      operationId: MarketingModuleDynamicContent_DynamicContentPublicationsSearch
      requestBody:
        description: criteria
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublicationSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublicationSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublicationSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentPublicationSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPublicationSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPublicationSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentitems/evaluate:
    post:
      tags:
      - Marketing
      summary: Get dynamic content for given placeholders
      operationId: MarketingModuleDynamicContent_EvaluateDynamicContent
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentEvaluationContext'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentEvaluationContext'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentEvaluationContext'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DynamicContentItem'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DynamicContentItem'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DynamicContentItem'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentitems/{id}:
    get:
      tags:
      - Marketing
      summary: Find dynamic content item object by id
      description: Return a single dynamic content item object
      operationId: MarketingModuleDynamicContent_GetDynamicContentById
      parameters:
      - name: id
        in: path
        description: content item id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentItem'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentItem'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentItem'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentitems:
    post:
      tags:
      - Marketing
      summary: Add new dynamic content item object to marketing system
      operationId: MarketingModuleDynamicContent_CreateDynamicContent
      requestBody:
        description: dynamic content object that needs to be added to the dynamic content system
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItem'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItem'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItem'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentItem'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentItem'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentItem'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:create
      - api_key:
        - marketing:create
      - api_key_header:
        - marketing:create
      - http-signature:
        - marketing:create
      - basic:
        - marketing:create
      x-virtocommerce-module-id: VirtoCommerce.Marketing
    put:
      tags:
      - Marketing
      summary: Update an existing dynamic content item object
      operationId: MarketingModuleDynamicContent_UpdateDynamicContent
      requestBody:
        description: dynamic content object that needs to be updated in the dynamic content system
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItem'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItem'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentItem'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:update
      - api_key:
        - marketing:update
      - api_key_header:
        - marketing:update
      - http-signature:
        - marketing:update
      - basic:
        - marketing:update
      x-virtocommerce-module-id: VirtoCommerce.Marketing
    delete:
      tags:
      - Marketing
      summary: Delete a dynamic content item objects
      operationId: MarketingModuleDynamicContent_DeleteDynamicContents
      parameters:
      - name: ids
        in: query
        description: content item object ids for delete in the dynamic content system
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:delete
      - api_key:
        - marketing:delete
      - api_key_header:
        - marketing:delete
      - http-signature:
        - marketing:delete
      - basic:
        - marketing:delete
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentplaces/{id}:
    get:
      tags:
      - Marketing
      summary: Find dynamic content place object by id
      description: Return a single dynamic content place object
      operationId: MarketingModuleDynamicContent_GetDynamicContentPlaceById
      parameters:
      - name: id
        in: path
        description: place id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentPlace'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPlace'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPlace'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentplaces:
    post:
      tags:
      - Marketing
      summary: Add new dynamic content place object to marketing system
      operationId: MarketingModuleDynamicContent_CreateDynamicContentPlace
      requestBody:
        description: dynamic content place object that needs to be added to the dynamic content system
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlace'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlace'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlace'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentPlace'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPlace'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPlace'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:create
      - api_key:
        - marketing:create
      - api_key_header:
        - marketing:create
      - http-signature:
        - marketing:create
      - basic:
        - marketing:create
      x-virtocommerce-module-id: VirtoCommerce.Marketing
    put:
      tags:
      - Marketing
      summary: Update a existing dynamic content place object
      operationId: MarketingModuleDynamicContent_UpdateDynamicContentPlace
      requestBody:
        description: dynamic content place object that needs to be updated in the dynamic content system
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlace'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlace'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPlace'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:update
      - api_key:
        - marketing:update
      - api_key_header:
        - marketing:update
      - http-signature:
        - marketing:update
      - basic:
        - marketing:update
      x-virtocommerce-module-id: VirtoCommerce.Marketing
    delete:
      tags:
      - Marketing
      summary: Delete a dynamic content place objects
      operationId: MarketingModuleDynamicContent_DeleteDynamicContentPlaces
      parameters:
      - name: ids
        in: query
        description: content place object ids for delete from dynamic content system
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:delete
      - api_key:
        - marketing:delete
      - api_key_header:
        - marketing:delete
      - http-signature:
        - marketing:delete
      - basic:
        - marketing:delete
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentpublications/new:
    get:
      tags:
      - Marketing
      summary: Get new dynamic content publication object
      operationId: MarketingModuleDynamicContent_GetNewDynamicPublication
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:create
      - api_key:
        - marketing:create
      - api_key_header:
        - marketing:create
      - http-signature:
        - marketing:create
      - basic:
        - marketing:create
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentpublications/{id}:
    get:
      tags:
      - Marketing
      summary: Find dynamic content publication object by id
      description: Return a single dynamic content publication object
      operationId: MarketingModuleDynamicContent_GetDynamicContentPublicationById
      parameters:
      - name: id
        in: path
        description: publication id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentpublications:
    post:
      tags:
      - Marketing
      summary: Add new dynamic content publication object to marketing system
      operationId: MarketingModuleDynamicContent_CreateDynamicContentPublication
      requestBody:
        description: dynamic content publication object that needs to be added to the dynamic content system
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublication'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublication'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublication'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentPublication'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:create
      - api_key:
        - marketing:create
      - api_key_header:
        - marketing:create
      - http-signature:
        - marketing:create
      - basic:
        - marketing:create
      x-virtocommerce-module-id: VirtoCommerce.Marketing
    put:
      tags:
      - Marketing
      summary: Update an existing dynamic content publication object
      operationId: MarketingModuleDynamicContent_UpdateDynamicContentPublication
      requestBody:
        description: dynamic content publication object that needs to be updated in the dynamic content system
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublication'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublication'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentPublication'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:update
      - api_key:
        - marketing:update
      - api_key_header:
        - marketing:update
      - http-signature:
        - marketing:update
      - basic:
        - marketing:update
      x-virtocommerce-module-id: VirtoCommerce.Marketing
    delete:
      tags:
      - Marketing
      summary: Delete a dynamic content publication objects
      operationId: MarketingModuleDynamicContent_DeleteDynamicContentPublications
      parameters:
      - name: ids
        in: query
        description: content publication object ids for delete from dynamic content system
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:delete
      - api_key:
        - marketing:delete
      - api_key_header:
        - marketing:delete
      - http-signature:
        - marketing:delete
      - basic:
        - marketing:delete
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentfolders/{id}:
    get:
      tags:
      - Marketing
      summary: Find dynamic content folder by id
      description: Return a single dynamic content folder
      operationId: MarketingModuleDynamicContent_GetDynamicContentFolderById
      parameters:
      - name: id
        in: path
        description: folder id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentFolder'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentFolder'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentFolder'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:read
      - api_key:
        - marketing:read
      - api_key_header:
        - marketing:read
      - http-signature:
        - marketing:read
      - basic:
        - marketing:read
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/contentfolders:
    post:
      tags:
      - Marketing
      summary: Add new dynamic content folder
      operationId: MarketingModuleDynamicContent_CreateDynamicContentFolder
      requestBody:
        description: dynamic content folder that needs to be added
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentFolder'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentFolder'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentFolder'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DynamicContentFolder'
            application/json:
              schema:
                $ref: '#/components/schemas/DynamicContentFolder'
            text/json:
              schema:
                $ref: '#/components/schemas/DynamicContentFolder'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:create
      - api_key:
        - marketing:create
      - api_key_header:
        - marketing:create
      - http-signature:
        - marketing:create
      - basic:
        - marketing:create
      x-virtocommerce-module-id: VirtoCommerce.Marketing
    put:
      tags:
      - Marketing
      summary: Update an existing dynamic content folder
      operationId: MarketingModuleDynamicContent_UpdateDynamicContentFolder
      requestBody:
        description: dynamic content folder that needs to be updated
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentFolder'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentFolder'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DynamicContentFolder'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:update
      - api_key:
        - marketing:update
      - api_key_header:
        - marketing:update
      - http-signature:
        - marketing:update
      - basic:
        - marketing:update
      x-virtocommerce-module-id: VirtoCommerce.Marketing
    delete:
      tags:
      - Marketing
      summary: Delete a dynamic content folders
      operationId: MarketingModuleDynamicContent_DeleteDynamicContentFolders
      parameters:
      - name: ids
        in: query
        description: folders ids for delete
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - marketing:delete
      - api_key:
        - marketing:delete
      - api_key_header:
        - marketing:delete
      - http-signature:
        - marketing:delete
      - basic:
        - marketing:delete
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/promotions/search:
    post:
      tags:
      - Marketing
      summary: Search dynamic content places by given criteria
      operationId: MarketingModulePromotion_PromotionsSearch
      requestBody:
        description: criteria
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PromotionSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PromotionSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PromotionSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PromotionSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/PromotionSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/PromotionSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2: []
      - api_key: []
      - api_key_header: []
      - http-signature: []
      - basic: []
      x-virtocommerce-module-id: VirtoCommerce.Marketing
  /api/marketing/promotions/evaluate:
    post:
      tags:
      - Marketing
      summary: Evaluate promotions
      operationId: MarketingModulePromotion_EvaluatePromotions
      requestBody:
        description: Promotion evaluation context
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PromotionEvaluationContext'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PromotionEvaluationContext'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PromotionEvaluationContext'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
     

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