Virto Commerce Pricing API

Robust pricing management functionality based on price list and dynamic evaluation

Operations 32

POST /api/pricing/evaluate Evaluate prices by given context #
POST /api/pricing/pricelists/evaluate Evaluate pricelists by given context #
GET /api/pricing/assignments/{id} Get pricelist assignment #
PATCH /api/pricing/assignments/{id} Partial update for the specified pricelist assignment by id #
GET /api/pricing/assignments/outer/{outerId} Get pricelist assignment by outer id #
GET /api/pricing/assignments/new Get a new pricelist assignment #
GET /api/pricing/pricelists Get pricelists #
POST /api/pricing/pricelists Create pricelist #
PUT /api/pricing/pricelists Update pricelist #
DELETE /api/pricing/pricelists Delete pricelists #
GET /api/pricing/assignments Search pricelist assignments #
POST /api/pricing/assignments Create pricelist assignment #
PUT /api/pricing/assignments Update pricelist assignment #
DELETE /api/pricing/assignments Delete pricelist assignments #
GET /api/catalog/products/prices/search Search product prices #
POST /api/catalog/products/prices/search Search product prices #
GET /api/products/{productId}/prices Evaluate product prices #
PUT /api/products/{productId}/prices Update product prices #
GET /api/products/{productId}/{catalogId}/pricesWidget Evaluate product prices for demand catalog #
PUT /api/products/prices Update product prices #
GET /api/catalog/products/{productId}/pricelists Get all price lists for product #
GET /api/pricing/pricelists/{id} Get pricelist #
PATCH /api/pricing/pricelists/{id} Partial update for the specified Pricelist by id #
GET /api/pricing/pricelists/outer/{outerId} Get pricelist by outer id #
GET /api/pricing/pricelistsshort/{id} Get pricelist in short mode (without assignments to avoid redundant assignments read) #
GET /api/pricing/pricelistsshort/outer/{outerId} Get pricelist by outer id in short mode (without assignments) #
DELETE /api/pricing/filteredAssignments Delete pricelist assignments #
DELETE /api/pricing/pricelists/{pricelistId}/products/prices Delete all prices for specified product in specified price list #
DELETE /api/pricing/products/prices Delete price by ids #
POST /api/pricing/mergedpricegroups Merge base and priority price list and returns MergedPriceGroup. #
POST /api/pricing/mergedprices Merge base and priority price list and returns MergedPrice. #
PATCH /api/products/prices/{id} Partial update for the specified ProductPrice by id #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/virto-commerce-pricing-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-pricing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VirtoCommerce.Cart Catalog Pricing 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: Pricing
  description: Robust pricing management functionality based on price list and dynamic evaluation
paths:
  /api/pricing/evaluate:
    post:
      tags:
      - Pricing
      summary: Evaluate prices by given context
      operationId: PricingModule_EvaluatePrices
      requestBody:
        description: Pricing evaluation context
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PriceEvaluationContext'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PriceEvaluationContext'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PriceEvaluationContext'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/pricing/pricelists/evaluate:
    post:
      tags:
      - Pricing
      summary: Evaluate pricelists by given context
      operationId: PricingModule_EvaluatePriceLists
      requestBody:
        description: Pricing evaluation context
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PriceEvaluationContext'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PriceEvaluationContext'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PriceEvaluationContext'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Pricelist'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Pricelist'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Pricelist'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/pricing/assignments/{id}:
    get:
      tags:
      - Pricing
      summary: Get pricelist assignment
      operationId: PricingModule_GetPricelistAssignmentById
      parameters:
      - name: id
        in: path
        description: Pricelist assignment id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
            application/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
            text/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    patch:
      tags:
      - Pricing
      summary: Partial update for the specified pricelist assignment by id
      operationId: PricingModule_PatchPriceListAssignment
      parameters:
      - name: id
        in: path
        description: PricelistAssignment 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:
        - pricing:read
        - pricing:update
      - api_key:
        - pricing:read
        - pricing:update
      - api_key_header:
        - pricing:read
        - pricing:update
      - http-signature:
        - pricing:read
        - pricing:update
      - basic:
        - pricing:read
        - pricing:update
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/pricing/assignments/outer/{outerId}:
    get:
      tags:
      - Pricing
      summary: Get pricelist assignment by outer id
      operationId: PricingModule_GetPricelistAssignmentByOuterId
      parameters:
      - name: outerId
        in: path
        description: Pricelist assignment outer id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
            application/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
            text/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/pricing/assignments/new:
    get:
      tags:
      - Pricing
      summary: Get a new pricelist assignment
      description: Get a new pricelist assignment object. Create new pricelist assignment, but does not save one.
      operationId: PricingModule_GetNewPricelistAssignments
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
            application/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
            text/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/pricing/pricelists:
    get:
      tags:
      - Pricing
      summary: Get pricelists
      description: Get all pricelists for all catalogs.
      operationId: PricingModule_SearchPricelists
      parameters:
      - name: Currencies
        in: query
        schema:
          type: array
          items:
            type: string
      - name: ResponseGroup
        in: query
        schema:
          type: string
      - name: ObjectType
        in: query
        schema:
          type: string
      - name: ObjectTypes
        in: query
        schema:
          type: array
          items:
            type: string
      - name: ObjectIds
        in: query
        schema:
          type: array
          items:
            type: string
      - name: Keyword
        in: query
        schema:
          type: string
      - name: SearchPhrase
        in: query
        schema:
          type: string
      - name: LanguageCode
        in: query
        schema:
          type: string
      - name: Sort
        in: query
        schema:
          type: string
      - name: SortInfos
        in: query
        schema:
          type: array
          items:
            $ref: '#/components/schemas/SortInfo'
      - name: Skip
        in: query
        schema:
          type: integer
          format: int32
      - name: Take
        in: query
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PricelistSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/PricelistSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/PricelistSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    post:
      tags:
      - Pricing
      summary: Create pricelist
      operationId: PricingModule_CreatePriceList
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Pricelist'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Pricelist'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Pricelist'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Pricelist'
            application/json:
              schema:
                $ref: '#/components/schemas/Pricelist'
            text/json:
              schema:
                $ref: '#/components/schemas/Pricelist'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
        - pricing:create
      - api_key:
        - pricing:read
        - pricing:create
      - api_key_header:
        - pricing:read
        - pricing:create
      - http-signature:
        - pricing:read
        - pricing:create
      - basic:
        - pricing:read
        - pricing:create
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    put:
      tags:
      - Pricing
      summary: Update pricelist
      operationId: PricingModule_UpdatePriceList
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Pricelist'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Pricelist'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Pricelist'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
        - pricing:update
      - api_key:
        - pricing:read
        - pricing:update
      - api_key_header:
        - pricing:read
        - pricing:update
      - http-signature:
        - pricing:read
        - pricing:update
      - basic:
        - pricing:read
        - pricing:update
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    delete:
      tags:
      - Pricing
      summary: Delete pricelists
      description: Delete pricelists by given array of pricelist ids.
      operationId: PricingModule_DeletePricelists
      parameters:
      - name: ids
        in: query
        description: An array of pricelist ids
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
        - pricing:delete
      - api_key:
        - pricing:read
        - pricing:delete
      - api_key_header:
        - pricing:read
        - pricing:delete
      - http-signature:
        - pricing:read
        - pricing:delete
      - basic:
        - pricing:read
        - pricing:delete
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/pricing/assignments:
    get:
      tags:
      - Pricing
      summary: Search pricelist assignments
      description: Search price list assignments by given criteria
      operationId: PricingModule_SearchPricelistAssignments
      parameters:
      - name: PriceListId
        in: query
        schema:
          type: string
      - name: CatalogIds
        in: query
        schema:
          type: array
          items:
            type: string
      - name: StoreIds
        in: query
        schema:
          type: array
          items:
            type: string
      - name: PriceListIds
        in: query
        schema:
          type: array
          items:
            type: string
      - name: ResponseGroup
        in: query
        schema:
          type: string
      - name: ObjectType
        in: query
        schema:
          type: string
      - name: ObjectTypes
        in: query
        schema:
          type: array
          items:
            type: string
      - name: ObjectIds
        in: query
        schema:
          type: array
          items:
            type: string
      - name: Keyword
        in: query
        schema:
          type: string
      - name: SearchPhrase
        in: query
        schema:
          type: string
      - name: LanguageCode
        in: query
        schema:
          type: string
      - name: Sort
        in: query
        schema:
          type: string
      - name: SortInfos
        in: query
        schema:
          type: array
          items:
            $ref: '#/components/schemas/SortInfo'
      - name: Skip
        in: query
        schema:
          type: integer
          format: int32
      - name: Take
        in: query
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PricelistAssignmentSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignmentSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignmentSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    post:
      tags:
      - Pricing
      summary: Create pricelist assignment
      operationId: PricingModule_CreatePricelistAssignment
      requestBody:
        description: PricelistAssignment
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricelistAssignment'
              description: Used to assign pricelist to specific catalog by using conditional expression
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricelistAssignment'
              description: Used to assign pricelist to specific catalog by using conditional expression
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricelistAssignment'
              description: Used to assign pricelist to specific catalog by using conditional expression
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
            application/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
            text/json:
              schema:
                $ref: '#/components/schemas/PricelistAssignment'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
        - pricing:create
      - api_key:
        - pricing:read
        - pricing:create
      - api_key_header:
        - pricing:read
        - pricing:create
      - http-signature:
        - pricing:read
        - pricing:create
      - basic:
        - pricing:read
        - pricing:create
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    put:
      tags:
      - Pricing
      summary: Update pricelist assignment
      operationId: PricingModule_UpdatePriceListAssignment
      requestBody:
        description: PricelistAssignment
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricelistAssignment'
              description: Used to assign pricelist to specific catalog by using conditional expression
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricelistAssignment'
              description: Used to assign pricelist to specific catalog by using conditional expression
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricelistAssignment'
              description: Used to assign pricelist to specific catalog by using conditional expression
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
        - pricing:update
      - api_key:
        - pricing:read
        - pricing:update
      - api_key_header:
        - pricing:read
        - pricing:update
      - http-signature:
        - pricing:read
        - pricing:update
      - basic:
        - pricing:read
        - pricing:update
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    delete:
      tags:
      - Pricing
      summary: Delete pricelist assignments
      description: Delete pricelist assignment by given array of ids.
      operationId: PricingModule_DeleteAssignments
      parameters:
      - name: ids
        in: query
        description: An array of pricelist assignment ids
        schema:
          type: array
          items:
            type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
        - pricing:delete
      - api_key:
        - pricing:read
        - pricing:delete
      - api_key_header:
        - pricing:read
        - pricing:delete
      - http-signature:
        - pricing:read
        - pricing:delete
      - basic:
        - pricing:read
        - pricing:delete
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/catalog/products/prices/search:
    get:
      tags:
      - Pricing
      summary: Search product prices
      description: Search product prices
      operationId: PricingModule_SearchProductPricesGet
      parameters:
      - name: GroupByProducts
        in: query
        schema:
          type: boolean
      - name: PriceListId
        in: query
        schema:
          type: string
      - name: PriceListIds
        in: query
        schema:
          type: array
          items:
            type: string
      - name: ProductId
        in: query
        schema:
          type: string
      - name: ProductIds
        in: query
        schema:
          type: array
          items:
            type: string
      - name: ModifiedSince
        in: query
        schema:
          type: string
          format: date-time
      - name: ResponseGroup
        in: query
        schema:
          type: string
      - name: ObjectType
        in: query
        schema:
          type: string
      - name: ObjectTypes
        in: query
        schema:
          type: array
          items:
            type: string
      - name: ObjectIds
        in: query
        schema:
          type: array
          items:
            type: string
      - name: Keyword
        in: query
        schema:
          type: string
      - name: SearchPhrase
        in: query
        schema:
          type: string
      - name: LanguageCode
        in: query
        schema:
          type: string
      - name: Sort
        in: query
        schema:
          type: string
      - name: SortInfos
        in: query
        schema:
          type: array
          items:
            $ref: '#/components/schemas/SortInfo'
      - name: Skip
        in: query
        schema:
          type: integer
          format: int32
      - name: Take
        in: query
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProductPriceSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/ProductPriceSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/ProductPriceSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    post:
      tags:
      - Pricing
      summary: Search product prices
      description: Search product prices
      operationId: PricingModule_SearchProductPricesPost
      requestBody:
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricesSearchCriteria'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricesSearchCriteria'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PricesSearchCriteria'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProductPriceSearchResult'
            application/json:
              schema:
                $ref: '#/components/schemas/ProductPriceSearchResult'
            text/json:
              schema:
                $ref: '#/components/schemas/ProductPriceSearchResult'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/products/{productId}/prices:
    get:
      tags:
      - Pricing
      summary: Evaluate  product prices
      description: Get an array of valid product prices for each currency.
      operationId: PricingModule_EvaluateProductPrices
      parameters:
      - name: productId
        in: path
        description: Product id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
    put:
      tags:
      - Pricing
      summary: Update product prices
      operationId: PricingModule_UpdateProductPrices
      parameters:
      - name: productId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        description: ProductPrice
        content:
          application/json-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ProductPrice'
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ProductPrice'
          text/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ProductPrice'
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
        - pricing:update
      - api_key:
        - pricing:read
        - pricing:update
      - api_key_header:
        - pricing:read
        - pricing:update
      - http-signature:
        - pricing:read
        - pricing:update
      - basic:
        - pricing:read
        - pricing:update
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/products/{productId}/{catalogId}/pricesWidget:
    get:
      tags:
      - Pricing
      summary: Evaluate product prices for demand catalog
      description: Get an array of valid product prices for each currency.
      operationId: PricingModule_EvaluateProductPricesForCatalog
      parameters:
      - name: productId
        in: path
        description: Product id
        required: true
        schema:
          type: string
      - name: catalogId
        in: path
        description: Catalog id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Price'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/products/prices:
    put:
      tags:
      - Pricing
      summary: Update product prices
      operationId: PricingModule_UpdateProductsPrices
      requestBody:
        description: List of ProductPrice
        content:
          application/json-patch+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ProductPrice'
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ProductPrice'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ProductPrice'
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
        - pricing:update
      - api_key:
        - pricing:read
        - pricing:update
      - api_key_header:
        - pricing:read
        - pricing:update
      - http-signature:
        - pricing:read
        - pricing:update
      - basic:
        - pricing:read
        - pricing:update
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/catalog/products/{productId}/pricelists:
    get:
      tags:
      - Pricing
      summary: Get all price lists for product
      description: Get all price lists for given product.
      operationId: PricingModule_GetProductPriceLists
      parameters:
      - name: productId
        in: path
        description: Product id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Pricelist'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Pricelist'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Pricelist'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pricing:read
      x-virtocommerce-module-id: VirtoCommerce.Pricing
  /api/pricing/pricelists/{id}:
    get:
      tags:
      - Pricing
      summary: Get pricelist
      operationId: PricingModule_GetPriceListById
      parameters:
      - name: id
        in: path
        description: Pricelist id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Pricelist'
            application/json:
              schema:
                $ref: '#/components/schemas/Pricelist'
            text/json:
              schema:
                $ref: '#/components/schemas/Pricelist'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - pricing:read
      - api_key:
       

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