Articles on: Shipper Account

Get Credentials to Access CJ Logistics Shipping API


Overview


AfterShip Shipping is the best multi-carrier shipping software and API that enables you to automate shipping processes across USPS, UPS, FedEx, DHL, and 100+ other carriers. Get the required credentials and access CJ Logistics shipping API via AfterShip Shipping in just a few steps.

Support return shipment only.


Get CJ Logistics Developer Credentials


Please contact your CJ Logistics POC asking for the developer credentials.


Required CJ Logistics credentials


  • Customer ID
  • Business number


Return shipment flow

We currently only support return shipment flow, please ensure you're following below API payload guidelines:

  1. "return_shipment": set to "true".
  2. "service_type": set to "cj-gls_standard".
  3. "order_number": ensure it's a unique key from your system.
  4. "custom_fields": must include original_order_number and original_tracking_number, they're the required info to make the returns shipment.

If they're not provided, the request can still be success, but finally it will make troubles to CJ Logistics system to handle the return shipment properly.


Check below for a sample request payload:

{

"service_type": "cj-gls_standard",
"return_shipment": true,
"shipment": {
"ship_from": {
"country": "KOR",
"contact_name": "장선우",
"city": "서울 강서구",
"phone": "010-1111-1111",
"street1": "화곡로13길",
"state": "KOR",
"postal_code": "07710"
},
"ship_to": {
"country": "KOR",
"contact_name": "엘브이",
"city": "경기도 김포시",
"phone": "080-1111-1111",
"company_name": "LVMH",
"street1": "고촌읍 아라육로 37 ",
"state": null,
"postal_code": "10136"
},
"parcels": [
{
"box_type": "custom",
"description": "carton",
"weight": {
"unit": "kg",
"value": 5
},
"dimension": {
"unit": "cm",
"depth": 14,
"width": 24,
"height": 34
},
"items": [
{
"quantity": 1,
"price": {
"amount": 209000,
"currency": "KRW"
},
"description": "Clothes",
"weight": {
"unit": "kg",
"value": 5
}
}
]
}
]
},

"order_number": "test2507250001R",
"shipper_account": {
"id": "xxx"
},

"custom_fields": {
"original_order_number": "test2507250001",
"original_tracking_number": "12345678"
}
}



After label request success, you will get AfterShip Shipping API response with status code = 3001, it's because of CJ logistics system cannot response the tracking_number during shipment creation. AfterShip has made the agreement with CJ logistics to keep track of the booked shipment for 7 days for the driver pickup and tracking_number generation to update our label result, you should be able to get the label result by GET Labels API or our webhook.


If you have any questions about the flow, feel free to talk with your TAM.



Additional resources



Updated on: 30/07/2025