eBay · Capability

eBay Logistics API — Shipping_quote

eBay Logistics API — Shipping_quote. 2 operations. Lead operation: Shipping_quote. Self-contained Naftiko capability covering one Ebay business surface.

Run with Naftiko EbayShipping_quote

What You Can Do

POST
Createshippingquote — The createShippingQuote method returns a shipping quote that contains a list of live "rates."

Each rate represents an offer made by a shipping carrier for a specific service and each offer has a live quote for the ba
/v1/shipping-quote
GET
Getshippingquote — This method retrieves the complete details of the shipping quote associated with the specified shippingQuoteId value.

A "shipping quote" pertains to a single specific package and contains a set of shipping "rates" that quote
/v1/shipping-quote/{shippingquoteid}

MCP Tools

b-createshippingquote-b-method-returns-i-shipping

The createShippingQuote method returns a shipping quote that contains a list of live "rates."

Each rate represents an offer made by a shipping carrier for a specific service and each offer has a live quote for the ba

read-only
this-method-retrieves-complete-details

This method retrieves the complete details of the shipping quote associated with the specified shippingQuoteId value.

A "shipping quote" pertains to a single specific package and contains a set of shipping "rates" that quote

read-only idempotent

Capability Spec

logistics-shipping-quote.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: eBay Logistics API — Shipping_quote
  description: 'eBay Logistics API — Shipping_quote. 2 operations. Lead operation: Shipping_quote. Self-contained Naftiko
    capability covering one Ebay business surface.'
  tags:
  - Ebay
  - Shipping_quote
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EBAY_API_KEY: EBAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: logistics-shipping-quote
    baseUri: https://api.ebay.com{basePath}
    description: eBay Logistics API — Shipping_quote business capability. Self-contained, no shared references.
    resources:
    - name: shipping_quote
      path: /shipping_quote
      operations:
      - name: createshippingquote
        method: POST
        description: The <b>createShippingQuote</b> method returns a <i>shipping quote </i> that contains a list of live "rates."  <br><br>Each
          rate represents an offer made by a shipping carrier for a specific service and each offer has a live quote for the
          ba
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-EBAY-C-MARKETPLACE-ID
          in: header
          type: string
          description: This header parameter specifies the eBay marketplace for the shipping quote that is being created.<br><br>For
            a list of valid values, refer to the section <a hr
          required: true
        - 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: shipping_quote-shippingQuoteId
      path: /shipping_quote/{shippingQuoteId}
      operations:
      - name: getshippingquote
        method: GET
        description: This method retrieves the complete details of the shipping quote associated with the specified <b>shippingQuoteId</b>
          value.  <br><br>A "shipping quote" pertains to a single specific package and contains a set of shipping "rates"
          that quote
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: shippingQuoteId
          in: path
          type: string
          description: This path parameter specifies the unique eBay-assigned ID of the shipping quote you want to retrieve.<br><br>The
            <b>shippingQuoteId</b> value is generated and r
          required: true
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: logistics-shipping-quote-rest
    port: 8080
    description: REST adapter for eBay Logistics API — Shipping_quote. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/shipping-quote
      name: shipping-quote
      description: REST surface for shipping_quote.
      operations:
      - method: POST
        name: createshippingquote
        description: The <b>createShippingQuote</b> method returns a <i>shipping quote </i> that contains a list of live "rates."  <br><br>Each
          rate represents an offer made by a shipping carrier for a specific service and each offer has a live quote for the
          ba
        call: logistics-shipping-quote.createshippingquote
        with:
          X-EBAY-C-MARKETPLACE-ID: rest.X-EBAY-C-MARKETPLACE-ID
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/shipping-quote/{shippingquoteid}
      name: shipping-quote-shippingquoteid
      description: REST surface for shipping_quote-shippingQuoteId.
      operations:
      - method: GET
        name: getshippingquote
        description: This method retrieves the complete details of the shipping quote associated with the specified <b>shippingQuoteId</b>
          value.  <br><br>A "shipping quote" pertains to a single specific package and contains a set of shipping "rates"
          that quote
        call: logistics-shipping-quote.getshippingquote
        with:
          shippingQuoteId: rest.shippingQuoteId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: logistics-shipping-quote-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Logistics API — Shipping_quote. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: b-createshippingquote-b-method-returns-i-shipping
      description: The <b>createShippingQuote</b> method returns a <i>shipping quote </i> that contains a list of live "rates."  <br><br>Each
        rate represents an offer made by a shipping carrier for a specific service and each offer has a live quote for the
        ba
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: logistics-shipping-quote.createshippingquote
      with:
        X-EBAY-C-MARKETPLACE-ID: tools.X-EBAY-C-MARKETPLACE-ID
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: this-method-retrieves-complete-details
      description: This method retrieves the complete details of the shipping quote associated with the specified <b>shippingQuoteId</b>
        value.  <br><br>A "shipping quote" pertains to a single specific package and contains a set of shipping "rates" that
        quote
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: logistics-shipping-quote.getshippingquote
      with:
        shippingQuoteId: tools.shippingQuoteId
      outputParameters:
      - type: object
        mapping: $.