Get Service

API Get Service


Use to get list of available services from district pick up items and to district drop off items (Full information)

Caution : The API Order Info need to infusion token in header

curl --location --request POST '' \
--header 'token: 637170d5-942b-11ea-9821-0281a26fb5d4' \
--header 'Content-Type: application/json' \
--data-raw '{
	"from_district": 1447,
	"to_district": 1442


Field Type Description
token String

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

from_district Int

DistrictID provide to GHN

to_district Int

DistrictID provide to GHN

shop_id Int

Manage information for shop/seller

    "code": 200,
    "message": "Success",
    "short_name":"Tiết kiệm"

Structure Response

Field Description

Service id


Short name


Service type id

    "code": 400,
    "message": "code=400, message=Syntax error: offset=30, error=invalid character '}' after array element, internal=invalid character '}' after array element",
    "data": null
    "code_message": "USER_ERR_COMMON"