naftiko: 1.0.0-alpha2 info: label: DoorDash Item Management API — Inventory description: 'DoorDash Item Management API — Inventory. 2 operations. Lead operation: Add inventory and pricing for items at a store. Self-contained Naftiko capability covering one Doordash business surface.' tags: - Doordash - Inventory created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DOORDASH_API_KEY: DOORDASH_API_KEY capability: consumes: - type: http namespace: item-management-inventory baseUri: https://openapi.doordash.com/marketplace/api/v2 description: DoorDash Item Management API — Inventory business capability. Self-contained, no shared references. resources: - name: stores-store_location_id-items path: /stores/{store_location_id}/items operations: - name: createstoreinventory method: POST description: Add inventory and pricing for items at a store outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: updatestoreinventory method: PATCH description: Update inventory and pricing for items at a store outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.DOORDASH_API_KEY}}' exposes: - type: rest namespace: item-management-inventory-rest port: 8080 description: REST adapter for DoorDash Item Management API — Inventory. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/stores/{store-location-id}/items name: stores-store-location-id-items description: REST surface for stores-store_location_id-items. operations: - method: POST name: createstoreinventory description: Add inventory and pricing for items at a store call: item-management-inventory.createstoreinventory with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updatestoreinventory description: Update inventory and pricing for items at a store call: item-management-inventory.updatestoreinventory with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: item-management-inventory-mcp port: 9090 transport: http description: MCP adapter for DoorDash Item Management API — Inventory. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: add-inventory-and-pricing-items description: Add inventory and pricing for items at a store hints: readOnly: false destructive: false idempotent: false call: item-management-inventory.createstoreinventory with: body: tools.body outputParameters: - type: object mapping: $. - name: update-inventory-and-pricing-items description: Update inventory and pricing for items at a store hints: readOnly: false destructive: false idempotent: true call: item-management-inventory.updatestoreinventory with: body: tools.body outputParameters: - type: object mapping: $.