eBay · Capability

eBay Feed API — Order_task

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

Run with Naftiko EbayOrder_task

What You Can Do

GET
Getordertasks — This method returns the details and status for an array of order tasks based on a specified feed_type or schedule_id. Specifying both feed_type and schedule_id results in a
/v1/order-task
POST
Createordertask — This method creates an order download task with filter criteria for the order report. When using this method, specify the feedType, schemaVersion, and filterCriteria for the report. The method returns the locatio
/v1/order-task
GET
Getordertask — This method retrieves the task details and status of the specified task. The input is task_id.

For details about how this method is used, see /v1/order-task/{task-id}

MCP Tools

this-method-returns-details-and

This method returns the details and status for an array of order tasks based on a specified feed_type or schedule_id. Specifying both feed_type and schedule_id results in a

read-only idempotent
this-method-creates-order-download

This method creates an order download task with filter criteria for the order report. When using this method, specify the feedType, schemaVersion, and filterCriteria for the report. The method returns the locatio

Capability Spec

naftiko: 1.0.0-alpha2
info:
  label: eBay Feed API — Order_task
  description: 'eBay Feed API — Order_task. 3 operations. Lead operation: Order_task. Self-contained Naftiko capability covering
    one Ebay business surface.'
  tags:
  - Ebay
  - Order_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-order-task
    baseUri: https://api.ebay.com{basePath}
    description: eBay Feed API — Order_task business capability. Self-contained, no shared references.
    resources:
    - name: order_task
      path: /order_task
      operations:
      - name: getordertasks
        method: GET
        description: This method returns the details and status for an array of order tasks based on a specified <strong>feed_type</strong>
          or <strong>schedule_id</strong>. Specifying both <strong>feed_type</strong> and <strong>schedule_id</strong> results
          in a
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: date_range
          in: query
          type: string
          description: The order tasks creation date range. This range is used to filter the results. The filtered results
            are filtered to include only tasks with a creation date that
        - name: feed_type
          in: query
          type: string
          description: The feed type associated with the order tasks being retrieved. The only presently supported value is
            <code>LMS_ORDER_REPORT</code><br><br>See <a href="/api-docs
        - name: limit
          in: query
          type: string
          description: The maximum number of order tasks that can be returned on each page of the paginated response. Use
            this parameter in conjunction with the <strong>offset</strong
        - 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 <strong>date_range</strong>
            parameter. If both <strong>date_range</strong> and <st
        - name: offset
          in: query
          type: string
          description: The number of order tasks to skip in the result set before returning the first order in the paginated
            response. <p>Combine <strong>offset</strong> with the <str
        - name: schedule_id
          in: query
          type: string
          description: The schedule ID associated with the order tasks being retrieved. A schedule periodically generates
            a report, and these schedules can be created with the <a href
      - name: createordertask
        method: POST
        description: This method creates an order download task with filter criteria for the order report. When using this
          method, specify the <b> feedType</b>, <b> schemaVersion</b>, and <b> filterCriteria</b> for the report. The method
          returns the <b> locatio
        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: order_task-task_id
      path: /order_task/{task_id}
      operations:
      - name: getordertask
        method: GET
        description: This method retrieves the task details and status of the specified task. The input is <strong>task_id</strong>.
          <p>For details about how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.
        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 order task being retrieved.<br><br>Use the <a href="/api-docs/sell/feed/resources/order_task/methods/getOrde
          required: true
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: feed-order-task-rest
    port: 8080
    description: REST adapter for eBay Feed API — Order_task. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/order-task
      name: order-task
      description: REST surface for order_task.
      operations:
      - method: GET
        name: getordertasks
        description: This method returns the details and status for an array of order tasks based on a specified <strong>feed_type</strong>
          or <strong>schedule_id</strong>. Specifying both <strong>feed_type</strong> and <strong>schedule_id</strong> results
          in a
        call: feed-order-task.getordertasks
        with:
          date_range: rest.date_range
          feed_type: rest.feed_type
          limit: rest.limit
          look_back_days: rest.look_back_days
          offset: rest.offset
          schedule_id: rest.schedule_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createordertask
        description: This method creates an order download task with filter criteria for the order report. When using this
          method, specify the <b> feedType</b>, <b> schemaVersion</b>, and <b> filterCriteria</b> for the report. The method
          returns the <b> locatio
        call: feed-order-task.createordertask
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/order-task/{task-id}
      name: order-task-task-id
      description: REST surface for order_task-task_id.
      operations:
      - method: GET
        name: getordertask
        description: This method retrieves the task details and status of the specified task. The input is <strong>task_id</strong>.
          <p>For details about how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.
        call: feed-order-task.getordertask
        with:
          task_id: rest.task_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: feed-order-task-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Feed API — Order_task. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: this-method-returns-details-and
      description: This method returns the details and status for an array of order tasks based on a specified <strong>feed_type</strong>
        or <strong>schedule_id</strong>. Specifying both <strong>feed_type</strong> and <strong>schedule_id</strong> results
        in a
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: feed-order-task.getordertasks
      with:
        date_range: tools.date_range
        feed_type: tools.feed_type
        limit: tools.limit
        look_back_days: tools.look_back_days
        offset: tools.offset
        schedule_id: tools.schedule_id
      outputParameters:
      - type: object
        mapping: $.
    - name: this-method-creates-order-download
      description: This method creates an order download task with filter criteria for the order report. When using this method,
        specify the <b> feedType</b>, <b> schemaVersion</b>, and <b> filterCriteria</b> for the report. The method returns
        the <b> locatio
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: feed-order-task.createordertask
      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 task. The input is <strong>task_id</strong>.
        <p>For details about how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: feed-order-task.getordertask
      with:
        task_id: tools.task_id
      outputParameters:
      - type: object
        mapping: $.