Oracle Retail · Capability

Oracle Retail Merchandising Foundation Cloud Service API — Inventory

Oracle Retail Merchandising Foundation Cloud Service API — Inventory. 1 operations. Lead operation: Query inventory positions. Self-contained Naftiko capability covering one Oracle Retail business surface.

Run with Naftiko Oracle RetailInventory

What You Can Do

GET
Getinventory — Query inventory positions
/v1/inventory

MCP Tools

query-inventory-positions

Query inventory positions

read-only idempotent

Capability Spec

merchandising-inventory.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Oracle Retail Merchandising Foundation Cloud Service API — Inventory
  description: 'Oracle Retail Merchandising Foundation Cloud Service API — Inventory. 1 operations. Lead operation: Query
    inventory positions. Self-contained Naftiko capability covering one Oracle Retail business surface.'
  tags:
  - Oracle Retail
  - Inventory
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORACLE_RETAIL_API_KEY: ORACLE_RETAIL_API_KEY
capability:
  consumes:
  - type: http
    namespace: merchandising-inventory
    baseUri: https://{host}/MerchServices/MerchRes/v1
    description: Oracle Retail Merchandising Foundation Cloud Service API — Inventory business capability. Self-contained,
      no shared references.
    resources:
    - name: inventory
      path: /inventory
      operations:
      - name: getinventory
        method: GET
        description: Query inventory positions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: item
          in: query
          type: string
          description: Item number
          required: true
        - name: location
          in: query
          type: integer
          description: Store or warehouse number
        - name: locationType
          in: query
          type: string
          description: Location type (S=Store, W=Warehouse)
    authentication:
      type: bearer
      token: '{{env.ORACLE_RETAIL_API_KEY}}'
  exposes:
  - type: rest
    namespace: merchandising-inventory-rest
    port: 8080
    description: REST adapter for Oracle Retail Merchandising Foundation Cloud Service API — Inventory. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/inventory
      name: inventory
      description: REST surface for inventory.
      operations:
      - method: GET
        name: getinventory
        description: Query inventory positions
        call: merchandising-inventory.getinventory
        with:
          item: rest.item
          location: rest.location
          locationType: rest.locationType
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: merchandising-inventory-mcp
    port: 9090
    transport: http
    description: MCP adapter for Oracle Retail Merchandising Foundation Cloud Service API — Inventory. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: query-inventory-positions
      description: Query inventory positions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: merchandising-inventory.getinventory
      with:
        item: tools.item
        location: tools.location
        locationType: tools.locationType
      outputParameters:
      - type: object
        mapping: $.