VTEX · Capability

VTex Pick and Pack Last Mile Protocol API — Carriers

VTex Pick and Pack Last Mile Protocol API — Carriers. 2 operations. Lead operation: VTex List carriers. Self-contained Naftiko capability covering one Vtex business surface.

Run with Naftiko VtexCarriers

What You Can Do

POST
Createservice — VTex List carriers
/v1/list-carriers
POST
Createservice — VTex Calculate rates
/v1/rates

MCP Tools

vtex-list-carriers

VTex List carriers

read-only
vtex-calculate-rates

VTex Calculate rates

Capability Spec

pick-pack-last-mile-protocol-carriers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VTex Pick and Pack Last Mile Protocol API — Carriers
  description: 'VTex Pick and Pack Last Mile Protocol API — Carriers. 2 operations. Lead operation: VTex List carriers. Self-contained
    Naftiko capability covering one Vtex business surface.'
  tags:
  - Vtex
  - Carriers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VTEX_API_KEY: VTEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: pick-pack-last-mile-protocol-carriers
    baseUri: https://auth.pickingnpacking.com/{environment}
    description: VTex Pick and Pack Last Mile Protocol API — Carriers business capability. Self-contained, no shared references.
    resources:
    - name: list-carriers
      path: /list-carriers
      operations:
      - name: createservice
        method: POST
        description: VTex List carriers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: rates
      path: /rates
      operations:
      - name: createservice
        method: POST
        description: VTex Calculate rates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: pick-pack-last-mile-protocol-carriers-rest
    port: 8080
    description: REST adapter for VTex Pick and Pack Last Mile Protocol API — Carriers. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/list-carriers
      name: list-carriers
      description: REST surface for list-carriers.
      operations:
      - method: POST
        name: createservice
        description: VTex List carriers
        call: pick-pack-last-mile-protocol-carriers.createservice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/rates
      name: rates
      description: REST surface for rates.
      operations:
      - method: POST
        name: createservice
        description: VTex Calculate rates
        call: pick-pack-last-mile-protocol-carriers.createservice
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pick-pack-last-mile-protocol-carriers-mcp
    port: 9090
    transport: http
    description: MCP adapter for VTex Pick and Pack Last Mile Protocol API — Carriers. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: vtex-list-carriers
      description: VTex List carriers
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: pick-pack-last-mile-protocol-carriers.createservice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vtex-calculate-rates
      description: VTex Calculate rates
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pick-pack-last-mile-protocol-carriers.createservice
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.