Google Content API for Shopping — Products

Google Content API for Shopping — Products. 4 operations. Lead operation: Google Content API for Shopping List Products. Self-contained Naftiko capability covering one Google Shopping business surface.

Run with Naftiko Google ShoppingProducts

What You Can Do

GET
Listproducts — Google Content API for Shopping List Products
/v1/{merchantid}/products
POST
Insertproduct — Google Content API for Shopping Insert Product
/v1/{merchantid}/products
GET
Getproduct — Google Content API for Shopping Get Product
/v1/{merchantid}/products/{productid}
DELETE
Deleteproduct — Google Content API for Shopping Delete Product
/v1/{merchantid}/products/{productid}

MCP Tools

google-content-api-shopping-list

Google Content API for Shopping List Products

read-only idempotent
google-content-api-shopping-insert

Google Content API for Shopping Insert Product

google-content-api-shopping-get

Google Content API for Shopping Get Product

read-only idempotent
google-content-api-shopping-delete

Google Content API for Shopping Delete Product

idempotent

Capability Spec

openapi-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Content API for Shopping — Products
  description: 'Google Content API for Shopping — Products. 4 operations. Lead operation: Google Content API for Shopping
    List Products. Self-contained Naftiko capability covering one Google Shopping business surface.'
  tags:
  - Google Shopping
  - Products
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_SHOPPING_API_KEY: GOOGLE_SHOPPING_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-products
    baseUri: https://shoppingcontent.googleapis.com/content/v2.1
    description: Google Content API for Shopping — Products business capability. Self-contained, no shared references.
    resources:
    - name: merchantId-products
      path: /{merchantId}/products
      operations:
      - name: listproducts
        method: GET
        description: Google Content API for Shopping List Products
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: merchantId
          in: path
          type: string
          description: The ID of the merchant account.
          required: true
        - name: maxResults
          in: query
          type: integer
          description: Maximum number of products to return.
        - name: pageToken
          in: query
          type: string
          description: Token for pagination.
      - name: insertproduct
        method: POST
        description: Google Content API for Shopping Insert Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: merchantId
          in: path
          type: string
          description: The ID of the merchant account.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: merchantId-products-productId
      path: /{merchantId}/products/{productId}
      operations:
      - name: getproduct
        method: GET
        description: Google Content API for Shopping Get Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: merchantId
          in: path
          type: string
          required: true
        - name: productId
          in: path
          type: string
          required: true
      - name: deleteproduct
        method: DELETE
        description: Google Content API for Shopping Delete Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: merchantId
          in: path
          type: string
          required: true
        - name: productId
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: openapi-products-rest
    port: 8080
    description: REST adapter for Google Content API for Shopping — Products. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/{merchantid}/products
      name: merchantid-products
      description: REST surface for merchantId-products.
      operations:
      - method: GET
        name: listproducts
        description: Google Content API for Shopping List Products
        call: openapi-products.listproducts
        with:
          merchantId: rest.merchantId
          maxResults: rest.maxResults
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: insertproduct
        description: Google Content API for Shopping Insert Product
        call: openapi-products.insertproduct
        with:
          merchantId: rest.merchantId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/{merchantid}/products/{productid}
      name: merchantid-products-productid
      description: REST surface for merchantId-products-productId.
      operations:
      - method: GET
        name: getproduct
        description: Google Content API for Shopping Get Product
        call: openapi-products.getproduct
        with:
          merchantId: rest.merchantId
          productId: rest.productId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproduct
        description: Google Content API for Shopping Delete Product
        call: openapi-products.deleteproduct
        with:
          merchantId: rest.merchantId
          productId: rest.productId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Content API for Shopping — Products. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: google-content-api-shopping-list
      description: Google Content API for Shopping List Products
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openapi-products.listproducts
      with:
        merchantId: tools.merchantId
        maxResults: tools.maxResults
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: google-content-api-shopping-insert
      description: Google Content API for Shopping Insert Product
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-products.insertproduct
      with:
        merchantId: tools.merchantId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-content-api-shopping-get
      description: Google Content API for Shopping Get Product
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openapi-products.getproduct
      with:
        merchantId: tools.merchantId
        productId: tools.productId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-content-api-shopping-delete
      description: Google Content API for Shopping Delete Product
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: openapi-products.deleteproduct
      with:
        merchantId: tools.merchantId
        productId: tools.productId
      outputParameters:
      - type: object
        mapping: $.