0
NewEgg APIリファレンスドキュメントをチェックしましたが、EbayやAmazonがAPIで提供するトークンや特定のIDで注文を表示する方法が見つかりませんでした。 Amazonには、特定の加盟店IDの詳細を取得するListOrdersがあります。同様に、私はNew Eggの注文もリストアップする必要がありますが、助けになるものは見つけられません。リスト注文NewEgg API
NewEgg APIリファレンスドキュメントをチェックしましたが、EbayやAmazonがAPIで提供するトークンや特定のIDで注文を表示する方法が見つかりませんでした。 Amazonには、特定の加盟店IDの詳細を取得するListOrdersがあります。同様に、私はNew Eggの注文もリストアップする必要がありますが、助けになるものは見つけられません。リスト注文NewEgg API
Order Management APIのGet Order Infoセクションを使用できます。 https://mkpl.newegg.com/wiki/doku.php/api_developer_guide:order_management#get_order_info
例JSONリクエスト:
PUT https://api.newegg.com/marketplace/ordermgmt/order/orderinfo?sellerid={sellerid}
Authorization: {authorization}
SecretKey: {secretkey}
Content-Type: application/json
Accept: application/json
{
"OperationType": "GetOrderInfoRequest",
"RequestBody": {
"PageIndex": "1",
"PageSize": "10",
"RequestCriteria": {
"Status": "0",
"Type": "0",
"OrderDateFrom": "2011-01-01 09:30:47",
"OrderDateTo": "2011-12-17 09:30:47",
"OrderDownloaded": 0,
"CountryCode":"USA",
"PremierOrder":"0"
}
}
}
またはAPIのレポート管理部。
https://mkpl.newegg.com/wiki/doku.php/api_developer_guide:reports_management#order_list_report
例JSON要求:
POST https://api.newegg.com/marketplace/reportmgmt/report/submitrequest?sellerid={sellerid}
Authorization: {authorization}
SecretKey: {secretkey}
Content-Type: application/json
Accept: application/json
{
"OperationType": "OrderListReportRequest",
"RequestBody": {
"OrderReportCriteria": {
"RequestType": "ORDER_LIST_REPORT",
"KeywordsType": "0",
"Status": "0",
"Type": "0",
"OrderDateFrom": "2018-01-01",
"OrderDateTo": "2012-01-31",
"OrderDownloaded": "false",
"CountryCode":”USA",
"PremierOrder":"0"
}
}
}