orderNumbers 端點用於安全地檢索透過 Zonos Checkout 完成的訂單編號清單。通常用於訂單對帳,以確保所有訂單已按日期或 orderID 導入,以及查詢日期範圍內的訂單。
orderNumbers
POST | https://api.iglobalstores.com/v1/orderNumbers
https://api.iglobalstores.com/v1/orderNumbers
訊息格式:JSON
{
"store": "999",
"secret": "f5bde245-f55e-414d-b722-80b25161c12c",
"sinceOrderId": "999-99999"
}
missingMerchantOrderId
merchantOrderId
updateMerchantOrderID
boolean: true/false
secret
string
sinceDate
sinceOrderId
yyyymmdd
throughDate
integer / string
statuses
boolean: true
store
integer
"totalCount": 6,
"orderCount": 5,
"testOrderCount": 1,
"orders": [
"testOrder": false,
"id": "999-99991",
"timestamp": "2015-01-01 00:33:14.0"
},
"testOrder": true,
"id": "999-99992",
"timestamp": "2015-01-01 05:12:46.0"
"id": "999-99993",
"timestamp": "2015-01-01 14:50:54.0"
"id": "999-99994",
"timestamp": "2015-01-02 20:14:01.0"
"id": "999-99995",
"timestamp": "2015-01-02 20:57:47.0"
"id": "999-99996",
"timestamp": "2015-01-02 22:11:40.0"
]
error
orderCount
order.testOrderCount
orders
orders[index].id
orders[index].merchantOrderId
updateMerchantOrderId
MerchantOrderId
orders[index].orderStatus
orders[index].orderStatusDate
orders[index].orderStatusDateString
timestamp
orders[index].testOrder
boolean
orders[index].timestamp
totalCount
訂單編號
訂單編號
了解訂單編號端點如何運作。orderNumbers端點用於安全地檢索透過 Zonos Checkout 完成的訂單編號清單。通常用於訂單對帳,以確保所有訂單已按日期或 orderID 導入,以及查詢日期範圍內的訂單。端點
POST |
https://api.iglobalstores.com/v1/orderNumbersHTTPS 請求
https://api.iglobalstores.com/v1/orderNumbers請求本文中的 JSON 鍵值對
訊息格式:JSON
{"store": "999","secret": "f5bde245-f55e-414d-b722-80b25161c12c","sinceOrderId": "999-99999"}請求 JSON 定義
missingMerchantOrderId可選,如果傳遞其他參數選項merchantOrderId的一組訂單。當透過updateMerchantOrderIDAPI 端點提交merchantOrderId時,訂單將不再在此查詢中顯示。boolean: true/falsesecret必需stringsinceDate可選,如果傳遞sinceOrderId參數。sinceDate和sinceOrderId無法同時發送。string- 日期 UTC/GMT;格式:yyyymmddsinceOrderId可選,如果傳遞sinceDate/throughDate參數sinceDate和sinceOrderId無法同時發送。integer / stringstatuses可選merchantOrderId。如果它出現在請求中,無論其值如何,都將包含狀態。boolean: truestore必需integerthroughDate可選sinceDate參數一起傳遞。string- 日期 UTC/GMT;格式:yyyymmddHTTPS 回應
訊息格式:JSON
{"totalCount": 6,"orderCount": 5,"testOrderCount": 1,"orders": [{"testOrder": false,"id": "999-99991","timestamp": "2015-01-01 00:33:14.0"},{"testOrder": true,"id": "999-99992","timestamp": "2015-01-01 05:12:46.0"},{"testOrder": false,"id": "999-99993","timestamp": "2015-01-01 14:50:54.0"},{"testOrder": false,"id": "999-99994","timestamp": "2015-01-02 20:14:01.0"},{"testOrder": false,"id": "999-99995","timestamp": "2015-01-02 20:57:47.0"},{"testOrder": false,"id": "999-99996","timestamp": "2015-01-02 22:11:40.0"}]}錯誤 HTTP 回應
回應 JSON 定義
errorstringorderCountintegerorder.testOrderCountintegerordersstringorders[index].idstringorders[index].merchantOrderIdupdateMerchantOrderIdAPI 服務端點與訂單相關聯的MerchantOrderId。stringorders[index].orderStatusstringorders[index].orderStatusDateintegerorders[index].orderStatusDateStringtimestamporders[index].testOrderbooleanorders[index].timestamptimestamptotalCountinteger這個頁面有幫助嗎?