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 NameTypeDescription
codeIntegerResponse code: 200 successful, 400/500 failed
carrierStringcode of the carrier
shipping_methodStringMethod of shipping
nameStringname of the carrier
noteStringnote