Lịch sử đơn hàng
API này dùng để lấy lịch sử thao tác với đơn hàng.
Request
curl --location 'https://pos.open.nhanh.vn/v3.0/order/history?appId={{appId}}&businessId={{businessId}}' \
--header 'Authorization: {{accessToken}}' \
--header 'Content-Type: application/json' \
--data '{
"filters" : {
"orderIds": [100, 101],
"steps": [1, 7]
}
}'Filters
Key
Type
Description
orderIds
array
Mảng ID đơn hàng, tối đa 100
type
string
loguser: Lấy lịch sử thao tác trên Nhanh. logcarrier: Lấy lịch sử đơn hàng từ hãng vận chuyển
createdAtFrom
int
Ngày tạo lịch sử thao tác đơn hàng từ ngày (định dạng timestamp)
createdAtTo
int
Ngày tạo lịch sử thao tác đơn hàng đến ngày (định dạng timestamp)
Response
Failed response
Xem các mã lỗi chung tại đây.
Successful response
Last updated