This API describes how to cancel a shipment label.

Common Parameter

Test Endpoint: https://api-dev.gcparcelservice.com/openapi/shipment-label/cancel

Production Endpoint: https://api.gcparcelservice.com/openapi/shipment-label/cancel

Method: POST


Request Body

{
	"tracking_no": "GPS24032007363306SG"
}

Request Body Explanation

Attribute NameTypeDescription
tracking_noStringtracking number

Response Body

{
    "code": 200,
    "data": {
      "tracking_no": "GPS24032007363306SG",
      "note": "label cancelled"
    }
}

Response Body Explanation

Attribute NameTypeDescription
codeIntegerResponse code: 200 successful, 400/500 failed
tracking_noStringtracking number
noteStringnote


Code Example

Cancel Shipment Label API Code Example