Print Order

API Print Order




Note: This API needs to pass the token in the header.

After running the API Print order information to get the ABC token, it will be assigned to the link below, where ABC is the token when calling the API. Expiry time 30 minutes .


- Print A5:
- Print 80x80:
- Print 50x72 :
- Print A5:
- Print 80x80:
- Print 50x72 :
curl --location --request POST '' \
--header 'Token: 3b75c988-ff34-11eb-b255-166e45bc1992123' \
--header 'Content-Type: application/json' \
--data-raw '{


Field Type Description
token String

Must be sent with all client requests. This Token helps server to validate request source. Provided by GHN.

order_codes Array 

GHN Order Code. This is tracking code.

    "code": 200,
    "message": "Success",

Structure Response

Field Description

This token ABC is generated to assign to the order printing URL according to the order code

    "code": 400,
    "message": "Lỗi gọi API: corev2_tenant_order_detail - code=404, message=Đơn hàng không tồn tại",
    "data": null