orderNumbers 端點用於安全地檢索通過 Zonos Checkout 完成的訂單號碼列表。通常用於訂單協調,以確保所有訂單已導入至特定日期或訂單 ID,以及特定日期範圍內的訂單。
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 完成的訂單號碼列表。通常用於訂單協調,以確保所有訂單已導入至特定日期或訂單 ID,以及特定日期範圍內的訂單。端點
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這個頁面有幫助嗎?