For the complete documentation index, see llms.txt. This page is also available as Markdown.

Danh sách khách hàng

API lấy danh sách khách hàng của shop trên Abit

URL API: https://new.abitstore.vn

POST /accounts/getlistAccountbyPartner

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

filter_by

string

filter_by có 2 giá trị UPDATE và CREATE

order_by

string

order_by có 2 giá trị DESC và ASC

date_time_start

datetime

Thời gian bắt đầu lọc , định dạng Y-m-d H:i:s Ví dụ : 2025-03-13 08:00:00

date_time_end

datetime

Thời gian kết thúc lọc , định dạng Y-m-d H:i:s Ví dụ : 2025-03-13 23:59:59

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":"MWM4MmFjYjYzYzYwOTkxOTg1OGVjNTA1NjcxY2QwZDc=",
"partner_name":"bizfly",
"filter_by":"CREATE",
"order_by":"DESC",
"date_time_start":"2023-05-01 00:00:00",
"date_time_end":"2023-08-14 23:59:59",
"page":0,
"limit":3
}

{
  "total": 1,
  "data": [
    {
      "accountid": 7374504,
      "account_no": "ACC468389",
      "account_no_shop": "",
      "accountname": "test",
      "phone": "0377500000",
      "otherphone": "0982500000",
      "email1": "abc@gmail.com",
      "email2": null,
      "chanel": null,
      "status": 0,
      "diachigiaohang": "Hapulico VTP",
      "created_at": "2023-07-17 14:16:12",
      "updated_at": "2023-08-21 10:09:44",
      "account_label": "",
      "bill_street": "Hapulico VTP 1",
      "diachivanphong": "Hapulico VTP 2",
      "diachi_vat": "Hapulico VTP 3",
      "thongdiep": null,
      "birthday": "0000-00-00",
      "use_zalo": 0,
      "gioi_tinh": "",
      "owner_name": "HN - Thuỳ Linh",
      "productstorename": "HTX Hà Nội",
      "nguonkhach": ""
    }
  ]
}

Last updated

Was this helpful?