naftiko: 1.0.0-alpha2 info: label: Shopify Admin REST API — Inventory Items description: 'Shopify Admin REST API — Inventory Items. 3 operations. Lead operation: Shopify Retrieve a list of inventory items. Self-contained Naftiko capability covering one Shopify business surface.' tags: - Shopify - Inventory Items created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHOPIFY_API_KEY: SHOPIFY_API_KEY capability: consumes: - type: http namespace: admin-rest-inventory-items baseUri: https://{store}.myshopify.com/admin/api/2025-01 description: Shopify Admin REST API — Inventory Items business capability. Self-contained, no shared references. resources: - name: inventory_items.json path: /inventory_items.json operations: - name: listinventoryitems method: GET description: Shopify Retrieve a list of inventory items outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ids in: query type: string description: Comma-separated list of inventory item IDs required: true - name: limit in: query type: integer description: Maximum number of results (max 250, default 50) - name: inventory_items-inventory_item_id}.json path: /inventory_items/{inventory_item_id}.json operations: - name: getinventoryitem method: GET description: Shopify Retrieve a single inventory item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: inventory_item_id in: path type: integer description: The ID of the inventory item required: true - name: updateinventoryitem method: PUT description: Shopify Update an inventory item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: inventory_item_id in: path type: integer description: The ID of the inventory item required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Shopify-Access-Token value: '{{env.SHOPIFY_API_KEY}}' placement: header exposes: - type: rest namespace: admin-rest-inventory-items-rest port: 8080 description: REST adapter for Shopify Admin REST API — Inventory Items. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/inventory-items-json name: inventory-items-json description: REST surface for inventory_items.json. operations: - method: GET name: listinventoryitems description: Shopify Retrieve a list of inventory items call: admin-rest-inventory-items.listinventoryitems with: ids: rest.ids limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/inventory-items/inventory-item-id-json name: inventory-items-inventory-item-id-json description: REST surface for inventory_items-inventory_item_id}.json. operations: - method: GET name: getinventoryitem description: Shopify Retrieve a single inventory item call: admin-rest-inventory-items.getinventoryitem with: inventory_item_id: rest.inventory_item_id outputParameters: - type: object mapping: $. - method: PUT name: updateinventoryitem description: Shopify Update an inventory item call: admin-rest-inventory-items.updateinventoryitem with: inventory_item_id: rest.inventory_item_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: admin-rest-inventory-items-mcp port: 9090 transport: http description: MCP adapter for Shopify Admin REST API — Inventory Items. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: shopify-retrieve-list-inventory-items description: Shopify Retrieve a list of inventory items hints: readOnly: true destructive: false idempotent: true call: admin-rest-inventory-items.listinventoryitems with: ids: tools.ids limit: tools.limit outputParameters: - type: object mapping: $. - name: shopify-retrieve-single-inventory-item description: Shopify Retrieve a single inventory item hints: readOnly: true destructive: false idempotent: true call: admin-rest-inventory-items.getinventoryitem with: inventory_item_id: tools.inventory_item_id outputParameters: - type: object mapping: $. - name: shopify-update-inventory-item description: Shopify Update an inventory item hints: readOnly: false destructive: false idempotent: true call: admin-rest-inventory-items.updateinventoryitem with: inventory_item_id: tools.inventory_item_id body: tools.body outputParameters: - type: object mapping: $.