Danh sách sản phẩm trong bảng giá
Tính năng này dùng để lấy danh sách sản phẩm trong các bảng giá trên Nhanh.vn.
Request
Xem Postman sample.
curl --location 'https://pos.open.nhanh.vn/v3.0/promotion/pricelistproduct?appId={{appId}}&businessId={{businessId}}' \
--header 'Authorization: {{accessToken}}' \
--header 'Content-Type: application/json'
--data '{
"filters": {
"priceListIds": [],
"productIds": []
},
"paginator": {
"size": 50,
"sort": {
"id": "desc"
}
"next": {
"id": 676578
}
}
}'Filters
Key
Type
Description
productIds
array
Mảng id sản phẩm.
priceListIds
array
Mảng id sản phẩm bảng giá.
Response
Xem cấu trúc chung tại đây.
Failed response
Xem các mã lỗi chung tại đây.
Successful response
Last updated