Virto Commerce Pricing API

Robust pricing management functionality based on price list and dynamic evaluation

OpenAPI Specification

virto-commerce-pricing-api-openapi.yml Raw ↑
openapi: 3.0.4
info:
  title: VirtoCommerce.Cart Catalog Pricing API
  version: v1
  description: Easily manage your products, categories, variations, and properties
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:
        - pricing:read
      - api_key_header:
        - pricing:read
      - http-signature:
        - pricing:read
      - basic:
        - pri

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