This API describes how to get the carrier service list.
Common Parameter
Test Endpoint: https://api-dev.gcparcelservice.com/openapi/carrier/list
Production Endpoint: https://api.gcparcelservice.com/openapi/carrier/list
Method: POST
Request Body
{}
Response Body
{
"code": "200",
"data": [
{
"carrier": "USPS",
"shipping_method": "PRIORITY_MAIL",
"name": "USPS Priority Mail Service",
"note": ""
},
{
"carrier": "UPS",
"shipping_method": "UPS_GROUND",
"name": "UPS Ground Service",
"note": ""
}
]
}
Response Body Explanation
Attribute Name | Type | Description |
---|---|---|
code | Integer | Response code: 200 successful, 400/500 failed |
carrier | String | code of the carrier |
shipping_method | String | Method of shipping |
name | String | name of the carrier |
note | String | note |