Danh sách sản phẩm (Tồn kho)
API cho phép lấy danh sách sản phẩm của shop trong mục quản lý sản phẩm
URL API: https://new.abitstore.vn
POST /products/listProductsWithStockforPartner
Headers
Name
Value
Content-Type
application/json
Body
Name
Type
Description
access_token
string
Mã Access token được khởi tạo và cấp quyền bởi chủ tài khoản Abit, Xem hướng dẫn tạo Access Token
partner_name
string
Mã shop khi đăng ký Abit
productcode
string
Mã hàng sản phẩm, dùng khi bạn muốn lấy tồn kho một mã hàng trên tài khoản của shop
productstoreid
int
ID kho hàng, chi nhánh
page
int
Phân trang, lấy kết quả ở trang thứ mấy, mặc định giá trị là 0
limit
int
Giới hạn kết quả trả ra, mặc định là 10
{
"access_token":"Zjg5ZDYzNmFmOGFkYmQwODVmMzVmOWM4YTRlMDFiMWQ=",
"partner_name":"Abit",
"productcode":"ABC-001",
"productstoreid":1,
"page": 0,
"limit": 2
}[
{
"productcode": "240L-VANG",
"productname": "Thùng rác nhựa 240L - HDPE giá rẻ - Vàng - 240L-VANG",
"alias": null,
"usageunit": "Cái",
"gia_daily": "979000.000",
"unit_price": "979000.000",
"imagename": "[{\"isDefault\":true,\"imgSrc\":\"https://cf.shopee.vn/file/773548b499f1ac822ad6baab61ae3884\"}]",
"productid": 86184674,
"weight": "11000",
"taxpercentage": "0.000",
"vitri": "",
"inventorytype": 0,
"created_at": "2025-11-05 22:51:55",
"updated_at": "2025-11-05 22:51:55",
"status": 1,
"tonkho_toithieu": 0,
"tonkho_toida": 0,
"default_image": null,
"short_description": "",
"description": "",
"productcategory": "",
"brandid": 0,
"brandname": "",
"slton": "161.000",
"tong_hang_dang_ve": "10"
},
{
"productcode": "HTD100810000",
"productname": "HTĐ 100810",
"alias": null,
"usageunit": "Hộp",
"gia_daily": "260000.000",
"unit_price": "360000.000",
"imagename": "[{\"id\":1,\"isDefault\":true,\"imgSrc\":\"https://d3c8heq3znktqo.cloudfront.net/wp-content/uploads/2018/01/31204546/GoodInstagramPhotos-940x627.jpeg\"},{\"id\":2,\"isDefault\":false,\"imgSrc\":\"https://c.tadst.com/gfx/750x500/moon-photography-camera.jpg\"}]",
"productid": 85898210,
"weight": "100",
"taxpercentage": "10.000",
"vitri": "",
"inventorytype": 0,
"created_at": "2025-10-30 08:11:50",
"updated_at": "2025-10-30 08:11:50",
"status": 1,
"tonkho_toithieu": 5,
"tonkho_toida": 250,
"default_image": null,
"short_description": "",
"description": "",
"productcategory": "0",
"brandid": 0,
"brandname": "",
"slton": 4,
"tong_hang_dang_ve": 3
}
]Last updated
Was this helpful?
