Get Station

API Get Station


Get GHN Station data. This API provides station_id to create shipping order.

Caution : The API Get Station need to infusion token in header

curl --location --request GET '' \
--header 'token: 637170d5-942b-11ea-9821-0281a26fb5d4' \
--header 'Content-Type: application/json' \


Field Type Description
token String

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

district_id Int

DistrictID provied by GHN.

API DistrictID :

ward_code String

Wardcode provide to GHN

API WardCode :

offset Int

Default =0

limit Int

Maximum amount of data in API , not more than 1000.

    "code": 200,
    "message": "Success",
    "code": 400,
    "message": "code=400, message=Syntax error: offset=24, error=invalid character '\\n' in string literal, internal=invalid character '\\n' in string literal",
    "data": null