eBay · Capability

eBay Feed API — Inventory_task

eBay Feed API — Inventory_task. 3 operations. Lead operation: Inventory_task. Self-contained Naftiko capability covering one Ebay business surface.

Run with Naftiko EbayInventory_task

What You Can Do

GET
Getinventorytasks — This method searches for multiple tasks of a specific feed type, and includes date filters and pagination.
/v1/inventory-task
POST
Createinventorytask — This method creates an inventory-related download task for a specified feed type with optional filter criteria. When using this method, specify the feedType.

This method returns the location response header contai
/v1/inventory-task
GET
Getinventorytask — This method retrieves the task details and status of the specified inventory-related task. The input is task_id.
/v1/inventory-task/{task-id}

MCP Tools

this-method-searches-multiple-tasks

This method searches for multiple tasks of a specific feed type, and includes date filters and pagination.

read-only idempotent
this-method-creates-inventory-related

This method creates an inventory-related download task for a specified feed type with optional filter criteria. When using this method, specify the feedType.

This method returns the location response header contai

this-method-retrieves-task-details

This method retrieves the task details and status of the specified inventory-related task. The input is task_id.

read-only idempotent

Capability Spec

feed-inventory-task.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: eBay Feed API — Inventory_task
  description: 'eBay Feed API — Inventory_task. 3 operations. Lead operation: Inventory_task. Self-contained Naftiko capability
    covering one Ebay business surface.'
  tags:
  - Ebay
  - Inventory_task
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EBAY_API_KEY: EBAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: feed-inventory-task
    baseUri: https://api.ebay.com{basePath}
    description: eBay Feed API — Inventory_task business capability. Self-contained, no shared references.
    resources:
    - name: inventory_task
      path: /inventory_task
      operations:
      - name: getinventorytasks
        method: GET
        description: This method searches for multiple tasks of a specific feed type, and includes date filters and pagination.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_type
          in: query
          type: string
          description: The feed type associated with the inventory tasks being retrieved. Presently, only one feed type is
            available:<br><ul><li><code>LMS_ACTIVE_INVENTORY_REPORT</cod
        - name: schedule_id
          in: query
          type: string
          description: <span class="tablenote"><b>Note:</b> Schedule functionality for ActiveInventoryReport is currently
            unavailable, so this field is not usable.</span>
        - name: look_back_days
          in: query
          type: string
          description: The number of previous days in which to search for tasks. Do not use with the <code>date_range</code>
            parameter. If both <code>date_range</code> and <code>look_
        - name: date_range
          in: query
          type: string
          description: Specifies the range of task creation dates used to filter the results. The results are filtered to
            include only tasks with a creation date that is equal to this
        - name: limit
          in: query
          type: string
          description: The maximum number of tasks that can be returned on each page of the paginated response. Use this parameter
            in conjunction with the <strong>offset</strong> para
        - name: offset
          in: query
          type: string
          description: The number of tasks to skip in the result set before returning the first task in the paginated response.
            <p>Combine <strong>offset</strong> with the <strong>lim
      - name: createinventorytask
        method: POST
        description: This method creates an inventory-related download task for a specified feed type with optional filter
          criteria. When using this method, specify the <strong>feedType</strong>. <br/><br/>This method returns the location
          response header contai
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
          description: 'This header indicates the format of the request body provided by the client. Its value should be set
            to <b>application/json</b>. <br><br> For more information, '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: inventory_task-task_id
      path: /inventory_task/{task_id}
      operations:
      - name: getinventorytask
        method: GET
        description: This method retrieves the task details and status of the specified inventory-related task. The input
          is <strong>task_id</strong>.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: task_id
          in: path
          type: string
          description: This path parameter is the unique identifier of the inventory task being retrieved.<br><br> Use the
            <a href="/api-docs/sell/feed/resources/inventory_task/method
          required: true
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: feed-inventory-task-rest
    port: 8080
    description: REST adapter for eBay Feed API — Inventory_task. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/inventory-task
      name: inventory-task
      description: REST surface for inventory_task.
      operations:
      - method: GET
        name: getinventorytasks
        description: This method searches for multiple tasks of a specific feed type, and includes date filters and pagination.
        call: feed-inventory-task.getinventorytasks
        with:
          feed_type: rest.feed_type
          schedule_id: rest.schedule_id
          look_back_days: rest.look_back_days
          date_range: rest.date_range
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createinventorytask
        description: This method creates an inventory-related download task for a specified feed type with optional filter
          criteria. When using this method, specify the <strong>feedType</strong>. <br/><br/>This method returns the location
          response header contai
        call: feed-inventory-task.createinventorytask
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/inventory-task/{task-id}
      name: inventory-task-task-id
      description: REST surface for inventory_task-task_id.
      operations:
      - method: GET
        name: getinventorytask
        description: This method retrieves the task details and status of the specified inventory-related task. The input
          is <strong>task_id</strong>.
        call: feed-inventory-task.getinventorytask
        with:
          task_id: rest.task_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: feed-inventory-task-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Feed API — Inventory_task. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: this-method-searches-multiple-tasks
      description: This method searches for multiple tasks of a specific feed type, and includes date filters and pagination.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: feed-inventory-task.getinventorytasks
      with:
        feed_type: tools.feed_type
        schedule_id: tools.schedule_id
        look_back_days: tools.look_back_days
        date_range: tools.date_range
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: this-method-creates-inventory-related
      description: This method creates an inventory-related download task for a specified feed type with optional filter criteria.
        When using this method, specify the <strong>feedType</strong>. <br/><br/>This method returns the location response
        header contai
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: feed-inventory-task.createinventorytask
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: this-method-retrieves-task-details
      description: This method retrieves the task details and status of the specified inventory-related task. The input is
        <strong>task_id</strong>.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: feed-inventory-task.getinventorytask
      with:
        task_id: tools.task_id
      outputParameters:
      - type: object
        mapping: $.