Procter & Gamble · Capability

Procter & Gamble API Marketplace — Products

Procter & Gamble API Marketplace — Products. 1 operations. Lead operation: List products. Self-contained Naftiko capability covering one Procter And Gamble business surface.

Run with Naftiko Procter And GambleProducts

What You Can Do

GET
Listproducts — List products
/v1/products

MCP Tools

list-products

List products

read-only idempotent

Capability Spec

api-marketplace-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Procter & Gamble API Marketplace — Products
  description: 'Procter & Gamble API Marketplace — Products. 1 operations. Lead operation: List products. Self-contained Naftiko
    capability covering one Procter And Gamble business surface.'
  tags:
  - Procter And Gamble
  - Products
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PROCTER_AND_GAMBLE_API_KEY: PROCTER_AND_GAMBLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: api-marketplace-products
    baseUri: https://developer.pg.com/api
    description: Procter & Gamble API Marketplace — Products business capability. Self-contained, no shared references.
    resources:
    - name: products
      path: /products
      operations:
      - name: listproducts
        method: GET
        description: List products
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: brand
          in: query
          type: string
          description: Filter by brand name.
        - name: category
          in: query
          type: string
          description: Filter by product category.
    authentication:
      type: bearer
      token: '{{env.PROCTER_AND_GAMBLE_API_KEY}}'
  exposes:
  - type: rest
    namespace: api-marketplace-products-rest
    port: 8080
    description: REST adapter for Procter & Gamble API Marketplace — Products. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/products
      name: products
      description: REST surface for products.
      operations:
      - method: GET
        name: listproducts
        description: List products
        call: api-marketplace-products.listproducts
        with:
          brand: rest.brand
          category: rest.category
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: api-marketplace-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for Procter & Gamble API Marketplace — Products. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-products
      description: List products
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-marketplace-products.listproducts
      with:
        brand: tools.brand
        category: tools.category
      outputParameters:
      - type: object
        mapping: $.