Nhất Tín LogisticsDevelopers
API ReferenceVận đơn

In vận đơn

API in vận đơn.

Cấu hình API

HTTP Request

GET: v3/bill/print?do_code={bill_code}&partner_id={partner_id}&is_pdf=true

No.Tham sốLoạiBắt buộcMô tả
1bill_codeStringTrueMã vận đơn
2partner_idIntTruePartner ID, được tạo trên Web portal
3is_pdfBooleanFalsetrue để trả về PDF, false để trả về HTML

JSON body respone

TênLoạiMô tả
successbooleanTrả về true nếu việc in đơn thành công, tất cả các giá trị false khác đều có nghĩa là có lỗi. Xem message để biết thêm thông tin chi tiết.
messagestringTin nhắn trả về từ API.
dataobjectDữ liệu đơn từ API.

Sample Request

https://printdev.ntlogistics.vn/v1/bill/print?do_code=CP98783232&partner_id=88798&is_pdf=true
 https://printdigi.ntlogistics.vn/v1/bill/print?do_code=CP98783232&partner_id=88798&is_pdf=true

Cập nhật lần cuối vào ngày 7 tháng 7 năm 2023

On this page