GHNDeveloper

Connect your systems
with the GHN delivery network

Complete documentation, standard REST endpoints and a dedicated sandbox — everything you need to bring GHN shipping into your system.

Overview

API catalog

Public REST/JSON APIs, grouped by each shipping business domain.

Order APIs

Manage the full order lifecycle

Create, update, cancel, redeliver, print labels, and track status. Each action is a dedicated endpoint with fully documented parameters and responses.

Fees & Services APIs

Calculate fees and estimated delivery time

Calculate shipping fees by route, weight, and service package, with a lead time API to show delivery details before creating an order.

Webhook

Receive order status via webhook

Register a callback URL once and GHN pushes order status changes and COD cash flow to your system in real time, no polling required.

Quick start

Integrate in 4 steps

Follow the 4 steps below to push real orders to GHN.

  1. 01

    Create an account

    Sign up for free at khachhang.ghn.vn (or the staging environment 5sao.ghn.dev).

  2. 02

    Get your token & ShopId

    Open your account settings to obtain the API token and shop ID.

  3. 03

    Try it on the staging environment

    Create orders and calculate fees with mock data — no real orders are generated.

  4. 04

    Go live

    Switch the endpoint to production and start pushing real orders to GHN.