doordash · Capability

DoorDash Drive Classic API — Stores

DoorDash Drive Classic API — Stores. 3 operations. Lead operation: Create a store. Self-contained Naftiko capability covering one Doordash business surface.

Run with Naftiko DoordashStores

What You Can Do

POST
Createstore — Create a store
/v1/businesses/{external-business-id}/stores
GET
Getstore — Get store details
/v1/businesses/{external-business-id}/stores/{external-store-id}
PATCH
Updatestore — Update a store
/v1/businesses/{external-business-id}/stores/{external-store-id}

MCP Tools

create-store

Create a store

get-store-details

Get store details

read-only idempotent
update-store

Update a store

idempotent

Capability Spec

drive-classic-stores.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DoorDash Drive Classic API — Stores
  description: 'DoorDash Drive Classic API — Stores. 3 operations. Lead operation: Create 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: drive-classic-stores
    baseUri: https://openapi.doordash.com/drive/v1
    description: DoorDash Drive Classic API — Stores business capability. Self-contained, no shared references.
    resources:
    - name: businesses-external_business_id-stores
      path: /businesses/{external_business_id}/stores
      operations:
      - name: createstore
        method: POST
        description: Create a store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: businesses-external_business_id-stores-external_store_id
      path: /businesses/{external_business_id}/stores/{external_store_id}
      operations:
      - name: getstore
        method: GET
        description: Get store details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatestore
        method: PATCH
        description: Update 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: drive-classic-stores-rest
    port: 8080
    description: REST adapter for DoorDash Drive Classic API — Stores. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/businesses/{external-business-id}/stores
      name: businesses-external-business-id-stores
      description: REST surface for businesses-external_business_id-stores.
      operations:
      - method: POST
        name: createstore
        description: Create a store
        call: drive-classic-stores.createstore
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/businesses/{external-business-id}/stores/{external-store-id}
      name: businesses-external-business-id-stores-external-store-id
      description: REST surface for businesses-external_business_id-stores-external_store_id.
      operations:
      - method: GET
        name: getstore
        description: Get store details
        call: drive-classic-stores.getstore
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatestore
        description: Update a store
        call: drive-classic-stores.updatestore
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: drive-classic-stores-mcp
    port: 9090
    transport: http
    description: MCP adapter for DoorDash Drive Classic API — Stores. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-store
      description: Create a store
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: drive-classic-stores.createstore
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-store-details
      description: Get store details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: drive-classic-stores.getstore
      outputParameters:
      - type: object
        mapping: $.
    - name: update-store
      description: Update a store
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: drive-classic-stores.updatestore
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.