Cloud

Build 24.0.9175
  • eBay
    • はじめに
      • 接続の確立
      • カスタムOAuth アプリの作成
      • SSL の設定
      • ファイアウォールとプロキシ
    • データモデル
      • AuthNAuth の制限事項
      • テーブル
        • ItemListing
        • ItemVariations
        • Tasks
      • ビュー
        • Bidders
        • Categories
        • CategoryFeatures
        • CategorySubtree
        • CategorySuggestions
        • CategoryTree
        • CompatibilityProperties
        • CompatibilityPropertyValues
        • Countries
        • Currencies
        • DefaultCategoryTreeId
        • FulfillmentPolicies
        • HighestBidder
        • ItemAspectsForCategory
        • ItemCompatibilityList
        • ItemShipping
        • ItemSpecifics
        • ItemTransactions
        • MostWatchedItems
        • OrderPayments
        • Orders
        • OrderShipping
        • PaymentPolicies
        • ReturnPolicies
        • ShippingCarriers
        • ShippingCategories
        • ShippingLocations
        • ShippingServices
        • Sites
        • SuggestedCategories
        • TopSellingProducts
        • TransactionLinkedItems
        • TransactionPayments
        • TransactionRefunds
        • Transactions
        • TransactionShipping
      • ストアドプロシージャ
        • AddItem
        • CompleteSale
        • CreateInventoryTask
        • CreateOrderTask
        • GetResultFile
        • SetUserNotes
      • システムテーブル
        • sys_catalogs
        • sys_schemas
        • sys_tables
        • sys_tablecolumns
        • sys_procedures
        • sys_procedureparameters
        • sys_keycolumns
        • sys_foreignkeys
        • sys_primarykeys
        • sys_indexes
        • sys_connection_props
        • sys_sqlinfo
        • sys_identity
        • sys_information
    • 接続文字列オプション
      • Authentication
        • AuthScheme
        • DevID
        • SiteID
        • UseSandbox
        • RuName
      • OAuth
        • OAuthClientId
        • OAuthClientSecret
        • OAuthAccessToken
      • SSL
        • SSLServerCert
      • Logging
        • Verbosity
      • Schema
        • BrowsableSchemas
      • Miscellaneous
        • MaxRows
        • PseudoColumns
        • Timeout

eBay - CData Cloud

概要

CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるeBay へのアクセスを実現します。MySQL またはSQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してeBay に接続できます。

CData Cloud により、他のOData エンドポイントや標準SQL Server / MySQL データベースと同じように、eBay への接続を標準化し、構成することができます。

主要機能

  • SQL をフルサポート:eBay は、標準のリレーショナルデータベースとして表示され、Filter、Group、Join などの操作を実行できます。これらの操作は基盤となるAPI でサポートされているかどうかに関わらず、標準SQL を使用します。
  • CRUD サポート:読み取りと書き込みの両方の操作がサポートされており、Cloud またはデータソースのダウンストリームで設定できるセキュリティ設定によってのみ制限されます。
  • セキュアアクセス:管理者は、ユーザーを作成し、特定のデータベースへのアクセス、読み取り専用操作、または完全な読み書きの権限を定義することができます。
  • 包括的なデータモデルとダイナミックディスカバリー:CData Cloud は、動的データや検索可能なメタデータへのフルアクセスなど、基盤となるデータソースで公開されるすべてのデータへの包括的なアクセスを提供します。

CData Cloud

はじめに

このページでは、CData Cloud でのeBay への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。

eBay への接続

接続の確立 は、CData Cloud にデータベースを作成するためのeBay への認証方法と必要な接続プロパティの設定方法について示します。

CData Cloud サービスからデータにアクセス

利用可能な標準サービスを経由してeBay からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。

CData Cloud

接続の確立

Database タブで対応するアイコンを選択して、eBay に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。

eBay API への接続

eBay に接続するには以下を設定します。

  • SiteID:eBay サイトID に設定。デフォルト値は"0"(U.S. のサイト)です。
  • UseSandbox:eBay sandbox アカウントを使用する場合True に設定。デフォルトでは、Cloud は本番環境に接続します。
  • RuName:サインインに使用するRuName(eBay Redirect URL 名)に設定。eBay のサインイン設定で検索します。

eBay への認証

Cloud は、OAuth 2.0 認証規格またはeBay APIで使用されている従来の認証方法であるAuth'n'Auth のいずれかを使用して、eBay を認証できます。

ユーザーアカウント(OAuth)

AuthScheme をOAuth に設定。

レガシーアプリのユーザーアカウント(Auth'n'Auth)

Cloud は、eBay のレガシーAuth'n Auth プロトコルを使用して認証することができます。Auth'n'Auth を使用するように構築された古いアプリケーションを使用している場合は、この認証スキームを選択します。

AuthScheme をAuthNAuth に設定します。

カスタムOAuth アプリケーションを作成する必要があります。詳しくは、カスタムOAuth アプリの作成 を参照してください。

アクセストークン

OAuthAccessToken はAuth'n'Auth で認証する場合に必要となります。次の接続プロパティを設定し、OAuthAccessToken を取得します。

  • OAuthClientId:キーセットのApp ID(Client ID)に設定。
  • OAuthClientSecret:キーセットのCert ID(Client Secret))に設定。
  • DevID:キーセットのDeveloper ID に設定。

続いてストアドプロシージャを呼び出し、トークンの交換を完了します。

  1. GetOAuthAuthorizationURL ストアドプロシージャを呼び出します。RuName インプットをアプリ設定で指定したeBay Redirect URL に設定します。ストアドプロシージャがOAuth エンドポイントのURL を返します。

  2. ステップ1でストアドプロシージャが返したURL に移動します。ログインして、Web アプリケーションを認可します。認証後、ブラウザはリダイレクトURI にリダイレクトします。リダイレクトURI にはsessionid というパラメータが付加されます。このパラメータの値を控えておきます。推奨値https://oauth.cdata.com/oauth/ を"auth accepted URL" として使用する場合、この値はBASE64 エンコードされているため、デコードしてから次に進む必要があります。
  3. GetOAuthAccessToken ストアドプロシージャを呼び出します。AuthMode インプットをWEB に設定します。SessionId インプットパラメータを、認可URL のクエリ文字列の'sessionid' 値、またはCallback URL からBASE64 デコードしたセッションID に設定します。

次の接続プロパティを設定し、データに接続します。

  • OAuthClientId:キーセットのApp ID(Client ID)に設定。
  • OAuthClientSecret:キーセットのCert ID(Client Secret))に設定。
  • OAuthAccessToken:GetOAuthAccessToken によって返されたAuth'n'Auth トークンに設定。

    Note: Auth'n'Auth トークンは18ヶ月後に失効します。トークンの期限が切れたら、新しいトークンを発行する必要があります。

  • DevID:キーセットのDeveloper ID に設定。

CData Cloud

カスタムOAuth アプリの作成

eBay への接続に使用できる認証方法は2つあります。個人データにのみアクセスするために生成されたトークンを使用するか、他のユーザーが彼ら自身のデータにアクセスできるようにするトークンを使用するかを選択できます。どちらの方法でもeBay Developers Program への登録が必要です。

登録およびキーセットの取得

eBay Developers Program への登録後、Developer Account Dashboard -> Application Keysets ページから次の値を取得できます。

  1. OAuthClientId (App ID)
  2. DevID
  3. OAuthClientSecret (Cert ID)

OAuth アプリの作成

OAuth アプリは、1人または複数のユーザーが使用するように作成することができます。これらのシナリオは、以下のセクションで詳しく説明します。

シングルユーザー

自分自身のアカウントを使用する場合には、eBay のユーザーインターフェースから次の方法でトークンを生成します。
  1. Developer Account Dashboard で、User Access Tokens ページを開きます。
  2. アプリの環境を選択します。
    • 本番アイテム、もしくはリアルタイムeBay サイトの本番アイテムを見たい場合はProduction を選択します。
    • サンドボックスでテストリスティングを作成する場合はSandbox を選択します。
  3. Get a User Token Here の下で、トークン生成時に使用する認証方式を選択します。OAuth トークンはすべてのeBay API(RESTful API およびTraditional API)で有効ですが、Auth'n'Auth トークンはTraditional API のみで有効です。

  4. 環境に応じてSign in to Sandbox またはSign in to Production をクリックし、sandox または本番eBay アカウントのどちらかのクレデンシャルでログインします。

Note: OAuth 認証を有効にするには、サインインに使用するRuName(eBay リダイレクトURL 名)のYour eBay Sign-in Settings にあるOAuth Enabled にチェックを入れる必要があります。 有効でない場合は、Auth'n'Auth 認証方式のみサポートされます。詳細は、「OAuth アプリのセットアップ」を参照してください。

マルチユーザー

eBay はOAuth 認証標準を実装しており、自分自身のデータにアクセスしたり、他のユーザーが自身のデータにアクセスしたりすることを許可できます。

下記の手順に従って、ユーザー同意フローを設定します。

  1. Developer Account Dashboard で、User Access Tokens ページを開きます。
  2. アプリの環境を選択します。
    • 本番アイテム、もしくはリアルタイムeBay サイトの本番アイテムを見たい場合はProduction を選択します。
    • サンドボックスでテストリスティングを作成する場合はSandbox を選択します。
  3. Get a Token from eBay via Your Application セクションのYour eBay Sign-in Settings の下で、Add eBay Redirect URL をクリックするか、認証に使用するRuName タブを展開して、新しいRuName(eBay Redirect URL)を追加します。
  4. RuName のOAuth Enabled チェックボックスにチェックを入れます。有効でない場合は、Auth'n'Auth 認証方式のみサポートされます。
  5. eBay は安全なRedirect URI(https)を必要とし、localhost URI を受け入れないため、Your auth accepted URL をhttps://oauth.cdata.com/oauth/ に設定します。
  6. Save をクリックして変更を保存します。
  7. OAuth を選択し、Test Sign-In をクリックしてRuName でサインインできることを確認します。

CData Cloud

SSL の設定

SSL 設定のカスタマイズ

デフォルトでは、Cloud はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。

別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。

CData Cloud

ファイアウォールとプロキシ

Firewall またはProxy 経由の接続

HTTP プロキシ

HTTP プロキシへの認証には、以下のように設定します。

  • ProxyServer:HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレス。
  • ProxyPort:プロキシサーバーが起動しているTCP ポート。
  • ProxyAuthScheme:プロキシサーバーに対して認証する際にCloud が使用する認証方法。
  • ProxyUser:プロキシサーバーに登録されているユーザーアカウントのユーザー名。
  • ProxyPassword:ProxyUser に紐付けられたパスワード。

その他のプロキシ

次のプロパティを設定します。

  • プロキシベースのファイヤーウォールを使用するには、FirewallType、FirewallServer、およびFirewallPort を設定します。
  • 接続をトンネルするには、FirewallType をTUNNEL に設定します。
  • 認証するには、FirewallUser とFirewallPassword を設定します。
  • SOCKS プロキシへの認証には、さらにFirewallType をSOCKS5 に設定します。

CData Cloud

データモデル

CData Cloud は、eBay API のエンティティをテーブル、ビュー、およびストアドプロシージャにモデル化します。これらは、簡単なテキストベースのコンフィギュレーションファイルであるスキーマファイルにて定義されます。

このセクションでは、API の制限および要件について説明します。既定のSupportEnhancedSQL 機能を使って、これらの制限の大半を回避できます。

Note:Auth'n'Auth 認証スキームを使用する場合、アクセスできないテーブルおよびビューがあります。制限のリストはAuthNAuth の制限事項 を参照してください。

テーブル

CData Cloud は、テーブルのItem Listings をモデル化し、クエリ、更新、および削除を容易にします。AddItem ストアドプロシージャを呼んでeBay ストアのアイテムをリストすることができます。

ビュー

ビュー は変更ができないテーブルです。一般的に、読み取り専用のデータはビューとして表示されます。

ストアドプロシージャ

ストアドプロシージャ は、データソースのファンクションライクなインターフェースです。これらを使用して、データソース内の情報を検索、更新、および変更できます。

CData Cloud

AuthNAuth の制限事項

If you use the Auth'n'Auth authentication scheme, the following tables/views are Unavailable:

  • Sell API
    • Tables
      • Tasks
    • Views
      • FulfillmentPolicies
      • PaymentPolicies
      • ReturnPolicies
    • Stored Procedures
      • UploadFile
      • GetResultFile
      • CreateOrderTask
      • CreateInventoryTask
  • Commerce API
    • Views
      • CategorySuggestions
      • CategorySubtree
      • CompatibilityProperties
      • CompatibilityPropertyValues
      • CategoryTree
      • DefaultCategoryTreeId
      • ItemAspectsForCategory

CData Cloud

テーブル

Cloud はeBay のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。

CData Cloud - eBay テーブル

Name Description
ItemListing Update, delete, and query Item Listings for sellers.
ItemVariations Item Variations are multiple similar (but not identical) items in a single fixed-price listing. For example, a T-shirt listing could contain multiple items of the same brand that vary by color and size; each variation would specify a combination of one of these colors and sizes. Each variation can have a different quantity and price. You can buy multiple items from one variation at the same time. (That is, one order line item can contain multiple items from a single variation.)
Tasks Retrieves all the tasks for the marketplace you specify using the MarketplaceId query parameter.

CData Cloud

ItemListing

Update, delete, and query Item Listings for sellers.

テーブル固有の情報

Select

次のクエリは、すべての有効なsellet item を取得します。このクエリは、デフォルトで直近100日に追加されたアイテムを返します。

SELECT * FROM ItemListing

ItemListing はORDER BY をサポートしている唯一のテーブルです。オーダーには2つのカラムだけが使えます:StartTime およびEndTime です。次のクエリは、アイテムを特定の時間に終わり、一番直近に終わったアイテム順に取得します。

SELECT * FROM ItemListing WHERE EndTimeFrom = '2016-01-25' AND EndTimeTo = '2016-02-05' ORDER BY EndTime

INSERT

AddItem ストアドプロシージャは、新しいアイテムを追加する機能を持ちます。

Update

更新に必要なインプットはアイテムおよびカテゴリのタイプに依存します。更新には、少なくてもItemId およびアイテムのもう一つのプロパティが必要です。

UPDATE ItemListing SET Title = 'My Awesome Item' WHERE ItemId = '123456789'
複数の値をとるリストにおけるアイテムが売られた場合、seller は、Title、Primary Category、Secondary Category、Listing Duration、およびListing Type fields の値を変更することはできません。ただし、他のフィールドはすべて更新可能です。

Delete

アイテムの削除には、ItemId およびEndingReason の指定が必須です。

DELETE FROM ItemListing WHERE ItemId = '123456789' AND  EndingReason = 'LostOrBroken'

Columns

Name Type ReadOnly Description
ItemId [KEY] String False

The Id that uniquely identifies the item listing. The Id is generated by eBay after an item is listed. You cannot choose or revise this value.

Title String False

Name of the item as it appears in the listing or search results.

AutoPay Boolean False

If true, the seller requests immediate payment for the item.

BuyerProtection String False

Flag to indicate the eligibility of an item for the PayPal Buyer Protection program.

BuyItNowPrice Decimal False

This field is only applicable for auction listings. By specifying a Buy It Now price, a seller is allowing prospective buyers the opportunity to purchase the item in the auction listing at this price immediately.

ConditionDescription String False

This string field is used by the seller to more clearly describe the condition of items that are not brand new.

Country String False

Defines the 2-letter ISO 3166 country code.

Currency String False

Currency associated with the price information of the item. 3-letter ISO 4217 currency code.

Description String False

The description of the item by the seller. In listing requests, you can use CDATA tags to submit your description if you want to use HTML or XML-reserved characters in the description.

HideFromSearch Boolean False

Whether the listing is hidden from all searches occurring on eBay.

HitCount Integer False

The number of page views for the item.

Adult Boolean False

If true, the item is listed in a Mature category.

BestOfferAutoAcceptPrice Decimal False

The price at which Best Offers are automatically accepted. Similar in use to MinimumBestOfferPrice.

CheckoutEnabled Boolean False

This flag indicates whether or not the Checkout Enabled preference of the seller is turned on (at account level or at listing level).

StartTime Datetime False

The StartTime for when the item was listed.

EndTime Datetime False

Time stamp (in GMT) when the listing is scheduled to end (calculated based on the values of StartTime and ListingDuration), or the actual end time if the item has ended.

MinimumBestOfferPrice Decimal False

Specifies the minimum acceptable Best Offer price. If a buyer submits a Best Offer that is below this value, the offer is automatically declined by the seller.

ViewItemURL String False

The URL of the Web page where a user can view the listing. On the U.S. site, this is called the View Item page.

ViewItemURLForNaturalSearch String False

This URL takes you to the same View Item page as ViewItemURL, but this URL is optimized to support natural search. That is, this URL is designed to make items on eBay easier to find via popular Internet search engines.

ListingDuration String False

Describes the number of days the seller wants the listing to be active (available for bidding/buying).

ListingType String False

The format of the listing the seller wants to use, such as Chinese auction or fixed price.

Location String False

Indicates the geographical location of the item (along with Country). When you revise a listing, you can add or change this value only if the listing has no bids (or no items have sold), and it does not end within 12 hours.

CategoryId String False

Category Id for the first (or only) category in which the item is listed (or will be listed, if the item is new).

CategoryName String False

This string value is the display name of the eBay primary category, as it would appear on the eBay website.

PrivateListing Boolean False

If true, designates the listing as private.

Quantity Integer False

The meaning of this value depends on the context.

QuantityAvailableHint String False

Indicates the type of message that will be returned describing the quantity available for the item.

QuantityThreshold Integer False

The quantity threshold above which the seller prefers not to show the actual quantity available.

ReservePrice Decimal False

The lowest price at which the seller is willing to sell the item.

Refund String False

Display string that buyer applications can use to present RefundOption in a more user-friendly format to buyers.

RefundOption String False

Indicates how the seller will compensate the buyer for a returned item.

ReturnsAccepted String False

Display string that buyer applications can use to present ReturnsAcceptedOption in a more user-friendly format to buyers.

ReturnsAcceptedOption String False

Indicates whether the seller allows the buyer to return the item. One of the following values: ReturnsAccepted or ReturnsNotAccepted. If you specify ReturnsNotAccepted, the View Item page will indicate that returns are not accepted instead.

ReturnsWithin String False

Display string that buyer applications can use to present ReturnsWithinOption in a more user-friendly format to buyers.

ReturnsWithinOption String False

The buyer can return the item within this period of time from the day they receive the item.

ShippingCostPaidBy String False

Display string that buyer applications can use to present ShippingCostPaidByOption in a more user-friendly format to buyers.

ShippingCostPaidByOption String False

The party who pays the shipping cost for a returned item.

ItemRevised Boolean False

This field is returned as true if the original listing has been revised.

SellerName String False

The name of the seller. This field is used as part of the address.

CurrentPrice Decimal False

The current price of the item in the original listing currency.

ListingStatus String False

Specifies an active or ended listing status in the processing workflow.

PromotionalEndTime Datetime False

End time of a discount for an item whose price a seller has reduced with the Promotional Price Display feature.

PromotionalOriginalPrice Decimal False

Original price of an item whose price a seller has reduced with the Promotional Price Display feature.

PromotionalStartTime Datetime False

Start time of a discount for an item whose price a seller has reduced with the Promotional Price Display feature.

QuantitySold Integer False

The total number of items purchased so far in the lifetime of the listing. Subtract this from Quantity to determine the quantity available.

ReserveMet Boolean False

Indicates whether the reserve price has been met for the listing. Returns true if the reserve price was met or no reserve price was specified.

SecondChanceEligible Boolean False

Part of the Second Chance Offer feature, which indicates whether the seller can extend a second chance offer for the item.

Site String False

The name of the site on which the item is listed.

SKU String False

A SKU (stock keeping unit) is an identifier defined by a seller.

StartPrice Decimal False

The original price of the item at listing or relisting time. If this value changes when the item is revised, the new value becomes the original price.

TimeLeft String False

Time left before the listing ends. The duration is represented in the ISO 8601 duration format (PnYnMnDTnHnMnS).

TotalQuestionCount Integer False

The number of questions asked about this item. Applies to eBay Motors Pro applications only.

WatchCount Integer False

The number of watches placed on this item from the My eBay accounts of the buyers.

StoreCategoryId Long False

Unique identifier of a primary custom category in which to list the item.

StoreCategoryId2 Long False

Unique identifier for the secondary custom category in which to list the item.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
AdminEndedItemsOnly String

Specifies whether to return only items that were administratively ended based on a policy violation.

EndTimeFrom Datetime

Specifies the earliest (oldest) date to use in a date range filter based on item end time. Specify either an end-time range or a start-time range filter. Each of the time ranges must be a value less than 120 days.

EndTimeTo Datetime

Specifies the latest (most recent) date to use in a date range filter based on item end time. Specify either an end-time range or a start-time range filter. Each of the time ranges must be a value less than 120 days.

GranularityLevel String

Specifies the subset of item and user fields to return.

StartTimeFrom Datetime

Specifies the earliest (oldest) date to use in a date range filter based on item start time.

StartTimeTo Datetime

Specifies the latest (most recent) date to use in a date range filter based on item start time. Must be specified if StartTimeFrom is specified.

UserId String

Specifies the seller whose items will be returned. UserId is an optional input. If not specified, retrieves listings for the user identified by the authentication token passed in the request.

DetailLevel String

Detail levels are instructions that define standard subsets of data to return for particular tables.

使用できる値は次のとおりです。ReturnAll

EndingReason String

Indicates the reason the seller ended the listing early.

CData Cloud

ItemVariations

Item Variations are multiple similar (but not identical) items in a single fixed-price listing. For example, a T-shirt listing could contain multiple items of the same brand that vary by color and size; each variation would specify a combination of one of these colors and sizes. Each variation can have a different quantity and price. You can buy multiple items from one variation at the same time. (That is, one order line item can contain multiple items from a single variation.)

テーブル固有の情報

Select

このId が表すアイテムのバリエーションを取得するには、item Id を指定する必要があります。

                                          
SELECT * FROM ItemVariations WHERE ItemId = '110187147205'

Insert

Insert に必須のフィールドは、ItemId、VariationSpecificsAggregate、StartPrice、およびQuantity です。VariationSpecificsAggregate は、XML 形式のvariation specifics 構造を含む必要があります。例えば、VariationSpecificsAggregate は、大きな青いアイテムを追加します。

<NameValueList>
  <Name>Color</Name>
  <Value>Blue</Value>
</NameValueList>
<NameValueList>
  <Name>Size</Name>
  <Value>L</Value>
</NameValueList>

次のクエリは、StartPrice 15、およびQuantity 100 で大きな青いアイテムのバリエーションを追加します。

                                          
INSERT INTO ItemVariations (ItemId, VariationSpecificsAggregate, Quantity, StartPrice) VALUES ('110188946596', '<NameValueList><Name>Color</Name><Value>Blue</Value></NameValueList><NameValueList><Name>Size</Name><Value>L</Value></NameValueList>', '100', '15')

Update

バリエーションのUpdate には、ItemId およびVariationSpecificsAggregate が必須です。オプションとして、バリエーションには、StartPrice およびQuantity などの他の詳細を含むことができます。VariationSpecificsAggregate は、XML 形式でバリエーションを特定するすべてのspecifics を含む必要があります。

                                          
UPDATE ItemVariations SET Quantity = '5' WHERE ItemId = '110188946596' AND VariationSpecificsAggregate = '<NameValueList><Name>Color</Name><Value>Blue</Value></NameValueList><NameValueList><Name>Size</Name><Value>L</Value></NameValueList>'

Delete

バリエーションのDelete には、ItemId およびVariationSpecificsAggregate が必須です。

                                          
DELETE FROM ItemVariations WHERE ItemId = '110188946596' AND VariationSpecificsAggregate = '<NameValueList><Name>Color</Name><Value>Blue</Value></NameValueList><NameValueList><Name>Size</Name><Value>L</Value></NameValueList>'

Columns

Name Type ReadOnly Description
ItemId [KEY] String False

The Id that uniquely identifies the item listing. The Id is generated by eBay after an item is listed. You cannot choose or revise this value.

VariationSpecificsAggregate [KEY] String False

A list of name/value pairs that uniquely identify the variation within the listing. All variations must specify the same set of names. For example, if the items vary by color and size, then every variation must specify Color and Size as names, and no two variations can specify the same combination of color and size values.

StartPrice Decimal False

The price of the item at listing or relisting time. If this value changes when the item is revised, the new value becomes this price.

Currency String False

Currency associated with the price information of the item. 3-letter ISO 4217 currency code.

Quantity Integer False

This value indicates the quantity of items in the specific variation that are available for purchase.

QuantitySold Integer False

The total number of items purchased so far. Subtract this from Quantity to determine the quantity available.

SKU String False

A SKU (stock keeping unit) is an identifier defined by a seller. It is only intended for the use of the seller (not for buyers).

EAN String False

This field is used if the seller wishes to identify each product variation within a multivariation listing by an EAN (European Article Number) value.

ISBN String False

This field is used if the seller wishes to identify each product variation within a multivariation listing by an ISBN (International Standard Book Number) value.

UPC String False

This field is used if the seller wishes to identify each product variation within a multivariation listing by a UPC (Universal Product Code) value.

ListingStatus String False

Specifies a listing with an active or ended status in the eBay processing workflow.

CData Cloud

Tasks

Retrieves all the tasks for the marketplace you specify using the MarketplaceId query parameter.

Select

FeedType is required filter in the Select query. You can follow the query below to obtain the required values through SQL:

SELECT * FROM [Tasks] WHERE FeedType = 'LMS_ADD_ITEM'

Some of the fields are named with the suffix Aggr. These fields display the content of the JSON tag with the same name that is returned from the API endpoint.

Insert

FeedType, MarketplaceID and SchemaVersion are required in the Insert query. You can follow the query below to obtain the required values through SQL:

INSERT INTO [Tasks] (FeedType, MarketplaceID, SchemaVersion) VALUES ('LMS_ADD_ITEM', 'EBAY_US', '1149')

Columns

Name Type ReadOnly Description
TaskId [KEY] String True

The ID of the task that was submitted in the request.

Status String True

The enumeration value that indicates the state of the task that was submitted in the request.

FeedType String False

The feed type associated with the task.

CreationDate Datetime True

The date the task was created.

UploadSummaryAggr String True

This container provides summary information on an upload feed (not applicable for download feed types).

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
MarketplaceID String

MarketplaceID of your Ebay account.

SchemaVersion String

The schema version number associated with the task.

CData Cloud

ビュー

ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。

クエリは、ビューに対して通常のテーブルと同様に実行することができます。

CData Cloud - eBay ビュー

Name Description
Bidders Query eBay users that bid on a specified listing, regardless of whether the listing has ended.
Categories Query eBay Categories.
CategoryFeatures Query the settings supported by eBay Categories.
CategorySubtree Retrieve all nodes of the category tree hierarchy (the subtree) below a specified category in a specified category tree.
CategorySuggestions Return an array of suggested categories that eBay has determined correspond to keywords that describe an item.
CategoryTree Retrieve the complete category tree corresponding to a specified category tree ID.
CompatibilityProperties Retrieve an array of parts compatibility aspects that are used to describe compatible vehicles.
CompatibilityPropertyValues Retrieve an array of parts compatibility aspect values that are used to describe compatible vehicles.
Countries Lists the country code and associated name of the countries supported by the eBay system, regardless of the site specified in the request.
Currencies Query the supported Currencies in eBay.
DefaultCategoryTreeId Retrieve the default category tree reference for a specific eBay marketplace.
FulfillmentPolicies Retrieves all the fulfillment policies configured for the marketplace you specify using the MarketplaceId query parameter.
HighestBidder Query the Highest Bidder of the eBay users who bid on a specified listing, regardless of whether the listing has ended.
ItemAspectsForCategory Retrieve an array of aspects that are appropriate for describing items in a specified category.
ItemCompatibilityList Query compatability categories and possible compatability values for a specific item.
ItemShipping Query details pertinent to one or more items for which calculated shipping has been offered by the seller, such as package dimension, weight, and packaging/handling costs.
ItemSpecifics Query item specifics for a specific item.
ItemTransactions Query order line item (transaction) information for a specified listing. For auction listings, order line items are not created until the auction ends with a winning bidder, or if the Buy It Now feature is enabled for the listing and used by the buyer to purchase the item. For fixed-price listings, order line items are created after a buyer has committed to purchase the item(s).
MostWatchedItems Query items with the highest watch counts for the entire site or for a specific category. The top items are determined by the Watch Count totals from the preceding day. Ranking of the Most Watched Items is calculated with the latest Watch Count information.
OrderPayments Query all payments of the orders, in which the authenticated user is either the buyer or seller. By default, only payment details of orders made in the last 90 days are returned. Payment details of orders older than 90 days can be retrieved by specifying OrderId.
Orders Query all orders in which the authenticated user is either the buyer or seller. By default, only orders made in the last 90 days are returned. Orders older than 90 days can be retrieved by specifying OrderId.
OrderShipping Query shipping details of the orders in which the authenticated user is either the buyer or seller. By default, only shipping details of orders made in the last 90 days are returned. Shipping details of orders older than 90 days can be retrieved by specifying OrderId.
PaymentPolicies Retrieves all the payment policies configured for the marketplace you specify using the MarketplaceId query parameter.
ReturnPolicies Retrieves all the return policies configured for the marketplace you specify using the MarketplaceId query parameter.
ShippingCarriers Query Shipping Carriers supported by the specified site.
ShippingCategories A shipping service category supported for the site.
ShippingLocations Lists the regions and locations supported by eBay's shipping services. Returns all shipping locations supported by eBay, regardless of the site specified in the request.
ShippingServices Query Shipping Services supported by the specified eBay site.
Sites Lists all available eBay sites and their associated SiteID numbers.
SuggestedCategories Query eBay list of categories with the highest number of listings.
TopSellingProducts Query your eBay Top Selling Products.
TransactionLinkedItems Query all linked line items of the transactions in which the authenticated user is either the buyer or seller. By default, only linked line items of transactions made in the last 90 days are returned. Linked line items of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.
TransactionPayments Query all payments of the transactions in which the authenticated user is either the buyer or seller. By default, only payments of transactions made in the last 90 days are returned. Payments of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.
TransactionRefunds Query all refunds of the transactions in which the authenticated user is either the buyer or seller. By default, only refunds of transactions made in the last 90 days are returned. Refunds of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.
Transactions Query all transactions in which the authenticated user is either the buyer or seller. By default, only transactions of orders made in the last 90 days are returned. Transactions of orders older than 90 days can be retrieved by specifying OrderId.
TransactionShipping Query shipping details of the transactions in which the authenticated user is either the buyer or seller. By default, only shipping details of transaction made in the last 90 days are returned. Shipping details of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.

CData Cloud

Bidders

Query eBay users that bid on a specified listing, regardless of whether the listing has ended.

テーブル固有の情報

Select

フィルタがサポートされているカラムはItemId およびListMode です。このビューからデータを取得するには、ItemId を指定する必要があります。

SELECT * FROM Bidders WHERE ItemId = '1234567'

SELECT * FROM Bidders WHERE ItemId = '1234567' AND ListMode = 'EndedListing'

Columns

Name Type Description
Action String Indicates the type of offer being made on the specified listing.
MaxBid Decimal Amount of the offer placed. For auction listings, the amount bid on the item (subject to outbid by other buyers). For fixed-price listings, the fixed sale price at which the item is purchased. For auction listings with an active Buy It Now option, this amount will be either the Buy It Now price for purchase or the amount of a bid, depending on the offer type.
Currency String The three-digit currency code for the Max Bid.
ConvertedPrice Decimal The price in the currency specified.
ConvertedPriceCurrency String The three-digit currency Id of the converted price.
HighestBid Decimal Amount the highest bidder has bid on the item. Applicable to only auction listings where there is progressive bidding and winning bidders are determined based on the highest bid.
HighestBidCurrency String The three-digit currency code for the highest bid.
Quantity Integer Specifies the number of items the user tendering the offer intends to purchase, bid on, or make a Best Offer on.
SecondChanceEnabled Boolean Indicates whether user is willing to be the recipient of second chance offers.
SiteCurrency String Unique Id identifying the currency in which the localized offer amounts are expressed.
TimeBid Datetime Date and time the offer or bid was placed.
UserId String Unique eBay user Id for the user.
UserCountry String The two-digit code representing the country of the user.
UserFeedbackScore Integer The aggregate feedback score for a user. A feedback score for a user is the net positive feedback minus the net negative feedback left for the user.
ItemId String The Id of the item. The bidders who bid on this item are returned.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
ListMode String Specifies which bidder information to return. EndedListing returns all nonwinning bidders for ended listings only. It can be used only by a seller. SecondChanceEligibleEndedListing returns all nonwinning bidders for an ended listing who have not yet received a Second Chance Offer and noted interest in receiving a Second Chance Offer. It can be used only by a seller. ViewAll returns all bidders for an ended or still-active listing. It can be used by any user.

使用できる値は次のとおりです。EndedListing, SecondChanceEligibleEndedListing, ViewAll

CData Cloud

Categories

Query eBay Categories.

テーブル固有の情報

Select

フィルタがサポートされているカラムは、CategorySiteId、LevelLimit、およびCategoryParentId です。

SELECT * FROM Categories.
次のクエリによって、特定のカテゴリおよびサブカテゴリの情報を返すことができます。
SELECT * FROM Categories WHERE LevelLimit = '2' AND CategoryParent = '267'

Columns

Name Type Description
CategoryId [KEY] String This string value is the unique identifier of an eBay category.
AutoPayEnabled Boolean Specifies that the corresponding category supports immediate payment for listings.
B2BVATEnabled Boolean Specifies that the corresponding category supports business-to-business (B2B) VAT listings. This feature is applicable to the eBay Germany (DE), Austria (AT), and Switzerland (CH) sites only.
BestOfferEnabled Boolean Specifies that the corresponding category supports Best Offers.
CategoryLevel Integer This integer value indicates the level where the category fits in the category hierarchy of the eBay site. For example, if this field has a value of 2, then the category is two levels below the root category.
CategoryName String This string value is the display name of the eBay primary category, as it would appear on the eBay website.
CategoryParentId String This string value is the category Id of the parent category of the primary category indicated in the CategoryId field.
Expired Boolean Specifies that the corresponding category is no longer a valid eBay category on the site, and items may not be listed in this category.
LeafCategory Boolean Specifies that the corresponding category is an eBay leaf category, a category in which items may be listed.
LSD Boolean Lot Size Disabled. Specifies that the corresponding category does not support lot listings. A lot listing is a listing that features multiple related items that must be purchased by one buyer in one transaction.
ORPA Boolean Override Reserve Price Allowed: Specifies that the corresponding category is an exception to the standard Reserve Price policy on auction listings for the eBay site.
ORRA Boolean Override Reduce Reserve Allowed: Specifies that the corresponding category is an exception to the standard Reduce Reserve Price (on active auction listing) policy.
Virtual Boolean Specifies that the corresponding category is an eBay virtual category, a category in which items may not be listed.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CategorySiteId String The Id of the U.S. eBay site for the category.
LevelLimit String Specifies the maximum depth of the category hierarchy to retrieve, where the top-level categories (metacategories) are at level 1. If not specified, categories are retrieved at all applicable levels.
ViewAllNodes String This value controls whether all eBay categories or only leaf categories that satisfy any WHERE clause restrictions are returned. You can only list items in leaf categories. The default value is true.
DetailLevel String Detail levels are instructions that define subsets of data to return for particular tables. Possible values: ItemReturnAttributes, ItemReturnCategories, ItemReturnDescription, ReturnAll, ReturnHeaders, ReturnMessages, and ReturnSummary.

CData Cloud

CategoryFeatures

Query the settings supported by eBay Categories.

テーブル固有の情報

Select

フィルタがサポートされているカラムは、CategoryId、LevelLimit、AllFeaturesForCategory、およびFeatureId です。CategoryId が指定されていない場合、トップレベルカテゴリのすべてのfeature が返されます。

SELECT * FROM CategoryFeatures WHERE LevelLimit = '2' AND CategoryId = '277'

Columns

Name Type Description
CategoryId String The unique identifier of the category that the setting belongs to.
BestOfferAutoAcceptEnabled Boolean Indicates whether the category supports the Best Offer Automatic Accept feature for fixed-price listings.
BestOfferAutoDeclineEnabled Boolean Indicates whether the category supports the Best Offer Auto Decline feature.
BestOfferCounterEnabled Boolean Indicates whether the category supports sellers offering a counter offer against the Best Offer from a buyer, or a buyer offering a counter offer against the counter offer of the seller. This field is only applicable to fixed-price listings.
BestOfferEnabled Boolean Indicates whether the category supports the Best Offer feature for fixed-price listings.
BrandMPNIdentifierEnabled Boolean Indicates whether the category supports the capability to identify a product using the brand/manufacturer part number combination.
ConditionEnabled String Indicates whether the category supports (or requires) conditions to be specified.
ConditionValuesAggregate String The valid condition Ids for this category.
EANEnabled String Indicates whether or not European Article Numbers (EANs) can be used to help create a listing.
FreeGalleryPlusEnabled Boolean Indicates whether the category supports free, automatic upgrades for Gallery Plus, which enhances pictures in search results.
FreePicturePackEnabled Boolean Indicates whether the category supports free, automatic upgrades for Picture Pack, a discount package that includes super-sizing of pictures.
GlobalShippingEnabled Boolean Specifies whether or not the corresponding category supports the Global Shipping Program (GSP).
Group1MaxFlatShippingCost Double Returns the applicable max. cap per shipping cost for shipping service group 1.
Group2MaxFlatShippingCost Double Returns the applicable max. cap per shipping cost for shipping service group 2.
Group3MaxFlatShippingCost Double Returns the applicable max. cap per shipping cost for shipping service group 3.
HandlingTimeEnabled Boolean If false, listings in this category require a handling time when flat or calculated shipping is specified. A handling time is not required for local pickup or for freight shipping. see DispatchTimeMax in AddItem.
HomePageFeaturedEnabled Boolean Indicates whether or not it is possible to enhance a listing by putting it into a rotation for display on a special area of the eBay home page. Support for this feature varies by site. Item or feedback restrictions may apply.
INEscrowWorkflowTimeline String Indicates the escrow workflow version that applies to the category on the India site: Default Workflow, Workflow A, or Workflow B.
ISBNEnabled String Indicates whether or not International Standard Book Numbers (ISBNs) can be used to help create a listing.
ItemCompatibilityEnabled String Indicates whether the category supports parts compatibility by application (ByApplication), by specification (BySpecification), or not at all (Disabled).
ItemSpecificsEnabled String Indicates whether the category supports custom Item Specifics.
ListingDurations String The listing types and listing durations in days that are supported for the category.
MaxFlatShippingCost Double The maximum cost the seller can charge for the first domestic flat rate shipping service. The total shipping cost is the base flat rate shipping cost plus the cost of insurance, if insurance is required. Mutually exclusive with GroupNMaxFlatShippingCost.
MaxGranularFitmentCount Integer Indicates the maximum fitment count.
MaxItemCompatibility Integer Specifies the maximum number of parts compatibilities.
MinimumReservePrice Double Indicates whether a Minimum Reserve Price is enabled for this category. On the Germany, Austria, Belgium French, and Belgium Dutch sites, Minimum Reserve Price is supported for the Art and Antiques, Watches and Jewelry, and Motorbikes categories.
MinItemCompatibility Integer This field specifies the minimum number of parts compatibilities for listing items.
NonSubscription String The value in this field indicates whether the category supports Motors Local Market listings if the seller does not have a vehicle subscription.
PaisaPayFullEscrowEnabled Boolean Indicates whether the category supports the PaisaPayEscrow payment method. This feature is only applicable to the India site.
PaymentMethods String Indicates the acceptable payment methods that can be used when adding, revising, or relisting an item in the corresponding category.
PaymentProfileCategoryGroup String Indicates the Business Policies category group that can be used for Payment profiles. Only returned when this value (or the setting of this category) overrides the value inherited from the parent category.
PayPalBuyerProtectionEnabled Boolean Whether then buyer protection is allowed for this category.
PayPalRequired Boolean Indicates whether the category requires PayPal as a payment method.
PickupDropOffEnabled Boolean A true value in this field indicates that items listed in the category can be enabled with the Click and Collect feature. With the Click and Collect feature, a buyer can purchase certain items on eBay and collect them at a local store. Buyers are notified by eBay once their items are available.
PremiumSubscription String The value in this field indicates whether the category supports Motors Local Market listings if the seller has a Premium vehicle subscription.
ProductCreationEnabled String Indicates whether a category supports (or requires) product creation in listings. Use this to determine whether it is mandatory to specify the product Id when adding, revising, or relisting.
ProPackEnabled Boolean Indicates whether the category supports the Pro Pack Bundle listing upgrade.
ReturnPolicyEnabled Boolean Only returned when this value (or the setting of this category) overrides the value inherited from the parent of the category.
ReturnPolicyProfileCategoryGroup String Indicates the Business Policies category group that can be used for Return Policy profiles. Only returned when this value (or the setting of this category) overrides the value inherited from the parent of the category.
RevisePriceAllowed Boolean Indicates if the category allows the seller to revise the price of a fixed-price listing.
ReviseQuantityAllowed Boolean Indicates if the category allows the seller to revise the quantity of a multiquantity, active listing.
SafePaymentRequired Boolean Indicates whether listings in this category need to have a safe payment method.
SellerContactDetailsEnabled Boolean Indicates whether this category supports seller-level contact information for Classified Ad listings.
SellerProvidedTitleSupported Boolean This boolean field indicates whether a category supports Seller Provided Titles in listings.
ShippingProfileCategoryGroup String Indicates the Business Policies category group that can be used for Shipping profiles. Only returned when this value (or the setting of this category) overrides the value inherited from the parent of the category.
ShippingTermsRequired Boolean Indicates whether the category requires sellers to specify shipping details at listing time.
SpecialitySubscription String The value in this field indicates whether the category supports Motors Local Market listings if the seller has a Specialty vehicle subscription.
ListingDurationsAggregate String Provides additional listings durations that are available to eBay Store owners. The extended listing durations provided here in this element should be merged in with the baseline listing durations provided in the ListingDurations column. Applies to fixed-price Listings.
TransactionConfirmationRequestEnabled Boolean Defines if transaction confirmation requests are enabled in a given category.
UPCEnabled String Indicates whether or not Universal Product Codes (UPCs) can be used to help create a listing.
UserConsentRequired Boolean Indicates whether a bidder must consent to the bid by confirming that he or she read and agrees to the terms in the privacy policy of eBay.
ValueCategory Boolean Some eBay sites may select a few categories and designate them as value categories. These are typically selected from categories where buyers can find great deals. This designation can change over time.
ValuePackEnabled Boolean Indicates whether the category supports the Value Pack bundle listing upgrade.
VariationsEnabled Boolean If true, you can create multiple-variation listings when you list a fixed-price item in this category.
VINSupported Boolean Indicates if the category supports the use of the VIN (Vehicle Identification Number) field to identify a motor vehicle and create a listing. VINs are supported on the US, Canada, Canada-French, and Australia sites.
VRMSupported Boolean Indicates if the category supports the use of the VRM (Vehicle Registration Mark) field to identify a motor vehicle and create a listing. VRMs are only supported on the UK site.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
AllFeaturesForCategory String Use this switch to view all of the feature settings for a specific category. All feature settings are returned, regardless of the site default settings. This element works in conjunction with CategoryId--refer to the notes for that element for more details. If you also set FeatureId, eBay returns the status of the specified features only for the specified category. Default: false.
FeatureId String Use this field if you want to know if specific features are enabled at the site or root category level. Multiple FeatureId elements can be used in the request.
LevelLimit String A level of depth in the category hierarchy. Retrieves all category nodes with a CategoryLevel less than or equal to the LevelLimit value. The root category is 0.

使用できる値は次のとおりです。1

ViewAllNodes String If set, eBay returns the site defaults along with all the categories that override the feature settings they inherit. That is, this column contains only the features that the category has overridden from its parent category.
DetailLevel String Detail levels are instructions that define subsets of data to return for particular tables. Possible values: ItemReturnAttributes, ItemReturnCategories, ItemReturnDescription, ReturnAll, ReturnHeaders, ReturnMessages, and ReturnSummary.

CData Cloud

CategorySubtree

Retrieve all nodes of the category tree hierarchy (the subtree) below a specified category in a specified category tree.

Table Specific Information

Select

The Cloud will use the eBay API to process WHERE clause conditions built with the following column and operator. The CategoryTreeId and CategoryId is required to make a request and the rest of the filter is executed client-side within the Cloud.

  • CategoryTreeId supports the '=' comparison.
  • CategoryId supports the '=' comparison.
For example:
    SELECT * FROM CategorySubtree WHERE CategoryTreeId = 0 AND CategoryId = 11450

Columns

Name Type Description
CategoryTreeId [KEY] String The unique identifier of the eBay category tree to which this subtree belongs.
categoryTreeVersion String The version of the category tree identified by categoryTreeId.
categorySubtreeNode String Contains details of all nodes of the category subtree hierarchy below a specified node. This is a recursive structure.
category String Contains details about the current category tree node.
categoryName String The name of the category identified by categoryId.
categoryTreeNodeLevel Integer The absolute level of the current category tree node in the hierarchy of its category tree.
childCategoryTreeNodes String An array of one or more category tree nodes that are the immediate children of the current category tree node, as well as their children, recursively down to the leaf nodes.
category String Contains details about the current category tree node.
categoryName String The name of the category identified by categoryId.
categoryTreeNodeLevel Integer The absolute level of the current category tree node in the hierarchy of its category tree.
childCategoryTreeNodes String An array of one or more category tree nodes that are the immediate children of the current category tree node, as well as their children, recursively down to the leaf nodes.
category String Contains details about the current category tree node.
categoryName String The name of the category identified by categoryId.
categoryTreeNodeLevel Integer The absolute level of the current category tree node in the hierarchy of its category tree.
childCategoryTreeNodes String An array of one or more category tree nodes that are the immediate children of the current category tree node, as well as their children, recursively down to the leaf nodes.
leafCategoryTreeNode Boolean A value of true indicates that the current category tree node is a leaf node (it has no child nodes). A value of false indicates that the current node has one or more child nodes, which are identified by the childCategoryTreeNodes array.
parentCategoryTreeNodeHref String The href portion of the getCategorySubtree call that retrieves the subtree below the parent of this category tree node.
leafCategoryTreeNode Boolean A value of true indicates that the current category tree node is a leaf node (it has no child nodes). A value of false indicates that the current node has one or more child nodes, which are identified by the childCategoryTreeNodes array.
parentCategoryTreeNodeHref String The href portion of the getCategorySubtree call that retrieves the subtree below the parent of this category tree node.
leafCategoryTreeNode Boolean A value of true indicates that the current category tree node is a leaf node (it has no child nodes). A value of false indicates that the current node has one or more child nodes, which are identified by the childCategoryTreeNodes array.
parentCategoryTreeNodeHref String The href portion of the getCategorySubtree call that retrieves the subtree below the parent of this category tree node.
CategoryId String The unique identifier of the category at the top of the subtree being requested.

CData Cloud

CategorySuggestions

Return an array of suggested categories that eBay has determined correspond to keywords that describe an item.

Table Specific Information

Select

The Cloud will use the eBay API to process WHERE clause conditions built with the following column and operator. The CategoryTreeId and Q is required to make a request and the rest of the filter is executed client-side within the Cloud.

  • CategoryTreeId supports the '=' comparison.
  • Q supports the '=' comparison.
For example:
    SELECT * FROM CategorySuggestions WHERE CategoryTreeId = 0 AND Q = 'iphone'
	

Columns

Name Type Description
CategoryTreeId [KEY] String The unique identifier of the eBay category tree from which suggestions are returned.
categoryTreeVersion String The version of the category tree identified by categoryTreeId.
categorySuggestions String Contains details about one or more suggested categories that correspond to the provided keywords.
category String Contains details about the suggested category.
categoryId String The unique identifier of the eBay category within its category tree.
categoryName String The name of the category identified by categoryId.
categoryTreeNodeAncestors String An ordered list of category references that describes the location of the suggested category in the specified category tree.
categoryId String The unique identifier of the eBay ancestor category.
categoryName String The name of the ancestor category identified by categoryId.
categorySubtreeNodeHref String The href portion of the getCategorySubtree call that retrieves the subtree below the ancestor category node.
categoryTreeNodeLevel String The absolute level of the ancestor category node in the hierarchy of its category tree.
categoryTreeNodeLevel Integer The absolute level of the category tree node in the hierarchy of its category tree.
relevancy String This field is reserved for internal or future use.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Q String A quoted string that describes or characterizes the item being offered for sale.

CData Cloud

CategoryTree

Retrieve the complete category tree corresponding to a specified category tree ID.

Table Specific Information

Select

The Cloud will use the eBay API to process WHERE clause conditions built with the following column and operator. The CategoryTreeId is required to make a request and the rest of the filter is executed client-side within the Cloud.

  • CategoryTreeId supports the '=' comparison.
For example:
    SELECT * FROM CategoryTree WHERE CategoryTreeId = 0

Columns

Name Type Description
CategoryTreeId [KEY] String The unique identifier of the eBay category tree for the specified marketplace.
categoryTreeVersion String The version of the category tree identified by categoryTreeId.
applicableMarketplaceIds String A list of one or more identifiers of the eBay marketplaces that use this category tree.
rootCategoryNode String Contains details of all nodes of the category tree hierarchy, starting with the root node and down to the leaf nodes.
category String Contains details about the current category tree node.
categoryId String The unique identifier of the eBay category within its category tree.
categoryName String The name of the category identified by categoryId.
categoryTreeNodeLevel Integer The absolute level of the current category tree node in the hierarchy of its category tree.
childCategoryTreeNodes String An array of one or more category tree nodes that are the immediate children of the current category tree node, as well as their children, recursively down to the leaf nodes.
category String Contains details about the current category tree node.
categoryId String The unique identifier of the eBay category within its category tree.
categoryName String The name of the category identified by categoryId.
categoryTreeNodeLevel Integer The absolute level of the current category tree node in the hierarchy of its category tree.
childCategoryTreeNodes String An array of one or more category tree nodes that are the immediate children of the current category tree node, as well as their children, recursively down to the leaf nodes.
category String Contains details about the current category tree node.
categoryId String The unique identifier of the eBay category within its category tree.
categoryName String The name of the category identified by categoryId.
categoryTreeNodeLevel Integer The absolute level of the current category tree node in the hierarchy of its category tree.
childCategoryTreeNodes String An array of one or more category tree nodes that are the immediate children of the current category tree node, as well as their children, recursively down to the leaf nodes.
leafCategoryTreeNode Boolean A value of true indicates that the current category tree node is a leaf node (it has no child nodes). A value of false indicates that the current node has one or more child nodes, which are identified by the childCategoryTreeNodes array.
parentCategoryTreeNodeHref String The href portion of the getCategorySubtree call that retrieves the subtree below the parent of this category tree node.
leafCategoryTreeNode Boolean A value of true indicates that the current category tree node is a leaf node (it has no child nodes). A value of false indicates that the current node has one or more child nodes, which are identified by the childCategoryTreeNodes array.
parentCategoryTreeNodeHref String The href portion of the getCategorySubtree call that retrieves the subtree below the parent of this category tree node.
leafCategoryTreeNode Boolean A value of true indicates that the current category tree node is a leaf node (it has no child nodes). A value of false indicates that the current node has one or more child nodes, which are identified by the childCategoryTreeNodes array.
parentCategoryTreeNodeHref String The href portion of the getCategorySubtree call that retrieves the subtree below the parent of this category tree node.

CData Cloud

CompatibilityProperties

Retrieve an array of parts compatibility aspects that are used to describe compatible vehicles.

Table Specific Information

Select

The Cloud will use the eBay API to process WHERE clause conditions built with the following column and operator. The CategoryTreeId and CategoryId is required to make a request and the rest of the filter is executed client-side within the Cloud.

  • CategoryTreeId supports the '=' comparison.
  • CategoryId supports the '=' comparison.
For example:
    SELECT * FROM CompatibilityProperties WHERE CategoryTreeId = 101 AND CategoryId = 33559
	

Columns

Name Type Description
CategoryTreeId [KEY] String This is the unique identifier of category tree.
CategoryId String The unique identifier of an eBay category.
CompatibilityPropertyName String This is the actual name of the compatible vehicle property as it is known on the specified eBay marketplace and in the eBay category.
CompatibilityPropertyLocalizedName String This is the localized name of the compatible vehicle property.

CData Cloud

CompatibilityPropertyValues

Retrieve an array of parts compatibility aspect values that are used to describe compatible vehicles.

Table Specific Information

Select

The Cloud will use the eBay API to process WHERE clause conditions built with the following column and operator. The CategoryTreeId, CategoryId and CompatibilityProperty is required to make a request and the rest of the filter is executed client-side within the Cloud.

  • CategoryTreeId supports the '=' comparison.
  • CategoryId supports the '=' comparison.
  • CompatibilityProperty supports the '=' comparison.
For example:
    SELECT * FROM CompatibilityPropertyValues WHERE CategoryTreeId = 101 AND CategoryId = 33559 AND CompatibilityProperty = 'Trim'
	

Columns

Name Type Description
CategoryTreeId [KEY] String This is the unique identifier of category tree.
CompatibilityProperty [KEY] String This is the actual name of the compatible vehicle property as it is known on the specified eBay marketplace and in the eBay category.
CategoryId [KEY] String The unique identifier of an eBay category.
CompatibilityPropertyValues String Each value field shows one applicable compatible vehicle property value.

CData Cloud

Countries

Lists the country code and associated name of the countries supported by the eBay system, regardless of the site specified in the request.

Columns

Name Type Description
Country String Two-letter code representing a country. These two-letter codes are typically used in Add/Revise/Relist calls when referring to a country.
Description String Full country name for display purposes. May be similar to (but not necessarily identical to) CountryName in addresses (e.g., User.RegistrationAddress.CountryName in GetUser).
DetailVersion String Returns the latest version number for this field. The version can be used to determine if and when to refresh cached client data.
UpdateTime Datetime Gives the time in GMT that the feature flags for the details were last updated. This timestamp can be used to determine if and when to refresh cached client data.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
DetailName String A designation of what kind of information you wish returned for the specified eBay site.

使用できる値は次のとおりです。CountryDetails

CData Cloud

Currencies

Query the supported Currencies in eBay.

テーブル固有の情報

Select

すべてのサポートされている通貨を返します。フィルタがサポートされているカラムはありません。

SELECT * FROM Currencies 

Columns

Name Type Description
Currency String The three-digit currency code as defined in ISO 4217.
Description String Full currency name for display purposes.
DetailVersion String Returns the latest version number for this field.
UpdateTime Datetime Gives the time in GMT that the feature fields for the details were last updated.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
DetailName String If set to a value of CurrencyDetails, additional currency details are returned.

使用できる値は次のとおりです。CurrencyDetails

CData Cloud

DefaultCategoryTreeId

Retrieve the default category tree reference for a specific eBay marketplace.

Table Specific Information

Select

The Cloud will use the eBay API to process WHERE clause conditions built with the following column and operator. The MarketplaceId is required to make a request and the rest of the filter is executed client-side within the Cloud.

  • MarketplaceId supports the '=' comparison.
For example:
    SELECT * FROM DefaultCategoryTreeId WHERE MarketplaceId = 'EBAY_US'
	

Columns

Name Type Description
CategoryTreeId [KEY] String The unique identifier of the eBay category tree for the specified marketplace.
CategoryTreeVersion String The version of the category tree identified by categoryTreeId.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
MarketplaceId String The ID of the eBay marketplace for which the category tree ID is being requested.

CData Cloud

FulfillmentPolicies

Retrieves all the fulfillment policies configured for the marketplace you specify using the MarketplaceId query parameter.

Select

MarketplaceId is required filter in the Select query. You can follow the query below to obtain the required values through SQL:

SELECT * FROM FulfillmentPolicies WHERE MarketplaceId = 'EBAY_US'

Some of the fields are named with the suffix Aggr. These fields display the content of the JSON tag with the same name that is returned from the API endpoint.

Columns

Name Type Description
FulfillmentPolicyId [KEY] String A unique eBay-assigned ID for the fulfillment policy. This ID is generated when the policy is created.
Name String A user-defined name for this fulfillment policy. Names must be unique for policies assigned to the same marketplace.
Description String An optional seller-defined description of the fulfillment policy for internal use (this value is not displayed to end users).
CategoryTypesAggr String The CategoryTypeEnum value to which this policy applies. Used to discern accounts that sell motor vehicles from those that don't. (Currently, each policy can be set to only one categoryTypes value at a time.)
MarketplaceId String The ID of the eBay marketplace to which this fulfillment policy applies.
FreightShipping Boolean If set to true, the seller offers freight shipping. Freight shipping can be used for large items over 150 lbs.
GlobalShipping Boolean Indicates if the seller has opted-in to the eBay Global Shipping Program and that they use that service for their international shipments.
HandlingTimeValue Integer The maximum number of business days the seller commits to for preparing and shipping an order after receiving a cleared payment for the order.
HandlingTimeUnit String A time-measurement unit that specifies a singular period of time used for HandlingTimeValue.
LocalPickup Boolean Identifies if the shipping is offered by this policy and the seller offers only local pickup of the item (normally from a non-business location).
PickupDropOff Boolean If set to true, the seller offers the
ShipToLocationsAggr String This object contains the regionIncluded and regionExcluded fields, which define the geographical regions that a seller does and does not cover by the associated shipping policy.
ShippingOptionsAggr String A list that defines the seller's shipping configurations for DOMESTIC and INTERNATIONAL order shipments.

CData Cloud

HighestBidder

Query the Highest Bidder of the eBay users who bid on a specified listing, regardless of whether the listing has ended.

テーブル固有の情報

Select

フィルタがサポートされているカラムはItemId およびListMode です。このビューからデータを取得するには、ItemId を指定する必要があります。

SELECT * FROM HighestBidder WHERE ItemId = '1234567'

SELECT * FROM HighestBidder WHERE ItemId = '1234567' AND ListMode = 'EndedListing'

Columns

Name Type Description
ItemId String The Id of the item. The bidders who bid on this item are returned.
HighBidder String eBay user Id for the user with the highest bid (or the earliest timestamp, in the event of a tie); a second chance offer candidate.
HighestBid Decimal Bid amount offered by the highest bidder.
Currency String Currency code of the bid.
ListingStatus String Specifies the status of an active or ended listing in the processing workflow of the eBay system. If a listing ends with a sale (or sales), eBay needs to update the sale details (e.g., total price and buyer/high bidder) and the final value fee. This processing can take several minutes. If you retrieve a sold item and no details about the buyer/high bidder are returned or no final value fee is available, use this listing status information to determine whether eBay has finished processing the listing.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
ListMode String Specifies which bidder information to return. EndedListing returns all nonwinning bidders for ended listings only. It can be used only by a seller. SecondChanceEligibleEndedListing returns all nonwinning bidders for an ended listing who have not yet received a Second Chance Offer and noted interest in receiving a Second Chance Offer. It can be used only by a seller. ViewAll returns all bidders for an ended or still-active listing. It can be used by any user.

使用できる値は次のとおりです。EndedListing, SecondChanceEligibleEndedListing, ViewAll

CData Cloud

ItemAspectsForCategory

Retrieve an array of aspects that are appropriate for describing items in a specified category.

Table Specific Information

Select

The Cloud will use the eBay API to process WHERE clause conditions built with the following column and operator. The CategoryTreeId and CategoryId is required to make a request and the rest of the filter is executed client-side within the Cloud.

  • CategoryTreeId supports the '=' comparison.
  • CategoryId supports the '=' comparison.
For example:
    SELECT * FROM ItemAspectsForCategory WHERE CategoryTreeId = 101 AND CategoryId = 67726

Columns

Name Type Description
CategoryTreeId [KEY] String The unique identifier of the eBay category tree from which the specified category's aspects are being requested.
aspects String A list of item aspects (for example, color) that are appropriate or necessary for accurately describing items in a particular leaf category.
aspectConstraint String Information about the formatting, occurrence, and support of this aspect.
aspectApplicableTo String This value indicate if the aspect identified by the aspects.localizedAspectName field is a product aspect or an item/instance aspect.
aspectDataType String The data type of this aspect.
aspectEnabledForVariations Boolean A value of true indicates that this aspect can be used to help identify item variations.
aspectFormat String Returned only if the value of aspectDataType identifies a data type that requires specific formatting.
aspectMaxLength Integer The maximum length of the item/instance aspect's value.
aspectMode String The manner in which values of this aspect must be specified by the seller (as free text or by selecting from available options).
aspectRequired Boolean A value of true indicates that this aspect is required when offering items in the specified category.
aspectUsage String The enumeration value returned in this field will indicate if the corresponding aspect is recommended or optional.
expectedRequiredByDate String The expected date after which the aspect will be required.
itemToAspectCardinality String Indicates whether this aspect can accept single or multiple values for items in the specified category.
aspectValues String A list of valid values for this aspect (for example: Red, Green, and Blue), along with any constraints on those values.
localizedValue String The localized value of this aspect.
valueConstraints String Not returned if the value of the localizedValue field can always be selected for this aspect of the specified category.
applicableForLocalizedAspectName String The name of the control aspect on which the current aspect value depends.
applicableForLocalizedAspectValues String Contains a list of the values of the control aspect on which this aspect's value depends.
localizedAspectName String The localized name of this aspect (for example: Colour on the eBay UK site).
relevanceIndicator String The relevance of this aspect. This field is returned if eBay has data on how many searches have been performed for listings in the category using this item aspect.
searchCount Integer The number of recent searches (based on 30 days of data) for the aspect.
CategoryId String The unique identifier of an eBay category.

CData Cloud

ItemCompatibilityList

Query compatability categories and possible compatability values for a specific item.

Columns

Name Type Description
ItemId [KEY] String The Id that uniquely identifies the item listing. The Id is generated by eBay after an item is listed. You cannot choose or revise this value.
CompatibilityAttributes String A list of all potential compatability catagories for the specified item.
PossibleCompatibilities String A list of all possible compatability values for the specified item.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
IncludeItemCompatibilityList String This is used to include ItemCompatibilityList items and should not be set manually.

CData Cloud

ItemShipping

Query details pertinent to one or more items for which calculated shipping has been offered by the seller, such as package dimension, weight, and packaging/handling costs.

テーブル固有の情報

Select

このビューからデータを取得するには、DestinationCountryCode およびItemId フィルタを指定する必要があります。オプションとしてQuantitySold フィルタを指定することもできます。

SELECT * FROM ItemShipping WHERE ItemId = '110177686055' AND DestinationCountryCode = 'US'

Columns

Name Type Description
ItemId String The item Id that uniquely identifies the item listing for which to retrieve the data. Required input.
DestinationCountryCode String Destination country code. If DestinationCountryCode is US, a postal code is required and it represents the U.S. ZIP code. Default: US.
ExpeditedService Boolean Indicates whether the service is an expedited shipping service.
FreeShipping Boolean Specifies that the seller wants to offer free shipping. This applies only to the first specified domestic shipping service and is ignored if set for any other shipping service.
ImportCharge Decimal The total cost of customs and taxes for the international leg of an order shipped using the Global Shipping Program. This amount is calculated and supplied for each item by the international shipping provider when a buyer views the item properties.
Currency String Currency Id
ShippingService String A shipping service option being offered by the seller to ship an item to a buyer. For a list of valid ShippingService values, call GeteBayDetails with DetailName set to ShippingServiceDetails. The ShippingServiceDetails.ValidForSellingFlow flag must also be present. Otherwise, that particular shipping service option is no longer valid and cannot be offered to buyers through a listing.
ShippingInsuranceCost Decimal The insurance cost associated with shipping a single item with this shipping service.
ShippingServiceAdditionalCost Decimal A shipping service option being offered by the seller to ship an item to a buyer. For a list of valid ShippingService values, call GeteBayDetails with DetailName set to ShippingServiceDetails. The ShippingServiceDetails.ValidForSellingFlow flag must also be present. Otherwise, that particular shipping service option is no longer valid and cannot be offered to buyers through a listing.
ShippingServiceCost Decimal The base cost of shipping the item using the shipping service specified in the ShippingService field. In the case of a multiple-quantity, fixed-price listing, the ShippingServiceAdditionalCost field shows the cost to ship each additional item if the buyer purchases multiple quantity of the same line item.
ShippingServicePriority Integer Controls the order (relative to other shipping services) in which the corresponding ShippingService will appear in the View Item and Checkout page.
ShippingTimeMax Integer The maximum guaranteed number of days the shipping carrier will take to ship an item (not including the time it takes the seller to deliver the item to the shipping carrier).
ShippingTimeMin Integer The minimum guaranteed number of days in which the shipping carrier can ship an item (not including the time it takes the seller to deliver the item to the shipping carrier).

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
QuantitySold String Number of items sold to a single buyer and to be shipped together.
DestinationPostalCode String Destination country postal code (or ZIP code for U.S.). Ignored if no country code is provided. Optional tag for some countries. More likely to be required for large countries.

CData Cloud

ItemSpecifics

Query item specifics for a specific item.

Columns

Name Type Description
ItemId String The Id that uniquely identifies the item listing. The Id is generated by eBay after an item is listed. You cannot choose or revise this value.
Attribute String The name of the attribute for the specified item.
Specifics String Comma separated list of values for the specified item attribute.
Source String Enumerated value indicating whether the Item Specific was manually input or selected during listing/revision/re-listing time, or if the Item Specific name-value pair came from an eBay catalog product that the listing is associated with.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
IncludeItemSpecifics String This is used to include ItemSpecifics items and should not be set manually.

CData Cloud

ItemTransactions

Query order line item (transaction) information for a specified listing. For auction listings, order line items are not created until the auction ends with a winning bidder, or if the Buy It Now feature is enabled for the listing and used by the buyer to purchase the item. For fixed-price listings, order line items are created after a buyer has committed to purchase the item(s).

テーブル固有の情報

Select

Transaction information を取得すには、ItemId カラムを指定する必要があります。

特定のitem のすべてのTransaction を取得する。

SELECT * FROM ItemTransactions WHERE ItemId = '012345678901'

過去の日数を指定して、Transaction の数をフィルタする。

SELECT * FROM ItemTransactions WHERE ItemId = '012345678901' AND NumberOfDays = '25'

特定のitem の特定のTransaction の情報を取得する。

SELECT * FROM ItemTransactions WHERE ItemId = '012345678901' AND TransactionId = '0'

Columns

Name Type Description
OrderLineItemId [KEY] String A unique identifier for an eBay order line item. This field is created as soon as there is a commitment to buy from the seller, and its value is based upon the concatenation of ItemId and TransactionId with a hyphen in between these two Ids.
TransactionId String The unique identifier for a transaction that was made for a specific item. If a TransactionId is provided, any specified time filter is ignored.
ItemId String Unique identifier for an eBay item listing.
HandlingCost Decimal The handling cost that the seller has charged for the order line item. This field is only returned after checkout is complete. The value of this field is returned as zero dollars (0.0) if the seller did not specify a handling cost for the listing.
ShippingCost Decimal The shipping cost paid by the buyer for the order line item. This field is only returned after checkout is complete.
AdjustmentAmount Decimal Adjustment amount entered by the buyer. A positive amount indicates the amount is an extra charge being paid to the seller by the buyer. A negative value indicates this amount is a credit given to the buyer by the seller.
AmountPaid Decimal The total amount the buyer paid for the order line item.
Currency String A standard 3-digit ISO 4217 currency code for currency used in countries around the world.
BestOfferSale Boolean Indicates whether or not the order line item was created as the result of the seller accepting a Best Offer from a buyer.
BuyerId String Unique eBay user Id for the user.
BuyerCheckoutMessage String This field is returned if a buyer left a comment for the seller during the checkout flow.
CreatedDate Datetime Indicates the creation time of the order line item.
DepositType String This value indicates whether or not the seller requires a deposit for the vehicle. This field is only applicable to U.S. eBay Motors listings. Otherwise, this field is returned as an empty value.
EBayPlusTransaction Boolean If true, this transaction is for an item that was purchased under the eBay Plus program.
ExtendedOrderId String A unique identifier for an eBay order.
FinalValueFee Decimal A Final Value Fee is calculated and charged to the account of a seller immediately upon creation of an order line item.
Gift Boolean This boolean field is returned as true if the seller is giving a digital gift card to another individual as a gift. This field is only applicable for digital gift card order line items.
GiftSummaryMessage String This free-form text contains the message that the purchaser of the digital gift card left for the recipient of the gift card.
IntangibleItem Boolean This flag indicates whether or not the order line item is an intangible good such as an MP3 track or a mobile phone ringtone. Intangible items are not eligible for the PayPal Seller Protection program, so the seller will not be able to open an Unpaid Item case against the buyer.
InvoiceSentTime Datetime This field indicates the date and time that an order invoice was sent from the seller to the buyer. This field is only returned if an invoice (containing the order line item) was sent to the buyer.
IsMultiLegShipping Boolean If IsMultilegShipping is true, the Global Shipping Program (GSP) will be used to ship the order line item to an international buyer.
LogisticsPlanType String This field will be returned only if the buyer purchased a digital gift card, which is delivered by email, or if the buyer purchased an item that is enabled with the Click and Collect feature.
PaidTime Datetime Indicates the time when the order was marked paid. This field is not returned until payment has been made by the buyer. This field will not be returned for orders where the buyer has received partial or full refunds.
QuantityPurchased Integer This value indicates the number of identical items purchased at the same time by the same buyer from one listing.
ShippedTime Datetime Indicates the time when the items associated with the order were marked as shipped. This value will only be visible to the user on either side of the order. An order can be marked as shipped in My eBay, Selling Manager Pro, or programmatically by the seller through the CompleteSale stored procedure.
ShippingConvenienceCharge Decimal The amount that the seller is being charged for the convenience of an eBay Now delivery.
ExpeditedService Boolean Indicates whether the service is an expedited shipping service.
ShippingServiceImportCharge Decimal The total cost of customs and taxes for the international leg of an order shipped using the Global Shipping Program. This amount is calculated and supplied for each item by the international shipping provider when a buyer views the item properties.
ShippingInsuranceCost Decimal The insurance cost associated with shipping a single item with this shipping service.
ShippingPackageInfo String If the order is being delivered through eBay Now, it contains information on the status of the order, the unique identifier of the store where the order is originating from, and the expected and actual delivery times.
ShippingService String A shipping service option being offered by the seller to ship an item to a buyer.
ShippingServiceAdditionalCost Decimal The cost of shipping each additional item if the same buyer purchases one or more of the same line item.
ShippingServiceCost Decimal The base cost using the shipping service specified in the ShippingService field to ship the item. In the case of a multiple quantity, fixed-price listing, the ShippingServiceAdditionalCost field shows the cost to ship each additional item if the buyer purchases one or more of the same line item.
ShippingServicePriority Integer This integer value controls the order (relative to other shipping services) in which the corresponding ShippingService will appear in the View Item and Checkout page.
ShippingTimeMax Integer The maximum guaranteed number of days the shipping carrier will take to ship an item (not including the time it takes the seller to deliver the item to the shipping carrier).
ShippingTimeMin Integer The minimum guaranteed number of days in which the shipping carrier can ship an item (not including the time it takes the seller to deliver the item to the shipping carrier).
BuyerSelectedShipping Boolean Indicates whether the buyer has selected shipping details during checkout.
CheckoutStatus String Indicates the current status of the checkout flow for the order.
CompleteStatus String Indicates whether checkout is complete, incomplete, or pending for an order.
DigitalStatus String The current state of a purchased digital gift card.
EBayPaymentStatus String Indicates the success or failure of the online payment for an order by the buyer.
InquiryStatus String This field gives the status of an Item Not Received (INR) Inquiry by the buyer. This field is only returned if the buyer has created an INR Inquiry.
LastTimeModified Datetime Indicates date and time the status of an order was last updated (in GMT).
PaymentHoldStatus String This field indicates the type and/or status of a payment hold on the item.
PaymentInstrument String The payment method used by a German buyer who was offered the Pay Upon Invoice option. This field will only be returned if a German buyer was offered the Pay Upon Invoice option. Otherwise, the payment method selected by the buyer is returned in the PaymentMethodUsed field.
PaymentMethodUsed String The payment method that the buyer selected to pay for the order. If checkout is not yet complete, PaymentMethodUsed is set to whatever the buyer selected as his or her preference on the Review Your Purchase page.
ReturnStatus String This field gives the status of a return request from the buyer. This field is only returned if the buyer has initiated a return request or has escalated an existing return request into a return case.
TransactionPrice Decimal The price of the order line item (transaction).

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
ModTimeFrom String The ModTimeFrom and ModTimeTo fields specify a date range for retrieving order line items associated with the specified ItemId. The ModTimeFrom field is the starting date range.
ModTimeTo String The ModTimeFrom and ModTimeTo fields specify a date range for retrieving order line items associated with the specified ItemId. The ModTimeTo field is the ending date range.
NumberOfDays String This time filter specifies the number of days (24-hour periods) in the past to search for order line items.

CData Cloud

MostWatchedItems

Query items with the highest watch counts for the entire site or for a specific category. The top items are determined by the Watch Count totals from the preceding day. Ranking of the Most Watched Items is calculated with the latest Watch Count information.

テーブル固有の情報

Select

フィルタに使えるカラムは、CategoryId、AffiliateCustomId、AffiliateNetworkId、およびAffiliateTrackingId です。これらのフィルタはオプションです。

SELECT * FROM MostWatchedItems

SELECT * FROM MostWatchedItems WHERE CategoryId = '277' 

Columns

Name Type Description
ItemId [KEY] String The Id that uniquely identifies the item listing. The Id is generated by eBay after an item is listed.
Title String Name of the item as it appears in the listing or search results.
Subtitle String Subtitle of the item. Only returned if the seller included a subtitle for the listing.
WatchCount Integer The number of watches placed on this item from the My eBay accounts of the buyers.
BidCount Integer The number of bids that have been placed on the item.
BuyItNowPrice Decimal The Buy It Now Price of the item (if any), in the currency of the site on which the item was listed.
Currency String The 3-digit ISO 4217 currency codes for the currency used by the site.
OriginalRetailPrice Decimal The actual retail price set by the manufacturer (OEM).
PricingTreatment String Using OriginalRetailPrice, MinimumAdvertisedPrice, and StartPrice values, eBay identifies whether the listing falls under MAP or STP (aka OriginalRetailPrice).
SoldOffEbay Boolean Used by the eBay UK and eBay Germany (DE) sites, this flag indicates that the discount price (specified as StartPrice) is the price for which the seller offered the same (or similar) item for sale on a Web site or offline store other than eBay in the previous 30 days. The discount price is always in reference to the price for the item set by the seller.
SoldOnEbay Boolean Used by the eBay UK and eBay Germany (DE) sites, this flag indicates that the discount price (specified as StartPrice) is the price for which the seller offered the same (or similar) item for sale on eBay in the previous 30 days. The discount price is always in reference to the price for the item set by the seller.
GlobalId String The site upon which the item is listed. Returns a Global Id, which is a unique identifier for combinations of site, language, and territory.
ImageURL String URL for a picture used as the Gallery thumbnail, if any. The image uses one of the following graphics formats: JPEG, BMP, TIF, or GIF. Only returned if the seller chose to show a gallery image.
OriginalPrice Decimal Original price of an item whose price a seller has reduced with the Promotional Price Display feature. Only returned if the price has been revised.
PrimaryCategoryId String Numeric Id of the first (or only) category in which the item is listed. (Listings can appear in more than one category.)
PrimaryCategoryName String Display name of the first (or only) category in which the item is listed. This is a fully qualified category breadcrumb (e.g., Computers & Networking:Laptops, Notebooks).
ShippingCost Decimal The shipping cost associated with the first shipping service. Only returned when ShippingType is flat.
ShippingType String The shipping cost model offered by the seller.
TimeLeft String Time left before the item listing ends. The duration is represented in the ISO 8601 duration format (PnDTnHnMnS). For ended listings, the time left is P0DT0H0M0S (zero days, zero hours, zero minutes, and zero seconds).
ViewItemURL String The URL of the Web page where a user can view the listing. On the U.S. site, this is called the View Item page. If you enabled affiliate tracking in the call, ViewItemURL contains a string that includes affiliate tracking information (see the eBay Partner Network).

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CategoryId String Specifies the category from which to retrieve item listings.
AffiliateCustomId String Need not be specified. You can define an AffiliateCustomId to better monitor your marketing efforts. If you are using the eBay Partner Network, and you provide an AffiliateCustomId, the tracking URL returned by the eBay Partner Network will contain the AffiliateUserId.
AffiliateNetworkId String Specifies your tracking partner for affiliate commissions.
AffiliateTrackingId String The value you specify is obtained from your tracking partner.

CData Cloud

OrderPayments

Query all payments of the orders, in which the authenticated user is either the buyer or seller. By default, only payment details of orders made in the last 90 days are returned. Payment details of orders older than 90 days can be retrieved by specifying OrderId.

ビュー固有の情報

Select

OrderPayments ビューのクエリ例:

SELECT * FROM OrderPayments WHERE ModTimeFrom = '2/22/2018'

SELECT * FROM OrderPayments WHERE NumberOfDays = '30'

Columns

Name Type Description
PaymentId [KEY] String A unique transaction ID for the payment.
OrderId String A unique identifier for an eBay order.
FeeOrCreditAmount Decimal Fee Amount is a positive value and Credit Amount is a negative value.
Payee String The person or organization who is to receive the payment allocation.
Payer String This field indicates the eBay user or eBay partner who submitted the payment.
PaymentAmount Decimal The amount of the payment that is allocated to the payee.
PaymentStatus String The current status of a buyer payment that is allocated to a specified payee.
PaymentTime Datetime The date and time when the payment is received by the payee.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CreateTimeFrom Datetime Specifies the start of the date range for which to retrieve payment details of the orders created within this date range.
CreateTimeTo Datetime Specifies the end of the date range for which to retrieve payment details of the orders created within this date range.
ModTimeFrom Datetime Specifies the start of the date range for which to retrieve payment details of the orders modified within this date range. The maximum time range that may be specified is 30 days.
ModTimeTo Datetime Specifies the end of the date range for which to retrieve payment details of the orders modified within this date range. The maximum time range that may be specified is 30 days.
NumberOfDays Integer All eBay payment details of the orders that were either created or modified within this period are returned in the output. Min: 1. Max: 30.
OrderRole String Filters the returned payment details of the orders based on the role of the user. The user's role is either buyer or seller.
OrderStatus String Filters the returned payment details of the orders based on the status of the order. Applicable Values: Active, All, Completed, Inactive.

CData Cloud

Orders

Query all orders in which the authenticated user is either the buyer or seller. By default, only orders made in the last 90 days are returned. Orders older than 90 days can be retrieved by specifying OrderId.

ビュー固有の情報

Select

Orders ビューのクエリ例:

SELECT * FROM Orders WHERE OrderId = '110276240386-28854859001'

SELECT * FROM Orders WHERE OrderId IN ('110276240386-28854859001', '110277719772-28859911001')

SELECT * FROM Orders WHERE CreateTimeFrom = '2018-02-10' AND CreateTimeTo = '2018-03-16'

SELECT * FROM Orders WHERE OrderStatus = 'Active'

SELECT * FROM Orders WHERE NumberOfDays = '26'

Columns

Name Type Description
OrderId [KEY] String A unique identifier for an eBay order.
ExtendedOrderId String The unique identifier of the order in legacy format, as traditionally used by the Trading API.
BuyerUserId String eBay user ID of the order's buyer.
SellerUserId String This is the eBay user ID of the order's seller.
OrderStatus String This enumeration value indicates the current status of the order. Applicable Values: Active, All, Cancelled, Completed, Inactive.
AdjustmentAmount Decimal This value indicates the dollar amount by which the buyer has adjusted the order total.
AmountPaid Decimal This value indicates the total amount of the order.
AmountSaved Decimal This value indicates the shipping discount experienced by the buyer as a result of creating a Combined Invoice order.
CreatedTime Datetime Timestamp that indicates the date and time that the order was created.
ShippedTime Datetime Timestamp indicating the date and time of order shipment. This field is not returned until the order has been marked as shipped.
PaymentMethod String The payment method that the buyer selected to pay for the order.
PaymentStatus String This value indicates the payment status of an order.
CheckoutStatus String Container consisting of details related to the current checkout status of the order.
SellerEmail String The email address of the seller involved in the order. The email address of the seller is only returned if it is the same seller making the call.
SubTotal Decimal The subtotal amount for the order is the total cost of all order line items. This value does not include any shipping/handling, shipping insurance, or sales tax costs.
Total Decimal The Total amount equals the Subtotal value plus the shipping/handling, shipping insurance, and sales tax costs.
CancelCompleteDate Datetime Timestamp indicating when the cancellation process of an eBay order has been completed.
CancelInitiationDate Datetime This timestamp indicates when the cancellation of the eBay order was initiated.
CancelInitiator String This value indicates which party initiated the cancellation of the eBay order.
CancelReason String This value indicates the reason why the order cancellation was initiated.
CancelStatus String The current status for the order cancellation request if it exists.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CreateTimeFrom Datetime Specifies the start of the date range for which to retrieve orders created within this date range.
CreateTimeTo Datetime Specifies the end of the date range for which to retrieve orders created within this date range.
ModTimeFrom Datetime Specifies the start of the date range for which to retrieve orders modified within this date range. The maximum time range that may be specified is 30 days.
ModTimeTo Datetime Specifies the end of the date range for which to retrieve orders modified within this date range. The maximum time range that may be specified is 30 days.
NumberOfDays Integer All eBay orders that were either created or modified within this period are returned in the output. Min: 1. Max: 30.
OrderRole String Filters the returned orders based on the role of the user. The user's role is either buyer or seller.

CData Cloud

OrderShipping

Query shipping details of the orders in which the authenticated user is either the buyer or seller. By default, only shipping details of orders made in the last 90 days are returned. Shipping details of orders older than 90 days can be retrieved by specifying OrderId.

ビュー固有の情報

Select

OrderShipping ビューのクエリ例:

SELECT * FROM OrderShipping WHERE NumberOfDays = '30'

SELECT * FROM OrderShipping WHERE CreateTimeFrom = '2018-02-10' AND CreateTimeTo = '2018-03-16'

Columns

Name Type Description
OrderId [KEY] String The Id that uniquely identifies the item listing. The Id is generated by eBay after an item is listed. You cannot choose or revise this value.
AddressId String Unique ID for a user's address in the eBay database.
CityName String The name of the user's city.
Country String The two-digit code representing the country of the user.
CountryName String The name of the user's country.
AddressName String User's name for the address.
Phone String User's primary phone number.
PostalCode String User's postal code.
StateOrProvince String The state or province of the user's address. Whether it's a state or a province will depend on the region and/or country.
Street1 String The first line of the user's street address.
Street2 String The second line of the user's street address (such as an apartment number or suite number).
ShippingCharge Decimal The dollar value in this field indicates the amount that the seller is being charged (at order level) for the convenience of an eBay On Demand Delivery.
ExpeditedService Boolean Indicates whether the service is an expedited shipping service.
ShippingImportCharge Decimal The total cost of customs and taxes for the international leg of an order shipped using the Global Shipping Program.
ShippingInsuranceCost Decimal The insurance cost associated with shipping a single item with this shipping service.
ShippingServiceAdditionalCost Decimal The cost of shipping each additional item if the same buyer purchases multiple quantity of the same line item.
ShippingServiceCost Decimal The base cost of shipping the item using the shipping service specified in the ShippingService field.
ActualDeliveryTime Datetime This timestamp indicates when the order was actually delivered to the buyer.
EstimatedDeliveryTimeMax Datetime The EstimatedDeliveryTimeMin and EstimatedDeliveryTimeMax timestamps indicate the window during which the buyer can expect delivery.
EstimatedDeliveryTimeMin Datetime The EstimatedDeliveryTimeMin and EstimatedDeliveryTimeMax timestamps indicate the window during which the buyer can expect delivery.
HandleByTime Datetime This timestamp indicates the latest date/time that the seller should ship the package to ensure that the package arrives to the buyer within the estimated delivery window.
ScheduledDeliveryTimeMax Datetime The ScheduledDeliveryTimeMin and ScheduledDeliveryTimeMax timestamps indicate the delivery window for which the buyer can expect to receive the order.
ScheduledDeliveryTimeMin Datetime The ScheduledDeliveryTimeMin and ScheduledDeliveryTimeMax timestamps indicate the delivery window for which the buyer can expect to receive the order.
ShippingTrackingEvent String This enumeration value indicates whether or not the order has been picked up from the store indicated by the StoreID value.
StoreId String The unique identifier of the store from where the order will be delivered.
SalesTaxAmount Decimal The amount of sales tax, calculated for an order based on the SalesTaxPercent and pricing information.
SalesTaxPercent Float Percent of an item's price to be charged as the sales tax for the order.
SalesTaxState String State or jurisdiction for which the sales tax is being collected. Only returned if the seller specified a value.
ShipmentTrackingNumbers String The tracking numbers assigned by the shipping carriers.
ShippingCarriers String The name of the shipping carriers used to ship the items.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CreateTimeFrom Datetime Specifies the start of the date range for which to retrieve shipping details of the orders created within this date range.
CreateTimeTo Datetime Specifies the end of the date range for which to retrieve shipping details of the orders created within this date range.
ModTimeFrom Datetime Specifies the start of the date range for which to retrieve shipping details of the orders modified within this date range. The maximum time range that may be specified is 30 days.
ModTimeTo Datetime Specifies the end of the date range for which to retrieve shipping details of the orders modified within this date range. The maximum time range that may be specified is 30 days.
NumberOfDays Integer All eBay shipping details of the orders that were either created or modified within this period are returned in the output. Min: 1. Max: 30.
OrderRole String Filters the returned shipping details of the orders based on the role of the user. The user's role is either buyer or seller.
OrderStatus String Filters the returned shipping details of the orders based on the status of the order. Applicable Values: Active, All, Completed, Inactive.

CData Cloud

PaymentPolicies

Retrieves all the payment policies configured for the marketplace you specify using the MarketplaceId query parameter.

Select

MarketplaceId is required filter in the Select query. You can follow the query below to obtain the required values through SQL:

SELECT * FROM PaymentPolicies WHERE MarketplaceId = 'EBAY_US'

Some of the fields are named with the suffix Aggr. These fields display the content of the JSON tag with the same name that is returned from the API endpoint.

Columns

Name Type Description
PaymentPolicyId [KEY] String A unique eBay-assigned ID for a payment policy. This ID is generated when the policy is created.
Description String The Description of the payment policy.
Name String The Description of the payment policy.
CategoryTypesName String The Category Type name value to which this policy applies. Used to discern accounts that sell motor vehicles from those that don't.
DepositAggr String Amounts and due dates for deposits on motor vehicle listings on eBay Motors. Is applicable only if the categoryTypes.name field is set to MOTORS_VEHICLES.
MarketplaceId String The ID of the eBay marketplace to which the payment policy applies.
ImmediatePay Boolean If set to true, payment is due upon receipt (eBay generates a receipt when the buyer agrees to purchase an item).
PaymentMethodAggr String If the seller is not opted-in to managed payments, this container returns a list of the payment methods accepted by the seller.
RecipientAccountReferenceId String Contains the PayPal email address of the recipient (buyer) if referenceType is set to PAYPAL_EMAIL.
RecipientAccountReferenceType String A reference a recipient's account. Currently only PAYPAL_EMAIL is valid.

CData Cloud

ReturnPolicies

Retrieves all the return policies configured for the marketplace you specify using the MarketplaceId query parameter.

Select

MarketplaceId is required filter in the Select query. You can follow the query below to obtain the required values through SQL:

SELECT * FROM ReturnPolicies WHERE MarketplaceId = 'EBAY_US'

Some of the fields are named with the suffix Aggr. These fields display the content of the JSON tag with the same name that is returned from the API endpoint.

Columns

Name Type Description
ReturnPolicyId [KEY] String A unique eBay-assigned ID for this policy.
Description String The seller-defined description of the return policy for internal use (this value is not displayed to end users).
Name String The category type to which the policy applies (motor vehicles or non-motor vehicles).
CategoryTypesName String The category type to which the policy applies (motor vehicles or non-motor vehicles).
MarketplaceId String The ID of the eBay marketplace to which this return policy applies.
ExtendedHolidayReturnsOffered String If set to true, the seller offers an Extended Holiday Returns policy for their listings.
InternationalOverrideAggr String If populated, specifies the seller's policies for international returns (items that require postage via an international shipping service).
RefundMethod String Indicates the method the seller uses to compensate the buyer for returned items. The return method specified applies only to remorse returns.
RestockingFeePercentage String For sellers who accept returns, this field is filled if they charge buyers a restocking fee when items are returned.
ReturnInstructions String Contains the seller's detailed explanation for their return policy and is displayed in the Return Policy section of the View Item page.
ReturnMethod String Valid in the US marketplace only, this optional field indicates additional services (other than money-back) that sellers can offer buyers for remorse returns.
ReturnPeriodValue String Specifies the amount of time the buyer has to return an item.
ReturnPeriodUnit String Specifies the unit of measure of amount of time the buyer has to return an item.
ReturnsAccepted Boolean If set to true, the seller accepts returns.
ReturnShippingCostPayer String This field indicates who is responsible for paying for the shipping charges for returned items. The field can be set to either BUYER or SELLER.

CData Cloud

ShippingCarriers

Query Shipping Carriers supported by the specified site.

Columns

Name Type Description
ShippingCarrierId Integer Numeric identifier.
Description String Display string that applications can use to present a list of shipping carriers in a more user-friendly format (such as in a drop-down list).
DetailVersion String Returns the latest version number for this field.
ShippingCarrier String The code for the shipping carrier.
UpdateTime Datetime Gives the time in GMT that the feature flags for the details were last updated.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
DetailName String A designation of what kind of information you wish returned for the specified eBay site.

使用できる値は次のとおりです。ShippingCarrierDetails

CData Cloud

ShippingCategories

A shipping service category supported for the site.

Columns

Name Type Description
ShippingCategory [KEY] String Indicates the shipping category. Shipping categories include the following: ECONOMY, STANDARD, EXPEDITED, ONE_DAY, PICKUP, OTHER, and NONE. International shipping services are generally grouped into the NONE category. For more information on these shipping categories, and which services fall into which category, see the Shipping Basics page on the eBay Shipping Center site.
Description String Display string that applications can use to present a list of shipping categories in a more user-friendly format (such as in a drop-down list). This field is localized per site.
DetailVersion String Returns the latest version number for this field. The version can be used to determine if and when to refresh cached client data.
UpdateTime Datetime Gives the time in GMT that the feature flags for the details were last updated. This timestamp can be used to determine if and when to refresh cached client data.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
DetailName String A designation of what kind of information you wish returned for the specified eBay site.

使用できる値は次のとおりです。ShippingCategoryDetails

CData Cloud

ShippingLocations

Lists the regions and locations supported by eBay's shipping services. Returns all shipping locations supported by eBay, regardless of the site specified in the request.

Columns

Name Type Description
ShippingLocation [KEY] String Short name or abbreviation for a region (e.g., Asia) or location (e.g. Japan).
Description String Display string that applications can use to present a list of shipping locations in a more user-friendly format (such as in a drop-down list). This field is localized in the language of the site.
DetailVersion String Returns the latest version number for this field. The version can be used to determine if and when to refresh cached client data.
UpdateTime Datetime Gives the time in GMT that the feature flags for the details were last updated. This timestamp can be used to determine if and when to refresh cached client data.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
DetailName String A designation of what kind of information you wish returned for the specified eBay site.

使用できる値は次のとおりです。ShippingLocationDetails

CData Cloud

ShippingServices

Query Shipping Services supported by the specified eBay site.

テーブル固有の情報

Select

次のクエリは、すべての有効なShipping Services を取得します。このビューでは、サポートされているフィルタはありません。

SELECT * FROM ShippingServices

Columns

Name Type Description
ShippingServiceId [KEY] Integer Numeric identifier. A value greater than 50000 represents an international shipping service.
CODService Boolean This flag is returned as true if the corresponding ShippingService value is a COD (Cash-On-Delivery) service.
CostGroupFlat Boolean If returned, this is the shipping service group to which the shipping service belongs.
Description String A user-friendly description of shipping service options.
DetailVersion String Returns the latest version number for this field.
DimensionsRequired Boolean Whether the shipping service option requires that package dimensions are provided by the seller.
ExpeditedService Boolean Indicates whether the shipping service is an expedited shipping service. Only returned for sites for which the Get It Fast feature is enabled and only if true.
InternationalService Boolean Indicates whether the shipping service is an international shipping service.
MappedToShippingServiceId Integer The Id of another shipping service that will be used when a shipping service is deprecated.
ShippingCategory String Indicates the shipping category. Shipping categories include the following: ECONOMY, STANDARD, EXPEDITED, ONE_DAY, PICKUP, OTHER, and NONE. International shipping services are generally grouped into the NONE category.
ShippingService String The name of the shipping service option. If the ValidForSellingFlow column is not true, this particular shipping service option is no longer valid and cannot be offered to buyers through a listing.
ShippingTimeMax Integer The maximum guaranteed number of days the shipping carrier will take to ship an item (not including the time it takes the seller to deliver the item to the shipping carrier). Always returned when ExpeditedService is true or if defined for a particular service.
ShippingTimeMin Integer The minimum guaranteed number of days the shipping carrier will take to ship an item (not including the time it takes the seller to deliver the item to the shipping carrier). Always returned when ExpeditedService is true or if defined for a particular service.
SurchargeApplicable Boolean True if a surcharge applies for any region that this service ships to.
UpdateTime Datetime Gives the time in GMT that the feature flags for the details were last updated.
ValidForSellingFlow Boolean If this field is returned as true, the shipping service option can be used. If this field is returned as false, the shipping service option is not currently supported.
WeightRequired Boolean If true, a seller who selects this package type for the listing and then offers this shipping service must specify WeightMajor and WeightMinor in the item definition. If not returned, WeightRequired is false.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
DetailName String A designation of what kind of information you wish returned for the specified eBay site.

使用できる値は次のとおりです。ShippingServiceDetails

CData Cloud

Sites

Lists all available eBay sites and their associated SiteID numbers.

Columns

Name Type Description
SiteID Integer Numeric identifier for an eBay site. If you are using the SOAP API, you use numeric site IDs in the request URL. If you are using the XML API, you use numeric site IDs in the X-EBAY-API-SITEID header.
SiteName String Short name that identifies an eBay site. Usually, an eBay site is associated with a particular country or region (e.g., US or Belgium_French). Specialty sites (e.g., eBay Stores) use the same site ID as their associated main eBay site. The US eBay Motors site is an exception to this convention.
DetailVersion String Returns the latest version number for this field. The version can be used to determine if and when to refresh cached client data.
UpdateTime Datetime Gives the time in GMT that the feature flags for the details were last updated. This timestamp can be used to determine if and when to refresh cached client data.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
DetailName String A designation of what kind of information you wish returned for the specified eBay site.

使用できる値は次のとおりです。SiteDetails

CData Cloud

SuggestedCategories

Query eBay list of categories with the highest number of listings.

Columns

Name Type Description
CategoryId Integer This string value is the unique identifier of an eBay category.
CategoryName String This string value is the display name of the eBay primary category, as it would appear on the eBay website.
CategoryParentId String This string value is the category Id of the parent category of the primary category indicated in the CategoryId field.
CategoryParentName String This string value is the display name of the eBay primary category, as it would appear on the eBay website.
PercentItemFound Integer Percentage of the matching items that were found in this category, relative to other categories in which matching items were also found. Indicates the distribution of matching items across the suggested categories.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Query String This field is used to specify the search query, consisting of one or more keywords to search for in listing titles and descriptions. The words and and or are treated like any other word.

CData Cloud

TopSellingProducts

Query your eBay Top Selling Products.

テーブル固有の情報

Select

フィルタに使えるカラムは、AffiliateCustomId、AffiliateNetworkId、およびAffiliateTrackingId です。これらのフィルタはオプションです。

SELECT * FROM TopSellingProducts

SELECT * FROM TopSellingProducts WHERE AffiliateCustomId = '12345'

Columns

Name Type Description
Title String The title of the product, as specified in the catalog.
ProductId String The eBay or external Ids associated with the product. Use this value as input to search for the same product in the future, or use the ISBN, EAN, or UPC value (if returned). The ProductId values can be used to retrieve products, item listings, or guides and reviews. Max length: 4000.
ProductURL String Fully qualified URL for optional information about the product, such as the description or film credits for a movie. This information is hosted through the eBay website and it cannot be edited. Portions of the content are protected by copyright. This link allows users to view additional descriptive details about the product.
ImageURL String Fully qualified URL for a stock image (if any) associated with the eBay catalog product. The URL is for the image eBay usually displays in product search results (usually 70px tall). It may be helpful to calculate the dimensions of the photo programmatically before displaying it. Only returned if a URL is available for the product.
CatalogName String Name of the catalog the product is in. Only returned if product is in a catalog.
ReviewCount Long The total number of reviews available for this product on the eBay website.
HighestPrice Decimal The highest price for items listed as this product.
LowestPrice Decimal The lowest price for items listed as this product.
Currency String The three-digit currency code as defined in ISO 4217.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
AffiliateCustomId String Need not be specified. You can use this pseudo column if you want to leverage it to better monitor your marketing efforts. If you are using the eBay Partner Network, and you provide an AffiliateCustomId, the tracking URL returned by the eBay Partner Network will contain the AffiliateUserId.
AffiliateNetworkId String Specifies your tracking partner for affiliate commissions.
AffiliateTrackingId String The value you specify is obtained from your tracking partner.

CData Cloud

TransactionLinkedItems

Query all linked line items of the transactions in which the authenticated user is either the buyer or seller. By default, only linked line items of transactions made in the last 90 days are returned. Linked line items of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.

Columns

Name Type Description
ID [KEY] String The unique identifier of the linked order line item.
TransactionId String Unique identifier for an eBay sales transaction.
OrderId String The unique identifier of the order to which the linked line item belongs.
EstimatedDeliveryTimeMax Datetime Indicates the latest date and time to receive the order.
EstimatedDeliveryTimeMin Datetime Indicates the earliest date and time to receive the order.
SellerUserID String The eBay user ID of the seller who sold the linked line item.
ItemName String Depending on the call and context, this value is either a name of an Item/Variation Specific, or a Parts Compatibility name.
ItemValue String Depending on the call and context, this value is either the value of an Item/Variation Specific, a Parts Compatibility value, or a product identifier.
ItemsTitle String This field is used to specify the title of the listing.
CreateTimeFrom Datetime Specifies the start of the date range for which to retrieve payment details of the transactions in orders created within this date range. By default the date range is 90 days.
CreateTimeTo Datetime Specifies the end of the date range for which to retrieve payment details of the transactions in orders created within this date range. By default the date range is 90 days.
ModTimeFrom Datetime Specifies the start of the date range for which to retrieve payment details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days.
ModTimeTo Datetime Specifies the end of the date range for which to retrieve payment details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days.
NumberOfDays Integer All eBay payment details of the transactions in orders that were either created or modified within this period are returned in the output. Min: 1. Max: 30.
OrderRole String Filters the returned payment details of the transactions based on the role of the user. The user's role is either buyer or seller.
OrderStatus String Filters the returned payment details of the transactions based on the status of the order. Applicable Values: Active, All, Completed, Inactive.

CData Cloud

TransactionPayments

Query all payments of the transactions in which the authenticated user is either the buyer or seller. By default, only payments of transactions made in the last 90 days are returned. Payments of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.

ビュー固有の情報

Select

TransactionPayments ビューのクエリ例:

SELECT * FROM TransactionPayments WHERE OrderRole = 'Seller'

SELECT * FROM TransactionPayments WHERE OrderId = '110277719772-28859911001'

Columns

Name Type Description
TransactionReferenceId [KEY] String A unique transaction ID for the payment.
TransactionId String The unique identifier of the transaction the payment has been made for.
OrderId String The unique identifier of the order the payment has been made for.
FeeOrCreditAmount Decimal Fee Amount is a positive value and Credit Amount is a negative value.
Payee String The person or organization who is to receive the payment allocation.
Payer String This field indicates the eBay user or eBay partner who submitted the payment.
PaymentAmount Decimal The amount of the payment that is allocated to the payee.
PaymentStatus String The current status of a buyer payment that is allocated to a specified payee.
PaymentTime Datetime The date and time when the payment is received by the payee.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CreateTimeFrom Datetime Specifies the start of the date range for which to retrieve payment details of the transactions in orders created within this date range. By default the date range is 90 days.
CreateTimeTo Datetime Specifies the end of the date range for which to retrieve payment details of the transactions in orders created within this date range. By default the date range is 90 days.
ModTimeFrom Datetime Specifies the start of the date range for which to retrieve payment details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days.
ModTimeTo Datetime Specifies the end of the date range for which to retrieve payment details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days.
NumberOfDays Integer All eBay payment details of the transactions in orders that were either created or modified within this period are returned in the output. Min: 1. Max: 30.
OrderRole String Filters the returned payment details of the transactions based on the role of the user. The user's role is either buyer or seller.
OrderStatus String Filters the returned payment details of the transactions based on the status of the order. Applicable Values: Active, All, Completed, Inactive.

CData Cloud

TransactionRefunds

Query all refunds of the transactions in which the authenticated user is either the buyer or seller. By default, only refunds of transactions made in the last 90 days are returned. Refunds of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.

Columns

Name Type Description
ReferenceId [KEY] String This dollar value is the amount of the refund to the buyer for this specific refund transaction.
TransactionId String The unique identifier of the transaction the payment has been made for.
OrderId String The unique identifier of the order the payment has been made for.
FeeOrCreditAmount Decimal Fee Amount is a positive value and Credit Amount is a negative value.
RefundTo String This field is the eBay user ID of the buyer who is receiving the refund or store credit from the merchant.
RefundType String This value indicates whether the merchant refunded or provided a store credit to the buyer for the returned In-Store Pickup item.
RefundAmount Decimal This dollar value is the amount of the refund to the buyer for this specific refund transaction.
RefundStatus String This value indicates the success or failure of the attempt by the merchant to refund or provide store credit to the buyer for a returned In-Store Pickup item.
RefundTime Datetime This date/time value is the timestamp for the refund transaction. This field is not returned if the refund was not successful (RefundStatus=FAILED).
CreateTimeFrom Datetime Specifies the start of the date range for which to retrieve payment details of the transactions in orders created within this date range. By default the date range is 90 days.
CreateTimeTo Datetime Specifies the end of the date range for which to retrieve payment details of the transactions in orders created within this date range. By default the date range is 90 days.
ModTimeFrom Datetime Specifies the start of the date range for which to retrieve payment details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days.
ModTimeTo Datetime Specifies the end of the date range for which to retrieve payment details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days.
NumberOfDays Integer All eBay payment details of the transactions in orders that were either created or modified within this period are returned in the output. Min: 1. Max: 30.
OrderRole String Filters the returned payment details of the transactions based on the role of the user. The user's role is either buyer or seller.
OrderStatus String Filters the returned payment details of the transactions based on the status of the order. Applicable Values: Active, All, Completed, Inactive.

CData Cloud

Transactions

Query all transactions in which the authenticated user is either the buyer or seller. By default, only transactions of orders made in the last 90 days are returned. Transactions of orders older than 90 days can be retrieved by specifying OrderId.

ビュー固有の情報

Select

Transactions ビューのクエリ例:

SELECT * FROM Transactions WHERE OrderRole = 'Seller'

SELECT * FROM Transactions WHERE OrderId = '110276240386-28854859001'

SELECT * FROM Transactions WHERE CreateTimeFrom = '2/10/2018' AND CreateTimeTo = '3/16/2018'

Columns

Name Type Description
TransactionId [KEY] String Unique identifier for an eBay order line item. An order line item is created once there is a commitment from a buyer to purchase an item.
OrderId String The Id that uniquely identifies the item listing. The Id is generated by eBay after an item is listed. You cannot choose or revise this value.
ItemId String The unique identifier of the eBay listing. This identifier is generated by eBay and returned in the response of an Add call if an item is successfully listed.
ItemSite String The name of the site on which the item is listed.
ItemTitle String This field is used to specify the title of the listing.
ActualHandlingCost Decimal The handling cost that the seller has charged for the order line item.
ActualShippingCost Decimal The shipping cost paid by the buyer for the order line item. This field is only returned after checkout is complete.
BuyerEmail String Email address for the user.
BuyerFirstName String The first name of the buyer who purchased the order.
BuyerLastName String The last name of the buyer who purchased the order.
CreatedDate Datetime Indicates the creation time of the order line item.
Price Decimal The price of the order line item.
SiteId String The site upon which the order line item (transaction) was created.
PaidTime Datetime Indicates the time when the order was marked paid.
DigitalRecipientEmail String This field displays the email address of the sender/purchaser of the digital gift card.
DigitalRecipientName String This field displays the actual name (not the eBay user ID) of the sender/purchaser of the digital gift card.
DigitalSenderEmail String This field displays the email address of the sender/purchaser of the digital gift card.
DigitalSenderName String This field displays the actual name (not the eBay user ID) of the sender/purchaser of the digital gift card
DigitalDeliveryMethod String This value indicates the method in which the digital gift card will be delivered to the buyer.
EBayPlusTransaction Boolean If true, this transaction is for an item that was purchased under the eBay Plus program.
FinalValueFee Decimal A Final Value Fee is calculated and charged to a seller's account immediately upon creation of an order line item.
GuaranteedDelivery Boolean This field is returned as true if the order line item is qualified for eBay Guaranteed Delivery, or false if it is not eligible.
GuaranteedShipping Boolean This field is returned as true if the seller chose to use eBay's Guaranteed Shipping feature at listing time.
InvoiceSentTime Datetime This field indicates the date/time that an order invoice was sent from the seller to the buyer.
DigitalStatus String This enumeration value indicates the current state of a purchased digital gift card.
InquiryStatus String This field gives the status of a buyer's Item Not Received (INR) Inquiry.
ReturnStatus String This field gives the status of a buyer's return request.
TotalTaxAmount Decimal This value indicates the total tax amount for the order line item, including the sales tax on the item, the sales tax on shipping and handling, and any electronic waste recycling fee.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CreateTimeFrom Datetime Specifies the start of the date range for which to retrieve transactions of orders created within this date range.
CreateTimeTo Datetime Specifies the end of the date range for which to retrieve transactions of orders created within this date range.
ModTimeFrom Datetime Specifies the start of the date range for which to retrieve transactions of orders modified within this date range. The maximum time range that may be specified is 30 days.
ModTimeTo Datetime Specifies the end of the date range for which to retrieve transactions of orders modified within this date range. The maximum time range that may be specified is 30 days.
NumberOfDays Integer All eBay transactions that were either created or modified within this period are returned in the output. Min: 1. Max: 30.
OrderRole String Filters the returned transactions based on the role of the user. The user's role is either buyer or seller.
OrderStatus String Filters the returned transactions based on the status of the order. Applicable Values: Active, All, Completed, Inactive.

CData Cloud

TransactionShipping

Query shipping details of the transactions in which the authenticated user is either the buyer or seller. By default, only shipping details of transaction made in the last 90 days are returned. Shipping details of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.

ビュー固有の情報

Select

TransactionShipping ビューのクエリ例:

SELECT * FROM TransactionShipping WHERE ModTimeFrom = '2/22/2018' AND ModTimeTo = '3/4/2018'

SELECT * FROM TransactionShipping WHERE OrderId = '110277719772-28859911001'

SELECT * FROM TransactionShipping WHERE OrderId IN ('110277719772-28859911001', '110276240386-28854859001')

Columns

Name Type Description
TransactionId [KEY] String Unique identifier for the transaction.
OrderId String Unique identifier for the order.
InternationalPackagingHandlingCosts Decimal Fees a seller might assess for the shipping of the item (in addition to whatever the shipping service might charge).
PostalCode String Postal code for the location from which the package will be shipped.
PackagingHandlingCosts Decimal Fees a seller might assess for the shipping of the item (in addition to whatever the shipping service might charge).
ShippingIrregular Boolean This boolean field indicates that the shipping package is considered an irregular shape and/or size by the shipping carrier, and thus requires special handling.
ExpeditedService Boolean Indicates whether the service is an expedited shipping service.
ShippingImportCharge Decimal The total cost of customs and taxes for the international leg of an order shipped using the Global Shipping Program.
ShippingInsuranceCost Decimal The insurance cost associated with shipping a single item with this shipping service.
ShippingServiceAdditionalCost Decimal The cost of shipping each additional item if the same buyer purchases multiple quantity of the same line item.
ShippingServiceCost Decimal The base cost of shipping the item using the shipping service specified in the ShippingService field.
ShippingPackageInfo String This aggregate contains all shipping package info.
ShipmentTrackingNumbers String The tracking numbers assigned by the shipping carriers.
ShippingCarriers String The name of the shipping carriers used to ship the items.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
CreateTimeFrom Datetime Specifies the start of the date range for which to retrieve shipping details of the transactions in orders created within this date range. By default the date range is 90 days.
CreateTimeTo Datetime Specifies the end of the date range for which to retrieve shipping details of the transactions in orders created within this date range. By default the date range is 90 days.
ModTimeFrom Datetime Specifies the start of the date range for which to retrieve shipping details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days.
ModTimeTo Datetime Specifies the end of the date range for which to retrieve shipping details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days.
NumberOfDays Integer All eBay shipping details of the transactions in orders that were either created or modified within this period are returned in the output. Min: 1. Max: 30.
OrderRole String Filters the returned shipping details of the transactions based on the role of the user. The user's role is either buyer or seller.
OrderStatus String Filters the returned shipping details of the transactions based on the status of the order. Applicable Values: Active, All, Completed, Inactive.

CData Cloud

ストアドプロシージャ

ストアドプロシージャはファンクションライクなインターフェースで、eBay の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。

ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにeBay から関連するレスポンスデータを返します。

CData Cloud - eBay ストアドプロシージャ

Name Description
AddItem Create and publish a new Item Listing on an eBay site.
CompleteSale Do various tasks after the creation of a single line item or multiple line item order. For example, complete a sale and leave feedback.
CreateInventoryTask This procedure creates an inventory-related download task for a specified feed type with optional filter criteria.
CreateOrderTask This procedure creates an order download task with filter criteria for the order report.
GetResultFile This procedure retrieves the generated file that is associated with the specified task ID. The response of this call is a compressed or uncompressed CSV, XML, or JSON file, with the applicable file extension (for example: csv.gz).
SetUserNotes Add, replace, and delete My eBay notes for items that are being tracked in the My eBay Selling and Buying areas.

CData Cloud

AddItem

Create and publish a new Item Listing on an eBay site.

ストアドプロシージャ固有の情報

Item Listing の作成が成功すると、Item Id がレスポンスとして返され、アイテムのリスティングの推定手数料が返されます。アイテムを追加後、ItemListing テーブルで更新、削除およびクエリが可能です。

アイテムの追加に必要な項目は以下です:Title、Description、CategoryId、StartPrice、ConditionId、Country、Currency、DispatchTimeMax、ListingDuration、ListingType、PaymentMethod、PayPalEmailAddress、Quantity、Location、およびReturnsAcceptedOption。

Shipping タイプの選択には、いくつかのインプットを指定する必要があります:Flat、もしくはCalculated。どちらのShipping タイプでもShippingService を指定する必要があります。

アイテムの追加

次の手順でSQL を通じて必須の値を取得し、アイテムを追加することができます。

  1. Categories ビューを使って、例えばBooks のようなトップレベルカテゴリを選択します。次のクエリを使うことができます:
    SELECT * FROM Categories
  2. Categories ビューを使って、例えばFiction & Literature のようなサブカテゴリを選択します。アイテムの追加には、サブカテゴリID が必要です。次のようなクエリを使うことができます。
    SELECT * FROM Categories WHERE CategoryParentId = '267'
  3. ShippingService ビューを使って、Shipping Service を選択します。ValidForSellingFlow カラムの値はtrue に設定する必要があります。そうしなければ特定のShipping Service は有効ではなくなり、リスティングから購入者が購入することができなくなります。

Flat Shipping の選択

Flat Shipping タイプには、次のインプットが必要です:ShippingType、ShippingService、ShippingServicePriority、およびShippingServiceCost。

CalculatedShipping の選択

Calculated Shipping タイプは、パッケージstats に関する追加の情報を要求します。このShipping タイプには、次のインプットが必要です:ShippingType、WeightMajor、WeightMinor、OriginatingPostalCode、ShippingService、およびShippingServicePriority。

Note:このプロシージャは、インデックス付きパラメータを使用します。 インデックス付きパラメータは、プロシージャの入力として単一のパラメータを複数のインスタンスに提供することを容易にします。

Param# という名前の入力パラメータがあるとします。このようなインデックス付きパラメータの複数のインスタンスを入力するには、次のように実行します。

EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"

以下の表では、インデックス付きの入力パラメータは、名前の末尾に '#' 文字が付きます。

Input

Name Type Required Description
Title String False Name of the item as it appears in the listing or search results.
Description String False The description of the item by the seller. In listing requests, you can use CDATA tags to submit your description if you want to use HTML or XML-reserved characters in the description.
CategoryId String False Category Id for the first (or only) category in which the item is listed (or will be listed, if the item is new).
StartPrice String False The original price of the item at listing or relisting time. If this value changes when the item is revised, the new value becomes the original price.
ConditionId String False An identifier for the condition of the item. For example, 1000 for New or 3000 for Used.
Country String False Defines the 2-letter ISO 3166 country code.
Currency String False Currency associated with the price information of the item. 3-letter ISO 4217 currency code.
DispatchTimeMax String False Specifies the maximum number of business days the seller commits to for preparing an item to be shipped after receiving a cleared payment. This time does not include the shipping time (the transit time of the carrier). Including this field fulfills 'Handling time' being required for input.
ListingDuration String False Describes the number of days the seller wants the listing to be active (available for bidding/buying).
ListingType String False The format of the listing the seller wants to use, such as Chinese auction or fixed price.
Location String False Indicates the geographical location of the item (along with Country). When you revise a listing, you can add or change this value only if the listing has no bids (or no items have sold), and it does not end within 12 hours.
ReturnsAcceptedOption String False Indicates whether the seller allows the buyer to return the item. One of the following values: ReturnsAccepted or ReturnsNotAccepted. If you specify ReturnsNotAccepted, the View Item page will indicate that returns are not accepted instead.
SubTitle String False Subtitle to use in addition to the title.
Quantity String False The Quantity value for auction listings must always be 1. For a fixed-price listing, the Quantity value indicates the number of identical items the seller has available for sale in the listing.
Sku String False A SKU (Stock Keeping Unit) value is a seller-defined identifier for a product.
UUID String False Universally unique constraint tag. Use UUID to ensure that you only list a particular item once, particularly if you are listing many items at once.
ScheduleTime String False Allows the user to specify the time that the listing becomes active on eBay.
PaymentMethod String False Identifies the payment method (such as PayPal) that the seller will accept when the buyer pays for the item. Use the CategoryFeatures view to find the available payment methods for a category.
PayPalEmailAddress String False The PayPal email address of the seller.
LiveAuction String False This field must be included and set to true if the listing will be a part of a Live Auction. This boolean field is returned as true in the ItemList table if the listing is part of a Live Auction. See the eBay Live Auctions home page for more information about Live Auctions on eBay.com.
LotSize String False A lot is a set of two or more similar items included in a single listing that must be purchased together in a single order line item. The LotSize value is the number of items in the lot. This field is required if two or more items are including in one listing.
PostalCode String False Postal code of the place where the item is located. This value is used for proximity searches.
TaxCategory String False Tax exception category code.
UseTaxTable String False Indicates whether the tax table of the seller is to be used when applying and calculating sales tax for an order line item.
VIN String False This field displays the Vehicle Identification Number, which is a unique serial number for a motor vehicle.
VRM String False Vehicle Registration Mark, which is a unique identifier for a motor vehicle in the UK.
CategoryMappingAllowed String False Controls how eBay handles cases in which the category no longer exists in the current category structure: If true, eBay will use the new Id for the listing; if false, an error is returned.
UseRecommendedProduct String False If true, and the item details in the request match a product in the eBay catalog, the matching product is used to list the item.
ShippingType String False The shipping cost model offered by the seller.
ShippingService String False A shipping service option being offered by the seller to ship an item to a buyer. For a list of valid ShippingService values, query the ShippingServices view; the ShippingService returned must have a value of true in the ValidForSellingFlow column.
ShippingServicePriority String False This integer value controls the order (relative to other shipping services) in which the corresponding ShippingService will appear in the View Item and Checkout page. Sellers can specify up to four domestic shipping services.
ShippingServiceCost String False The base cost of shipping the item by using the shipping service specified in the ShippingService field, if one was specified. This column includes the packaging and handling cost for flat and calculated shipping. If this is for calculated shipping for a listing that has not yet ended, note that the cost cannot be determined until the listing has ended and the buyer has specified a postal code. This value reflects savings from a promotional shipping service option. Also applicable to Half.com.
ShippingServiceAdditionalCost String False The cost of shipping each additional item if the same buyer purchases multiple quantities of the same line item. If less than ShippingServiceCost, this column gives the buyer a shipping discount. This field is required when creating a multiple-quantity fixed-price listing. This field is not applicable for single-quantity listings.
FreeShipping String False Specifies that the seller wants to offer free shipping. This applies only to the first specified domestic shipping service and is ignored if set for any other shipping service.
ShippingPackage String False The nature of the package used to ship the item(s). Required for calculated shipping only.
ShippingIrregular String False Whether a package is irregular and therefore cannot go through the stamping machine at the shipping service office and thus requires special or fragile handling.
MeasurementUnit String False Specifies the unit type of the weight and dimensions of a shipping package. If MeasurementUnit is used, it overrides the system specified by measurementSystem. If MeasurementUnit and measurementSystem are not specified, the following defaults will be used: English: US Metric: CA, CAFR, AU.
MeasurementSystem String False System of Measurement for PackageDepth, PackageLength, PackageWidth, WeightMajor, and WeightMinor (English or Metric).
PackageDepth String False Depth of the package needed to ship the item.
PackageDepthUnit String False Unit of measurement for PackageDepth (e.g., in, cm).
PackageLength String False Length of the package needed to ship the item.
PackageLengthUnit String False Unit of measurement for PackageLength (e.g., in, cm).
PackageWidth String False Width of the package needed to ship the item.
PackageWidthUnit String False Unit of measurement for PackageWidth (e.g., in, cm).
WeightMajor String False The major unit used to specify the weight of a shipping package. For example, lbs.
WeightMajorUnit String False Unit of measurement for WeightMajor.
WeightMinor String False The minor unit used to specify the weight of a shipping package. For example, oz.
WeightMinorUnit String False Unit of measurement for WeightMinor.
BestOfferEnabled String False This field indicates whether or not the Best Offer feature is enabled for this item.
ShipToRegistrationCountry String False The seller includes and sets this field to true as a mechanism to block bidders who reside (according to their eBay primary shipping address) in countries that are on the ship-to exclusion list.
StoreCategoryId String False Unique identifier of a primary custom category in which to list the item.
StoreCategoryName String False Category name of a primary custom category in which to list the item.
StoreCategoryId2 String False Unique identifier for the secondary custom category in which to list the item.
StoreCategoryName2 String False Name of the secondary custom category in which to list the item.
DaysToFullPayment String False This integer value indicates the number of days that a buyer has (after he/she commits to buy) to make full payment to the seller and close the remaining balance on a motor vehicle. Valid values are 3, 7 (default), 10, and 14.
Brand String False The brand of the product. eBay searches against the names that are publicly available in its product catalogs. This means you can specify the well-known brand name that an average user would recognize. Both Brand and MPN must be specified if the BrandMPN column is used.
BrandMPN String False The manufacturer part number of the product. Use the value specified by the manufacturer.
EAN String False Applicable for listing use cases only (not buy-side searching). EAN is a unique 8 or 13 digit identifier that many industries (such as book publishers) use to identify products.
IncludeeBayProductDetails String False This boolean field controls whether or not an eBay catalog product is used to help create or revise an item listing.
IncludeStockPhotoURL String False If true, indicates that the item listing includes the stock photo.
ISBN String False Applicable for listing use cases only (not buy-side searching). ISBN is a unique identifer for books (an international standard). Specify a 10 or 13 character ISBN.
ProductReferenceId String False The short global reference Id for a catalog product.
UPC String False Applicable for listing use cases only (not buy-side searching). UPC is a unique, 12-character identifier that many industries use to identify products.
UseStockPhotoURLAsGallery String False If true, indicates that the stock photo for an item (if available) is used as the gallery thumbnail. IncludeStockPhotoURL must also be true and Item.
PaymentProfileId String False The unique identifier of a Business Policies payment profile. A PaymentProfileId or PaymentProfileName can be specified.
PaymentProfileName String False The name of a Business Policies payment profile. A PaymentProfileId or PaymentProfileName can be specified.
ReturnProfileId String False The unique identifier of a Business Policies return policy profile. A ReturnProfileId or ReturnProfileName can be specified.
ReturnProfileName String False The name of a Business Policies return policy profile. A ReturnProfileId or ReturnProfileName can be specified.
ShippingProfileId String False The unique identifier of a Business Policies shipping policy profile. A ShippingProfileId or ShippingProfileName can be specified.
ShippingProfileName String False The name of a Business Policies shipping policy profile. A ShippingProfileId or ShippingProfileName can be specified.
BusinessSeller String False If true, this indicates that the seller is a business user and intends to use listing features that are offered to business users only.
RestrictedToBusiness String False If true, this indicates that the seller elects to offer the item exclusively to business users. If false or not specified, this indicates that the seller elects to offer the item to all users.
VATPercent String False VAT rate for the item, if any.
PhotoDisplay String False Specifies the type of image display used in a listing. Some options are only available if images are hosted through eBay Picture Services (EPS).
PictureUrl# String False Source of the picture. Use this input to add multiple pictures. PictureUrl#1, PictureUrl#2, PictureUrl#3 etc.
GalleryURL String False This field is used internally only. The Gallery image is always the first PictureURL passed in and this field is set to that value.
ItemSpecificName# String False Item specifics' name (for example ItemSpecificName#1 Release Title, ItemSpecificName#2 Publisher...). Combine this with ItemSpecificValue.
ItemSpecificValue# String False Item specifics' value (for example ItemSpecificValue#1 Title, ItemSpecificValue#2 PublisherName...). Combine this with ItemSpecificName.
ProductCompliancePolicyId String False This field is used if the seller wants to apply one or more seller-created global product compliance policies that will be used in a listing.
ProductCountryPolicy String False Defines the 2-letter country code set.
ProductCountryPolicyId String False The policy Id specifying product compliance policy information.
TakeBackCountryPolicy String False Defines the 2-letter country code set.
TakeBackCountryPolicyId String False The policy Id specifying take-back policy information.
TakeBackPolicyId String False This field is used if the seller wants to apply a global take-back policy to the listing.
ConditionAdditionalInfo String False This text provides additional information about a condition descriptor.
ConditionName String False A numeric ID is passed in this field. This numeric ID maps to the name of a condition descriptor.
ConditionValue String False A numeric ID is passed in this field. This numeric ID maps to the value associated with a condition descriptor name.

Result Set Columns

Name Type Description
ItemId String The unique identifier of the created item.
StartTime String Starting date and time for the new listing.
EndTime String Date and time when the new listing is scheduled to end based on the start time and the listing duration value that was set in the ListingDuration field at listing time.
FeesAggregate String An array of fees associated with the creation of the listing.
DiscountReason String One or more listing fee/upgrade discount types being offered by eBay to the seller. Applicable values: CustomCode, Promotion, SpecialOffer.

CData Cloud

CompleteSale

Do various tasks after the creation of a single line item or multiple line item order. For example, complete a sale and leave feedback.

Input

Name Type Required Description
FeedbackCommentText String False Textual comment that explains, clarifies, or justifies the Feedback rating specified in FeedbackCommentType. This field is required if feedback is left.
FeedbackCommentType String False This value indicates the Feedback rating for the user specified in the FeedbackTargetUser field. This field is required if feedback is left.For example, positive or negative.
FeedbackTargetUser String False Username of the target user.
ItemId String False Id of the item sold.
OrderId String False A unique identifier that identifies a single line item or multiple line item order.
OrderLineItemId String False A unique identifier for an eBay order line item based upon the concatenation of ItemId and TransactionId with a hyphen in between these two Ids. For a single line item order, the OrderLineItemId value can be passed into the OrderId field.
Paid String False Whether the buyer has paid for the order. True or False.
ShipmentTrackingNumber String False The tracking number assigned by the shipping carrier to the item shipment. This field and the ShippingCarrierUsed field are mutually dependent. When you submit ShipmentTrackingNumber, you must also supply a value for ShippingCarrierUsed. When you submit ShippingCarrierUsed, you must also supply a value for ShipmentTrackingNumber.
ShippingCarrierUsed String False The name of the shipping carrier used to ship the item. This field and the ShipmentTrackingNumber field are mutually dependent. When you submit ShippingCarrierUsed, you must also supply a value for ShipmentTrackingNumber. When you submit ShipmentTrackingNumber, you must also supply a value for ShippingCarrierUsed.
ShippedTime String False The date and time that the seller handed off the packages to the shipping carrier. If this field is not included in the call, the timestamp of the call execution is used as the shipped time.
Shipped String False The seller includes and sets this field to true if the order has been shipped. If the call is successful, the order line items are marked as Shipped in My eBay. For example, true or false.
TransactionId String False Unique identifier for an eBay order line item (transaction).

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

CreateInventoryTask

This procedure creates an inventory-related download task for a specified feed type with optional filter criteria.

Input

Name Type Required Description
SchemaVersion String False Optional. The schemaVersion/version number of the file format (use the schema version of the API to which you are programming). LMS Version or Seller Hub feed schema version. For Seller Hub feed types, set the value of schemaVersion to '1.0'.
FeedType String False Optional. The feed type associated with the task. Defaults to LMS_ACTIVE_INVENTORY_REPORT.
ListingFormat String False Optional. The type of buying option for the order. Possible values are AUCTION,FIXED_PRICE.

Result Set Columns

Name Type Description
Success String True or false depending on whether the procedure was successful.
TaskId String The ID of the created download task.
Description String Extra details on the procedure's success or failure.

CData Cloud

CreateOrderTask

This procedure creates an order download task with filter criteria for the order report.

Input

Name Type Required Description
SchemaVersion String True Required. The schema version of the LMS OrderReport. For the LMS_ORDER_REPORT feed type, see the OrderReport reference page https://developer.ebay.com/devzone/merchant-data/CallRef/OrderReport.html to see the present schema version. The schemaVersion value is the version number shown at the top left of the OrderReport page.
FeedType String False Optional. The feed type associated with the task. Defaults to LMS_ORDER_REPORT.
CreationDateRangeFrom String False Optional. The creation date range of the orders you want returned. Set the date range so it contains less than 10 days (maximum). If you do not specify a DateRange, results from the last 10 days will be returned by default. Example: 2022-11-18T19:09:02.768Z.
CreationDateRangeTo String False Optional. The end date for the date range, which is inclusive. If the parent type is included, both the from and/or the to fields become conditionally required. Example: 2022-11-26T19:09:02.768Z.
OrderStatus String False Optional. The order status of the orders returned. If the filter is omitted from createOrderTask call, orders that are in both ACTIVE and COMPLETED states are returned. Possible values are ACTIVE or COMPLETED.

Result Set Columns

Name Type Description
Success String True or false depending on whether the procedure was successful.
TaskId String The ID of the created download task.
Description String Extra details on the procedure's success or failure.

CData Cloud

GetResultFile

This procedure retrieves the generated file that is associated with the specified task ID. The response of this call is a compressed or uncompressed CSV, XML, or JSON file, with the applicable file extension (for example: csv.gz).

Input

Name Type Required Description
TaskId String False Required. The ID of the task associated with the file you want to download. This ID was generated when the task was created.
DownloadPath String False Local path to save the generated report to.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.
FileName String The name of the generated file as generated by the API.
FileData String If the DownloadPath is left blank, the downloaded file's content will be output as a BASE64 encoded string.

CData Cloud

SetUserNotes

Add, replace, and delete My eBay notes for items that are being tracked in the My eBay Selling and Buying areas.

Note:このプロシージャは、インデックス付きパラメータを使用します。 インデックス付きパラメータは、プロシージャの入力として単一のパラメータを複数のインスタンスに提供することを容易にします。

Param# という名前の入力パラメータがあるとします。このようなインデックス付きパラメータの複数のインスタンスを入力するには、次のように実行します。

EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"

以下の表では、インデックス付きの入力パラメータは、名前の末尾に '#' 文字が付きます。

Input

Name Type Required Description
Action String True The seller must include this field and set it to 'AddOrUpdate' to add a new user note or update an existing user note, or set it to 'Delete' to delete an existing user note.
ItemId String False Unique identifier of the listing to which the My eBay note will be attached. Notes can only be added to items that are currently being tracked in My eBay.
NoteText String False This field is needed if the Action is AddOrUpdate. The text supplied in this field will completely replace any existing My eBay note for the specified item.
OrderLineItemId String False A unique identifier for an eBay order line item. This field is created as soon as there is a commitment to buy from the seller, and its value is based upon the concatenation of ItemID and TransactionID, with a hyphen in between these two IDs. OrderLineItemID can be used in the input instead of an ItemID/TransactionID pair to identify an order line item.
SKU String False SKU value of the item variation to which the My eBay note will be attached. Notes can only be added to items that are currently being tracked in My eBay. A SKU (stock keeping unit) value is defined by and used by the seller to identify a variation within a fixed-price, multiple- variation listing. The SKU value is assigned to a variation of an item through the Variations.Variation.SKU element.
TransactionId String False Unique identifier for the order line item to which the My eBay note will be attached. Notes can only be added to order line items that are currently being tracked in My eBay. Buyers can view user notes made on order line items in the PrivateNotes field of the WonList container in GetMyeBayBuying, and sellers can view user notes made on order line items in the PrivateNotes field of the SoldList and DeletedFromSoldList containers in GetMyeBaySellinging.
VariationSpecificName# String False Depending on the call and context, this value is either a name of an Item/Category/Variation Specific, or a Parts Compatibility name.
VariationSpecificValue# String False Depending on the call and context, this value is either the value of an Item/Category/Variation Specific, a Parts Compatibility value, or a product identifier.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.

CData Cloud

システムテーブル

このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。

スキーマテーブル

以下のテーブルは、eBay のデータベースメタデータを返します。

  • sys_catalogs:利用可能なデータベースをリスト。
  • sys_schemas:利用可能なスキーマをリスト。
  • sys_tables:利用可能なテーブルおよびビューをリスト。
  • sys_tablecolumns:利用可能なテーブルおよびビューのカラムについて説明。
  • sys_procedures:利用可能なストアドプロシージャについて説明。
  • sys_procedureparameters:ストアドプロシージャパラメータについて説明。
  • sys_keycolumns:主キーおよび外部キーについて説明。
  • sys_indexes:利用可能なインデックスについて説明。

データソーステーブル

以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。

  • sys_connection_props:利用可能な接続プロパティについての情報を返す。
  • sys_sqlinfo:Cloud がデータソースにオフロードできるSELECT クエリについて説明。

クエリ情報テーブル

次のテーブルは、データ変更クエリのクエリ統計を返します。

  • sys_identity:バッチ処理または単一の更新に関する情報を返す。

CData Cloud

sys_catalogs

利用可能なデータベースをリストします。

次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String データベース名。

CData Cloud

sys_schemas

利用可能なスキーマをリストします。

次のクエリは、すべての利用可能なスキーマを取得します。

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String データベース名。
SchemaName String スキーマ名。

CData Cloud

sys_tables

利用可能なテーブルをリストします。

次のクエリは、利用可能なテーブルおよびビューを取得します。

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String テーブルまたはビューを含むデータベース。
SchemaName String テーブルまたはビューを含むスキーマ。
TableName String テーブル名またはビュー名。
TableType String テーブルの種類(テーブルまたはビュー)。
Description String テーブルまたはビューの説明。
IsUpdateable Boolean テーブルが更新可能かどうか。

CData Cloud

sys_tablecolumns

利用可能なテーブルおよびビューのカラムについて説明します。

次のクエリは、ItemListing テーブルのカラムとデータ型を返します。

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='ItemListing' 

Columns

Name Type Description
CatalogName String テーブルまたはビューを含むデータベースの名前。
SchemaName String テーブルまたはビューを含むスキーマ。
TableName String カラムを含むテーブルまたはビューの名前。
ColumnName String カラム名。
DataTypeName String データ型の名前。
DataType Int32 データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。
Length Int32 カラムのストレージサイズ。
DisplaySize Int32 指定されたカラムの通常の最大幅(文字数)。
NumericPrecision Int32 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。
NumericScale Int32 カラムのスケール(小数点以下の桁数)。
IsNullable Boolean カラムがNull を含められるかどうか。
Description String カラムの簡単な説明。
Ordinal Int32 カラムのシーケンスナンバー。
IsAutoIncrement String カラムに固定増分値が割り当てられるかどうか。
IsGeneratedColumn String 生成されたカラムであるかどうか。
IsHidden Boolean カラムが非表示かどうか。
IsArray Boolean カラムが配列かどうか。
IsReadOnly Boolean カラムが読み取り専用かどうか。
IsKey Boolean sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。

CData Cloud

sys_procedures

利用可能なストアドプロシージャをリストします。

次のクエリは、利用可能なストアドプロシージャを取得します。

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String ストアドプロシージャを含むデータベース。
SchemaName String ストアドプロシージャを含むスキーマ。
ProcedureName String ストアドプロシージャの名前。
Description String ストアドプロシージャの説明。
ProcedureType String PROCEDURE やFUNCTION などのプロシージャのタイプ。

CData Cloud

sys_procedureparameters

ストアドプロシージャパラメータについて説明します。

次のクエリは、AddItem ストアドプロシージャのすべての入力パラメータについての情報を返します。

SELECT * FROM sys_procedureparameters WHERE ProcedureName='AddItem' AND Direction=1 OR Direction=2

Columns

Name Type Description
CatalogName String ストアドプロシージャを含むデータベースの名前。
SchemaName String ストアドプロシージャを含むスキーマの名前。
ProcedureName String パラメータを含むストアドプロシージャの名前。
ColumnName String ストアドプロシージャパラメータの名前。
Direction Int32 パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。
DataTypeName String データ型の名前。
DataType Int32 データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。
Length Int32 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。
NumericPrecision Int32 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。
NumericScale Int32 数値データの小数点以下の桁数。
IsNullable Boolean パラメータがNull を含められるかどうか。
IsRequired Boolean プロシージャの実行にパラメータが必要かどうか。
IsArray Boolean パラメータが配列かどうか。
Description String パラメータの説明。
Ordinal Int32 パラメータのインデックス。

CData Cloud

sys_keycolumns

主キーおよび外部キーについて説明します。

次のクエリは、ItemListing テーブルの主キーを取得します。

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='ItemListing' 
          

Columns

Name Type Description
CatalogName String キーを含むデータベースの名前。
SchemaName String キーを含むスキーマの名前。
TableName String キーを含むテーブルの名前。
ColumnName String キーカラムの名前
IsKey Boolean カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。
IsForeignKey Boolean カラムがTableName フィールドで参照される外部キーかどうか。
PrimaryKeyName String 主キーの名前。
ForeignKeyName String 外部キーの名前。
ReferencedCatalogName String 主キーを含むデータベース。
ReferencedSchemaName String 主キーを含むスキーマ。
ReferencedTableName String 主キーを含むテーブル。
ReferencedColumnName String 主キーのカラム名。

CData Cloud

sys_foreignkeys

外部キーについて説明します。

次のクエリは、他のテーブルを参照するすべての外部キーを取得します。

         SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
          

カラム

名前 タイプ 説明
CatalogName String キーを含むデータベースの名前。
SchemaName String キーを含むスキーマの名前。
TableName String キーを含むテーブルの名前。
ColumnName String キーカラムの名前
PrimaryKeyName String 主キーの名前。
ForeignKeyName String 外部キーの名前。
ReferencedCatalogName String 主キーを含むデータベース。
ReferencedSchemaName String 主キーを含むスキーマ。
ReferencedTableName String 主キーを含むテーブル。
ReferencedColumnName String 主キーのカラム名。
ForeignKeyType String 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。

CData Cloud

sys_primarykeys

主キーについて説明します。

次のクエリは、すべてのテーブルとビューから主キーを取得します。

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String キーを含むデータベースの名前。
SchemaName String キーを含むスキーマの名前。
TableName String キーを含むテーブルの名前。
ColumnName String キーカラムの名前。
KeySeq String 主キーのシーケンス番号。
KeyName String 主キーの名前。

CData Cloud

sys_indexes

利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。

次のクエリは、主キーでないすべてのインデックスを取得します。

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

Name Type Description
CatalogName String インデックスを含むデータベースの名前。
SchemaName String インデックスを含むスキーマの名前。
TableName String インデックスを含むテーブルの名前。
IndexName String インデックス名。
ColumnName String インデックスに関連付けられたカラムの名前。
IsUnique Boolean インデックスが固有の場合はTrue。そうでない場合はFalse。
IsPrimary Boolean インデックスが主キーの場合はTrue。そうでない場合はFalse。
Type Int16 インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。
SortOrder String 並べ替え順序:A が昇順、D が降順。
OrdinalPosition Int16 インデックスのカラムのシーケンスナンバー。

CData Cloud

sys_connection_props

利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。

次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

Name Type Description
Name String 接続プロパティ名。
ShortDescription String 簡単な説明。
Type String 接続プロパティのデータ型。
Default String 明示的に設定されていない場合のデフォルト値。
Values String 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。
Value String 設定した値またはあらかじめ設定されたデフォルト。
Required Boolean プロパティが接続に必要かどうか。
Category String 接続プロパティのカテゴリ。
IsSessionProperty String プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。
Sensitivity String プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。
PropertyName String キャメルケースの短縮形の接続プロパティ名。
Ordinal Int32 パラメータのインデックス。
CatOrdinal Int32 パラメータカテゴリのインデックス。
Hierarchy String このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。
Visible Boolean プロパティが接続UI に表示されるかどうかを通知します。
ETC String プロパティに関するその他のさまざまな情報。

CData Cloud

sys_sqlinfo

Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。

SQL 構文の詳細については、SQL 準拠 を参照してください。

データソースのSELECT 機能

以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。

名前説明有効な値
AGGREGATE_FUNCTIONSサポートされている集計関数。AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTCOUNT 関数がサポートされているかどうか。YES, NO
IDENTIFIER_QUOTE_OPEN_CHAR識別子をエスケープするための開始文字。[
IDENTIFIER_QUOTE_CLOSE_CHAR識別子をエスケープするための終了文字。]
SUPPORTED_OPERATORSサポートされているSQL 演算子。=, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BYGROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
OJ_CAPABILITIESサポートされている外部結合の種類。NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS
OUTER_JOINS外部結合がサポートされているかどうか。YES, NO
SUBQUERIESサブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED
STRING_FUNCTIONSサポートされている文字列関数。LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONSサポートされている数値関数。ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONSサポートされている日付および時刻関数。NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLESレプリケーション中にスキップされたテーブルを示します。
REPLICATION_TIMECHECK_COLUMNSレプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。
IDENTIFIER_PATTERN識別子としてどの文字列が有効かを示す文字列値。
SUPPORT_TRANSACTIONプロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。YES, NO
DIALECT使用するSQL ダイアレクトを示します。
KEY_PROPERTIESUniform データベースを特定するプロパティを示します。
SUPPORTS_MULTIPLE_SCHEMASプロバイダー用に複数のスキームが存在するかどうかを示します。YES, NO
SUPPORTS_MULTIPLE_CATALOGSプロバイダー用に複数のカタログが存在するかどうかを示します。YES, NO
DATASYNCVERSIONこのドライバーにアクセスするために必要な、CData Sync のバージョン。Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYこのドライバーのCData Sync カテゴリ。Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLAPI で提供されている以上の、追加SQL 機能がサポートされているかどうか。TRUE, FALSE
SUPPORTS_BATCH_OPERATIONSバッチ操作がサポートされているかどうか。YES, NO
SQL_CAPこのドライバーでサポートされているすべてのSQL 機能。SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONS使用したいcacheOptions を指定する文字列値。
ENABLE_EF_ADVANCED_QUERYドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。YES, NO
PSEUDO_COLUMNS利用可能な疑似カラムを示す文字列の配列。
MERGE_ALWAYS値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。TRUE, FALSE
REPLICATION_MIN_DATE_QUERYレプリケート開始日時を返すSELECT クエリ。
REPLICATION_MIN_FUNCTIONサーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。
REPLICATION_START_DATEレプリケート開始日を、プロバイダーが指定できるようになります。
REPLICATION_MAX_DATE_QUERYレプリケート終了日時を返すSELECT クエリ。
REPLICATION_MAX_FUNCTIONサーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。
IGNORE_INTERVALS_ON_INITIAL_REPLICATE初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。
CHECKCACHE_USE_PARENTIDCheckCache 構文を親キーカラムに対して実行するかどうかを示します。TRUE, FALSE
CREATE_SCHEMA_PROCEDURESスキーマファイルの生成に使用できる、ストアドプロシージャを示します。

次のクエリは、WHERE 句で使用できる演算子を取得します。

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。

Columns

Name Type Description
NAME String SQL 構文のコンポーネント、またはサーバー上で処理できる機能。
VALUE String サポートされるSQL またはSQL 構文の詳細。

CData Cloud

sys_identity

試行された変更に関する情報を返します。

次のクエリは、バッチ処理で変更された行のId を取得します。

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String データ変更処理から返された、データベース生成Id。
Batch String バッチの識別子。1 は単一処理。
Operation String バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。
Message String SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。

CData Cloud

sys_information

利用可能なシステム情報を説明します。

次のクエリは、すべてのカラムを取得します。

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductString製品名。
VersionString製品のバージョン番号。
DatasourceString製品が接続するデータソースの名前。
NodeIdString製品がインストールされているマシンの固有識別子。
HelpURLString製品のヘルプドキュメントのURL。
LicenseString製品のライセンス情報。(この情報が利用できない場合、この項目は空白のままか「N/A」と表示されます。)
LocationString製品のライブラリが格納されているファイルパスの場所。
EnvironmentString製品が現在稼働している環境またはランタイムのバージョン。
DataSyncVersionString本コネクタを使用するために必要なCData Sync のティア。
DataSyncCategoryStringCData Sync 機能のカテゴリ(例:Source、Destination)。

CData Cloud

接続文字列オプション

接続文字列プロパティは、接続を確立するために使用できるさまざまなオプションです。このセクションでは、本プロバイダーの接続文字列で設定できるオプションの一覧を示します。詳細については各リンクをクリックしてください。

Authentication


プロパティ説明
AuthScheme認証に使用されるスキーム。使用可能なエントリはOAuth およびAuthNAuth です。
DevIDeBay Developer Program に登録されているDeveloper Id。
SiteIDリクエストを送信するeBay サイトのId。デフォルト値は0(U.S.)です。
UseSandboxサンドボックスアカウントを使用していることを示すboolean。
RuName検証に使われるリダイレクトURL 名。provider を他のユーザーがデータにアクセスすることを許可する場合には、このプロパティを使う必要があります。

OAuth


プロパティ説明
OAuthClientIdカスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthClientSecretカスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthAccessTokenOAuth ネットワークへの認証後に受け取ったトークンで、ユーザーにアクセス権を付与します。 アクセストークンはユーザーのログインID とパスワードの代わりに使用され、サーバーに保持されます。

SSL


プロパティ説明
SSLServerCertTLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。

Logging


プロパティ説明
VerbosityログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。

Schema


プロパティ説明
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。

Miscellaneous


プロパティ説明
MaxRows集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
PseudoColumnsテーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
CData Cloud

Authentication

このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。


プロパティ説明
AuthScheme認証に使用されるスキーム。使用可能なエントリはOAuth およびAuthNAuth です。
DevIDeBay Developer Program に登録されているDeveloper Id。
SiteIDリクエストを送信するeBay サイトのId。デフォルト値は0(U.S.)です。
UseSandboxサンドボックスアカウントを使用していることを示すboolean。
RuName検証に使われるリダイレクトURL 名。provider を他のユーザーがデータにアクセスすることを許可する場合には、このプロパティを使う必要があります。
CData Cloud

AuthScheme

認証に使用されるスキーム。使用可能なエントリはOAuth およびAuthNAuth です。

Possible Values

OAuth, AuthNAuth

データ型

string

デフォルト値

"OAuth"

解説

  • OAuth:OAuth 認証を行う場合に設定します。
  • AuthNAuth:設定すると、eBay API で使用されている従来のAuth'n'Auth 認証方法を実行します。

CData Cloud

DevID

eBay Developer Program に登録されているDeveloper Id。

データ型

string

デフォルト値

""

解説

eBay Developer Program に登録されているDeveloper Id。

CData Cloud

SiteID

リクエストを送信するeBay サイトのId。デフォルト値は0(U.S.)です。

データ型

string

デフォルト値

"0"

解説

リクエストを送信するeBay サイトのId。デフォルト値は0(U.S.)です。

CData Cloud

UseSandbox

サンドボックスアカウントを使用していることを示すboolean。

データ型

bool

デフォルト値

false

解説

サンドボックスアカウントを使用していることを示すboolean。

CData Cloud

RuName

検証に使われるリダイレクトURL 名。provider を他のユーザーがデータにアクセスすることを許可する場合には、このプロパティを使う必要があります。

データ型

string

デフォルト値

""

解説

検証に使われるリダイレクトURL 名。Cloud を他のユーザーがデータにアクセスすることを許可する場合には、このプロパティを使う必要があります。Developer Account から[User Tokens]をクリックし、[Get a Token from eBay via Your Application]をクリック、[Add eBay Redirect URL]をクリックして取得してください。

CData Cloud

OAuth

このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。


プロパティ説明
OAuthClientIdカスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthClientSecretカスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthAccessTokenOAuth ネットワークへの認証後に受け取ったトークンで、ユーザーにアクセス権を付与します。 アクセストークンはユーザーのログインID とパスワードの代わりに使用され、サーバーに保持されます。
CData Cloud

OAuthClientId

カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。

データ型

string

デフォルト値

""

解説

OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。

CData Cloud

OAuthClientSecret

カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。

データ型

string

デフォルト値

""

解説

OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。

CData Cloud

OAuthAccessToken

OAuth ネットワークへの認証後に受け取ったトークンで、ユーザーにアクセス権を付与します。 アクセストークンはユーザーのログインID とパスワードの代わりに使用され、サーバーに保持されます。

データ型

string

デフォルト値

""

解説

OAuth アクセストークンにはサーバーに依存する時間制限があり、ユーザーのアクセスを制限します。これは、OAuthExpiresIn プロパティを使用して設定します。ただし、ユーザーが操作を続けている限り、リクエスト間で再発行することでアクセスを維持することができます。

InitiateOAuth がREFRESH に設定されている場合、OAuthExpiresIn とOAuthTokenTimestamp の両方を設定することを推奨します。 Cloud は、これらのプロパティを使用してトークンの有効期限を判断し、最も効率的にリフレッシュできるようにします。

OAuthExpiresIn およびOAuthTokenTimestamp が指定されていない場合、Cloud はトークンを直ちにリフレッシュします。

CData Cloud

SSL

このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。


プロパティ説明
SSLServerCertTLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
CData Cloud

SSLServerCert

TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。

データ型

string

デフォルト値

""

解説

TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。

このプロパティは、次のフォームを取ります:

説明 例
フルPEM 証明書(例では省略されています) -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE-----
証明書を保有するローカルファイルへのパス。 C:\cert.cer
公開鍵(例では省略されています) -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY-----
MD5 Thumbprint (hex 値はスペースおよびコロン区切り) ecadbdda5a1529c58a1e9e09828d70e4
SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) 34a929226ae0819f2ec14b4a3d904f801cbb150d

これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。

すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。

CData Cloud

Logging

このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。


プロパティ説明
VerbosityログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。
CData Cloud

Verbosity

ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。

データ型

string

デフォルト値

"1"

解説

このプロパティは、Cloud がログファイルに含める詳細レベルを定義します。 Verbosity レベルを高くするとログに記録される情報の詳細が増えますが、ログファイルが大きくなり取り込まれるデータが増えるためパフォーマンスが低下する可能性があります。

デフォルトのVerbosity レベルは1で、通常の運用にはこれが推奨されます。 より高いVerbosity レベルは主にデバッグを目的としています。 各レベルの詳細については、ログ を参照してください。

LogModules プロパティと組み合わせることで、Verbosity は特定の情報カテゴリに対するログの詳細度を調整できます。

CData Cloud

Schema

このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。


プロパティ説明
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
CData Cloud

BrowsableSchemas

レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。

データ型

string

デフォルト値

""

解説

利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。

CData Cloud

Miscellaneous

このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。


プロパティ説明
MaxRows集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
PseudoColumnsテーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
CData Cloud

MaxRows

集計やGROUP BY を使用しないクエリで返される最大行数を指定します。

データ型

int

デフォルト値

-1

解説

このプロパティは、集計やGROUP BY 句を含まないクエリに対してCloud が返す行数の上限を設定します。 この制限により、クエリがデフォルトで過度に大きな結果セットを返さないようにします。

クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。 MaxRows が"-1" に設定されている場合、LIMIT 句が明示的にクエリに含まれていない限り、行の制限は行われません。

このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し過剰なリソース消費を防ぐのに役立ちます。

CData Cloud

PseudoColumns

テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。

データ型

string

デフォルト値

""

解説

このプロパティを使用すると、Cloud がテーブルカラムとして公開する擬似カラムを定義できます。

個々の擬似カラムを指定するには、以下の形式を使用します。"Table1=Column1;Table1=Column2;Table2=Column3"

すべてのテーブルのすべての擬似カラムを含めるには、次のようにします:"*=*"

CData Cloud

Timeout

provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。

データ型

int

デフォルト値

60

解説

このプロパティは、Cloud が操作をキャンセルする前に操作の完了を待機する最大時間を秒単位で制御します。 操作の完了前にタイムアウト時間が経過すると、Cloud は操作をキャンセルして例外をスローします。

タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。

このプロパティを0に設定するとタイムアウトが無効になり、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。 このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175