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这个页面有帮助吗?