Skip to content

LogisticsList

POST /openapi/logistics/v1/list

Request Parameters

Parameter Type Required Description
channel string true Channel, currently only supports : MANUAL_ID

Response Parameters

Name Type Description
id string Ginee logistics configuration id
externalLogisticsId string Channel logistics id
channelId string Channel id
logoUrl string Logo URL
createDatetime Instant Create Datetime
updateDatetime Instant Update Datetime
showName string Show name
pickUp string Whether to support Pick-up, 1: supported, 0: not supported
dropOff string Whether to support Drop-off, 1: supported, 0: not supported
manualShip string Whether to support Manual-Ship, 1: supported, 0: not supported
status string Logistics configuration status : ENABLED/DISABLED
name string Logistics name
country string Country
isSubLogistics string Whether it is a sub-logistics:true/false
isSupport string Whether Ginee supports access

Request Example

Example

curl -X POST  \
-H "X-Advai-Country: ID" \
-H "Authorization: {Your Access Key} + ':' + signature" \
-H "Content-Type: application/json" \
-d '{
        "channel":"MANUAL_ID"
    }' \
"{Ginee Host}/openapi/logistics/v1/list"

Success

{
    "code": "SUCCESS",
    "message": "OK",
    "data": [
        {
            "id": "430",
            "externalLogisticsId": null,
            "channelId": "MANUAL_ID",
            "logoUrl": "https://genie-public.oss-ap-southeast-1.aliyuncs.com/erp/stag/genie_20200723155225576_5820574386.png",
            "createDatetime": "2022-07-19T11:40:36Z",
            "updateDatetime": "2022-07-19T11:40:36Z",
            "showName": "J&T Express_ID",
            "pickUp": 1,
            "dropOff": 1,
            "manualShip": 0,
            "status": "ENABLED",
            "name": "J&T Express_ID",
            "country": "ID",
            "isSubLogistics": null,
            "isSupport": true
        },
        {
            "id": "1352",
            "externalLogisticsId": null,
            "channelId": "MANUAL_ID",
            "logoUrl": "https://genie-public.oss-ap-southeast-1.aliyuncs.com/erp/stag/cms_20210520163142906_3554684442_.png",
            "createDatetime": "2022-07-19T11:40:36Z",
            "updateDatetime": "2022-07-19T11:40:36Z",
            "showName": "Ninja Van ID Express",
            "pickUp": 1,
            "dropOff": 1,
            "manualShip": 0,
            "status": "ENABLED",
            "name": "Ninja Van ID Express",
            "country": "ID",
            "isSubLogistics": null,
            "isSupport": true
        }
    ],
    "extra": null,
    "pricingStrategy": "PAY"
}

Failure

{
    "code": "SUCCESS",
    "message": "OK",
    "data": null,
    "extra": null,
    "pricingStrategy": "PAY"
}