VTEX · Capability

VTex Pricing Hub — Pricing Hub Prices

VTex Pricing Hub — Pricing Hub Prices. 2 operations. Lead operation: VTex Retrieve prices. Self-contained Naftiko capability covering one Vtex business surface.

Run with Naftiko VtexPricing Hub Prices

What You Can Do

POST
Post — VTex Retrieve prices
/v1/api/pricing-hub/prices
PUT
Configexternalpricesource — VTex Configure external price source
/v1/api/pricing-hub/prices/config

MCP Tools

vtex-retrieve-prices

VTex Retrieve prices

read-only
vtex-configure-external-price-source

VTex Configure external price source

idempotent

Capability Spec

pricing-hub-pricing-hub-prices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VTex Pricing Hub — Pricing Hub Prices
  description: 'VTex Pricing Hub — Pricing Hub Prices. 2 operations. Lead operation: VTex Retrieve prices. Self-contained
    Naftiko capability covering one Vtex business surface.'
  tags:
  - Vtex
  - Pricing Hub Prices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VTEX_API_KEY: VTEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: pricing-hub-pricing-hub-prices
    baseUri: https://prchub.{environment}.com.br
    description: VTex Pricing Hub — Pricing Hub Prices business capability. Self-contained, no shared references.
    resources:
    - name: api-pricing-hub-prices
      path: /api/pricing-hub/prices
      operations:
      - name: post
        method: POST
        description: VTex Retrieve prices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: an
          in: query
          type: string
          description: Name of the VTEX account. Used as part of the URL.
          required: true
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-pricing-hub-prices-config
      path: /api/pricing-hub/prices/config
      operations:
      - name: configexternalpricesource
        method: PUT
        description: VTex Configure external price source
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: an
          in: query
          type: string
          description: Name of the VTEX account.
        - name: Accept
          in: header
          type: string
          description: HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
          required: true
        - name: Content-Type
          in: header
          type: string
          description: Describes the type of the content being sent.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-VTEX-API-AppKey
      value: '{{env.VTEX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: pricing-hub-pricing-hub-prices-rest
    port: 8080
    description: REST adapter for VTex Pricing Hub — Pricing Hub Prices. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/pricing-hub/prices
      name: api-pricing-hub-prices
      description: REST surface for api-pricing-hub-prices.
      operations:
      - method: POST
        name: post
        description: VTex Retrieve prices
        call: pricing-hub-pricing-hub-prices.post
        with:
          an: rest.an
          Accept: rest.Accept
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/pricing-hub/prices/config
      name: api-pricing-hub-prices-config
      description: REST surface for api-pricing-hub-prices-config.
      operations:
      - method: PUT
        name: configexternalpricesource
        description: VTex Configure external price source
        call: pricing-hub-pricing-hub-prices.configexternalpricesource
        with:
          an: rest.an
          Accept: rest.Accept
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pricing-hub-pricing-hub-prices-mcp
    port: 9090
    transport: http
    description: MCP adapter for VTex Pricing Hub — Pricing Hub Prices. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: vtex-retrieve-prices
      description: VTex Retrieve prices
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: pricing-hub-pricing-hub-prices.post
      with:
        an: tools.an
        Accept: tools.Accept
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-configure-external-price-source
      description: VTex Configure external price source
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: pricing-hub-pricing-hub-prices.configexternalpricesource
      with:
        an: tools.an
        Accept: tools.Accept
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.