Danh sách đơn hàng
API cho phép lấy danh sách đơn hàng gần nhất trên shop, hỗ trợ lọc theo ngày, có phân trang, lấy danh sách đơn hàng tối đa trong vòng 3 tháng gần đây
URL API: https://new.abitstore.vn
POST /invoices/getlistInvoicebyPartner
Headers
Content-Type
application/json
Body
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
invoicestatus
arrray
Mặc định là [] , nếu bạn muốn lọc theo nhiều trạng thái đơn hàng trên Abit thì truyền theo định dạng , Danh sách Mã trạng thái đơn hàng lấy trong API Trạng thái đơn hàng , Đơn hoả tốc truyền trạng thái Donhoatoc
[
"AutoCreated",
"Thanhcong"
]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": "UPDATE",
"order_by": "DESC",
"date_time_start": "2023-05-01 00:00:00",
"date_time_end": "2023-08-08 23:59:59",
"page": 0,
"limit": 10
}{
"total": 1,
"data": [
{
"invoiceid": 79003479,
"invoice_no": "EG71346245A72",
"subject": "Vy",
"dienthoai": "0988800090",
"diachigiaohang": "203 Minh Khai, Hai Bà Trưng, Hà Nội",
"pushed": 0,
"storeid": "1",
"invoicestatus": "AutoCreated",
"createdtime": "2025-04-29 12:06:05",
"modifiedtime": "2025-06-14 09:39:48",
"smownerid": 14166,
"total": "770000.000",
"accountid": 0,
"total_giavon": "100000.000",
"subtotal": "770000.000",
"s_h_amount": "0.000",
"discount_amount": "0.000",
"mavandon": "",
"donvi_vc": "",
"phivanchuyenthuctra": "0.000",
"giamgiadonhang": "0.000",
"tiendatcoc": "0.000",
"cuoccod": "",
"CodAmount": 0,
"cf_889": "0",
"tongcuocdi": "",
"ngaygui": null,
"idprofile": "23928637000116784",
"type_invoice": "1",
"trungdon": "",
"nguoinhanhang": "Vy",
"ngayxacnhan": null,
"confirm_order": null,
"mahang": "(1)BN0097,(1)120L-DEN-19082024...",
"ghichu1": "",
"notevanchuyen": "",
"provinceCode": "01",
"districtcode": "007",
"is_print": 0,
"tracking_no": null,
"chanel": "Fanpage",
"nhanvien": "",
"staff_cskh": 0,
"type_client": 0,
"other_vandon": null,
"idpage": "2013792605578989",
"idpost": "",
"paymentby_voucher": "0.000",
"paymentby_card": "0.000",
"paymentby_cash": "0.000",
"paymentby_other": "0.000",
"thongdiep": "0988800090...",
"taxtotal_invoice": "0.000",
"taxtype": "individual",
"eoi_fee_and_tax_amount": null,
"commission_value": null,
"eoi_escrow_amount": null,
"eoi_refund_amount_to_buyer": null,
"is_doisoat": 0,
"eoi_service_fee": null,
"eoi_commission_fee": null,
"salescommission": "0",
"eoi_fee_voucher_xtra_service_fee_amount": null,
"eoi_fee_flash_sales_service_fee_amount": null,
"eoi_actual_shipping_fee": null,
"ecommerce_id": "0",
"eoi_buyer_total_amount": null,
"eoi_original_price": null,
"eoi_seller_discount": "0.00",
"eoi_platform_discount": null,
"eoi_shippingprovider_discount": null,
"eoi_voucher_from_seller": null,
"eoi_voucher_from_platform": null,
"eoi_coins": null,
"eoi_buyer_paid_shipping_fee": "0.00",
"eoi_buyer_transaction_fee": null,
"eoi_cross_border_tax": null,
"eoi_payment_promotion": null,
"eoi_seller_transaction_fee": null,
"eoi_seller_lost_compensation": null,
"eoi_seller_coin_cash_back": null,
"eoi_final_shipping_fee": null,
"eoi_final_seller_service_fee_list_fee_amount": null,
"eoi_shopee_shipping_rebate": null,
"eoi_shipping_fee_discount_from_3pl": null,
"eoi_seller_shipping_discount": null,
"eoi_estimated_shipping_fee": null,
"eoi_seller_voucher_code": null,
"eoi_drc_adjustable_refund": null,
"eoi_cost_of_goods_sold": null,
"eoi_original_cost_of_goods_sold": "750000.00",
"eoi_original_platform_discount": null,
"eoi_seller_return_refund": null,
"eoi_reverse_shipping_fee": null,
"eoi_final_product_vat_tax": null,
"eoi_rts_sla": null,
"eoi_rts_time": null,
"eoi_tts_sla": null,
"eoi_order_id": null,
"eoi_cancel_order_sla": null,
"eoi_cancel_reason": null,
"eoi_cancel_user": null,
"eoi_fulfillment_type": 0,
"return_order_id": null,
"return_tracking_no": null,
"return_shipping_provider": null,
"is_trahang_hoantien": 0,
"eoi_fee_affiliate_ads_commission_amount": null,
"eoi_fee_affiliate_commission_amount_before_pit": null,
"eoi_fee_affiliate_partner_commission_amount": null,
"eoi_fee_bonus_cashback_service_fee_amount": null,
"eoi_fee_cofunded_promotion_service_fee_amount": null,
"eoi_fee_credit_card_handling_fee_amount": null,
"eoi_fee_dt_handling_fee_amount": null,
"eoi_fee_epr_pob_service_fee_amount": null,
"eoi_fee_live_specials_fee_amount": null,
"eoi_fee_mall_service_fee_amount": null,
"eoi_fee_pre_order_service_fee_amount": null,
"eoi_fee_referral_fee_amount": null,
"eoi_fee_refund_administration_fee_amount": null,
"eoi_fee_sfp_service_fee_amount": null,
"eoi_fee_tsp_commission_amount": null,
"eoi_tax_anti_dumping_duty_amount": null,
"eoi_tax_customs_clearance_amount": null,
"eoi_tax_customs_duty_amount": null,
"eoi_tax_gst_amount": null,
"eoi_tax_import_vat_amount": null,
"eoi_tax_isr_amount": null,
"eoi_tax_iva_amount": null,
"eoi_tax_local_vat_amount": null,
"eoi_tax_pit_amount": null,
"eoi_tax_sst_amount": null,
"eoi_tax_vat_amount": null,
"eoi_revenue_breakdown_cod_service_fee_amount": null,
"eoi_revenue_breakdown_refund_cod_service_fee_amount": null,
"eoi_revenue_breakdown_refund_subtotal_before_discount_amount": null,
"eoi_revenue_breakdown_seller_discount_amount": null,
"eoi_revenue_breakdown_seller_discount_refund_amount": null,
"eoi_revenue_breakdown_subtotal_before_discount_amount": null,
"eoi_return_shipping_fee_amount": null,
"eoi_exchange_shipping_fee_amount": null,
"eoi_replacement_shipping_fee_amount": null,
"eoi_return_shipping_label_fee_amount": null,
"eoi_shipping_insurance_fee_amount": null,
"eoi_signature_confirmation_fee_amount": null,
"eoi_customer_shipping_fee_offset_amount": null,
"eoi_fbm_shipping_cost_amount": null,
"eoi_fbt_fulfillment_fee_amount": null,
"eoi_fbt_shipping_cost_amount": null,
"eoi_promo_shipping_incentive_amount": null,
"eoi_shipping_fee_subsidy_amount": null,
"is_hachtoan": 0,
"hachtoan_datetime": "0000-00-00 00:00:00",
"listProduct": [
{
"productid": 67098801,
"price": "250000.000",
"amount": "1.000",
"storeId": 1,
"productName": "GIÀY SNEAKER NAM BN0097 - Đen đỏ - 161218640236",
"productcode": "BN0097",
"usageunit": "Cái",
"unit_price": "250000.000",
"weight": "0",
"imagename": "[{\"isDefault\":true,\"imgSrc\":\"https://cf.shopee.vn/file/fafef0cff452975bc6a87a8a7a67ef7a\"}]",
"discount_percent": "0.000",
"discount_amount": "0.000",
"tax1": "8.000",
"vitri": "",
"qtyinstock": null
},
{
"productid": 80243256,
"price": "500000.000",
"amount": "1.000",
"storeId": 1,
"productName": "Thùng rác 120 lít-GT 120 A",
"productcode": "120L-DEN-19082024",
"usageunit": "Cái",
"unit_price": "500000.000",
"weight": "10000",
"imagename": "[{\"id\":1,\"isDefault\":true,\"imgSrc\":\"https://static.abit.vn/sanpham/shop_1/2025/06/08/jpg/2025-06-08-11-24-10-6845106a13defC2_ZPzr6h7.jpg\"}]",
"discount_percent": "0.000",
"discount_amount": "0.000",
"tax1": "0.000",
"vitri": "",
"qtyinstock": null
}
]
}
]
}Last updated
Was this helpful?
