naftiko: 1.0.0-alpha2 info: label: DoorDash Marketplace API — Stores description: 'DoorDash Marketplace API — Stores. 3 operations. Lead operation: Get menu details for a store. Self-contained Naftiko capability covering one Doordash business surface.' tags: - Doordash - Stores created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DOORDASH_API_KEY: DOORDASH_API_KEY capability: consumes: - type: http namespace: marketplace-stores baseUri: https://openapi.doordash.com/marketplace/api/v1 description: DoorDash Marketplace API — Stores business capability. Self-contained, no shared references. resources: - name: stores-merchant_supplied_id-menu_details path: /stores/{merchant_supplied_id}/menu_details operations: - name: getmenudetails method: GET description: Get menu details for a store outputRawFormat: json outputParameters: - name: result type: object value: $. - name: stores-merchant_supplied_id-status path: /stores/{merchant_supplied_id}/status operations: - name: updatestorestatus method: PATCH description: Update store status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: stores-merchant_supplied_id-store_details path: /stores/{merchant_supplied_id}/store_details operations: - name: getstoredetails method: GET description: Get store details outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.DOORDASH_API_KEY}}' exposes: - type: rest namespace: marketplace-stores-rest port: 8080 description: REST adapter for DoorDash Marketplace API — Stores. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/stores/{merchant-supplied-id}/menu-details name: stores-merchant-supplied-id-menu-details description: REST surface for stores-merchant_supplied_id-menu_details. operations: - method: GET name: getmenudetails description: Get menu details for a store call: marketplace-stores.getmenudetails outputParameters: - type: object mapping: $. - path: /v1/stores/{merchant-supplied-id}/status name: stores-merchant-supplied-id-status description: REST surface for stores-merchant_supplied_id-status. operations: - method: PATCH name: updatestorestatus description: Update store status call: marketplace-stores.updatestorestatus with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/stores/{merchant-supplied-id}/store-details name: stores-merchant-supplied-id-store-details description: REST surface for stores-merchant_supplied_id-store_details. operations: - method: GET name: getstoredetails description: Get store details call: marketplace-stores.getstoredetails outputParameters: - type: object mapping: $. - type: mcp namespace: marketplace-stores-mcp port: 9090 transport: http description: MCP adapter for DoorDash Marketplace API — Stores. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-menu-details-store description: Get menu details for a store hints: readOnly: true destructive: false idempotent: true call: marketplace-stores.getmenudetails outputParameters: - type: object mapping: $. - name: update-store-status description: Update store status hints: readOnly: false destructive: false idempotent: true call: marketplace-stores.updatestorestatus with: body: tools.body outputParameters: - type: object mapping: $. - name: get-store-details description: Get store details hints: readOnly: true destructive: false idempotent: true call: marketplace-stores.getstoredetails outputParameters: - type: object mapping: $.