doordash · Capability

DoorDash Item Management API — Promotions

DoorDash Item Management API — Promotions. 2 operations. Lead operation: Add promotions for items at a store. Self-contained Naftiko capability covering one Doordash business surface.

Run with Naftiko DoordashPromotions

What You Can Do

POST
Createstorepromotions — Add promotions for items at a store
/v1/promotions/stores/{store-location-id}
PATCH
Updatestorepromotions — Update promotions for items at a store
/v1/promotions/stores/{store-location-id}

MCP Tools

add-promotions-items-store

Add promotions for items at a store

update-promotions-items-store

Update promotions for items at a store

idempotent

Capability Spec

item-management-promotions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DoorDash Item Management API — Promotions
  description: 'DoorDash Item Management API — Promotions. 2 operations. Lead operation: Add promotions for items at a store.
    Self-contained Naftiko capability covering one Doordash business surface.'
  tags:
  - Doordash
  - Promotions
  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-promotions
    baseUri: https://openapi.doordash.com/marketplace/api/v2
    description: DoorDash Item Management API — Promotions business capability. Self-contained, no shared references.
    resources:
    - name: promotions-stores-store_location_id
      path: /promotions/stores/{store_location_id}
      operations:
      - name: createstorepromotions
        method: POST
        description: Add promotions 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: updatestorepromotions
        method: PATCH
        description: Update promotions 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-promotions-rest
    port: 8080
    description: REST adapter for DoorDash Item Management API — Promotions. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/promotions/stores/{store-location-id}
      name: promotions-stores-store-location-id
      description: REST surface for promotions-stores-store_location_id.
      operations:
      - method: POST
        name: createstorepromotions
        description: Add promotions for items at a store
        call: item-management-promotions.createstorepromotions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatestorepromotions
        description: Update promotions for items at a store
        call: item-management-promotions.updatestorepromotions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: item-management-promotions-mcp
    port: 9090
    transport: http
    description: MCP adapter for DoorDash Item Management API — Promotions. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: add-promotions-items-store
      description: Add promotions for items at a store
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: item-management-promotions.createstorepromotions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-promotions-items-store
      description: Update promotions for items at a store
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: item-management-promotions.updatestorepromotions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.