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]
    }
}'

Filters

Key
Type
Description

orderIds

array ^{{\color{red}*}}

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

Successful response

Last updated