API PICKUP OR CASHLESS

Description

API for Pickup and Cashless Transaction

URL

SANDBOXhttps://apiv2.jne.co.id:10202/pickupcashless
LIVE{{URL_LIVE}}

SANDBOX

usernameTESTAPI
api_key25c898a9faea1a100859ecd9ef674548

LIVE

username{{USER_LIVE}}
api_key{{API_KEY}}

METHOD : POST

REQUEST

  • HEADER
ParameterDescription
Content-Typeapplication/x-www-form-urlencoded
Acceptapplication/json
User-Agent(Fiiled with framework request, Ex: Java-Request)

BODY

usernameYOUR USERNAME
api_keyYOUR API KEY
PICKUP_NAMEYVARCHAR2 (50 Byte)Fill it with the seller pickup name
PICKUP_DATEYDATEFill it with the pickup date (Format DD-MM-YYYY)
PICKUP_TIMEYVARCHAR2 (30 Byte)Fill it with the pickup time (Format H24:MM)
PICKUP_PICYVARCHAR2 (30 Byte)Fill it with the Contact name of pickup seller
PICKUP_PIC_PHONEYVARCHAR2 (30 Byte)Fill it with the phone number of pickup seller
PICKUP_ADDRESSYVARCHAR2 (300 Byte)Fill it with the Address name of pickup seller
PICKUP_DISTRICTYVARCHAR2 (30 Byte)Fill it with the District name of pickup seller
PICKUP_CITYYVARCHAR2 (30 Byte)Fill it with the City name of pickup seller
PICKUP_SERVICEYVARCHAR2 (30 Byte)Fill it with the Service name of pickup (Value : Domestic or Intracity or All)
PICKUP_VEHICLEYVARCHAR2 (100 Byte)Fill it with the Vehicle name of pickup (Value : Motor, Mobil or Truck)
BRANCHYVARCHAR2 (6 Byte)Fill it with the Branch of pickup seller (for testing u can fill with CGK000)
CUST_IDYVARCHAR2 (10 Byte)Fill it with cust id in JNE
ORDER_IDYVARCHAR2 (20 Byte)Fill it with the unique number in every order or goods.
SHIPPER_NAMEYVARCHAR(30 BYTE)Value of this Parameter is Name of the Shipper
SHIPPER_ADDR1YVARCHAR(85 BYTE)Value of this Parameter is Address 1 of Shipper
SHIPPER_ADDR2YVARCHAR(85 BYTE)Value of this Parameter is Address 2 of Shipper
SHIPPER_ADDR3VARCHAR(85 BYTE)Value of this Parameter is Address 3 of Shipper
SHIPPER_CITYYVARCHAR(20 BYTE)Value of this Parameter is City of Shipper
SHIPPER_ZIPYVARCHAR(5 BYTE)Value of this Parameter is zip of Shipper
SHIPPER_REGIONYVARCHAR(20 BYTE)Value of this Parameter is Region of Shipper
SHIPPER_COUNTRYVARCHAR(20 BYTE)Value of this Parameter is Country of Shipper
SHIPPER_CONTACTYVARCHAR(20 BYTE)Value of this Parameter is Contact Name of Shipper
SHIPPER_PHONEYVARCHAR(50 BYTE)Value of this Parameter is Phone Number of Shipper
RECEIVER_NAMEYVARCHAR(30 BYTE)Value of this Parameter is Name of Receiver
RECEIVER_ADDR1YVARCHAR(85 BYTE)Value of this Parameter is Address 1 of Receiver
RECEIVER_ADDR2YVARCHAR(85 BYTE)Value of this Parameter is Address 2 of Receiver
RECEIVER_ADDR3VARCHAR(85 BYTE)Value of this Parameter is Address 3 of Receiver
RECEIVER_CITYYVARCHAR(20 BYTE)Value of this Parameter is City of Receiver
RECEIVER_ZIPYVARCHAR(5 BYTE)Value of this Parameter is Zip Code of Receiver
RECEIVER_REGIONYVARCHAR(20 BYTE)Value of this Parameter is Region of Receiver
RECEIVER_COUNTRYVARCHAR(20 BYTE)Value of this Parameter is Country of Receiver
RECEIVER_CONTACTYVARCHAR(20 BYTE)Value of this Parameter is Contact Name of Receiver
RECEIVER_PHONEYVARCHAR(50 BYTE)Value of this Parameter is Phone of Customer
ORIGIN_CODEYVARCHAR(10 BYTE)Value of this Parameter is Origin Code
DESTINATION_CODEYVARCHAR(10 Byte)Value of this Parameter is Destination Code
SERVICE_CODEYVARCHAR(10 BYTE)Value of service code or name
WEIGHTYNUMBER(10,3)Value of this Parameter is Weight of the goods
QTYYNUMBER(10,3)Value of this Parameter is Qty of the goods
GOODS_DESCYVARCHAR(60 BYTE)Value of this Parameter is the goods
GOODS_AMOUNTYNUMBERValue of this Parameter is Amount of the goods
INSURANCE_FLAGYVARCHAR(1 BYTE)Value of this Parameter is Flag of insurance, (Fill ?Y? if it?s insurance and fill ?N? if not.)
SPECIAL_INSYVARCHAR(60 Byte)Value of this Parameter special instruction
MERCHANT_IDYVARCHAR(100 Byte)Fill With the Merchant or seller id
LATVarchar(60 Byte)Fill with Lat
LONVarchar(60 Byte)Fill with Lon
TYPEYVarchar(10 Byte)Fill with DROP or PICKUP
COD_FLAGVarchar (3 byte )Fill with `YES? if the order is COD and fill with `NO? if the order is not COD
COD_AMOUNTNumberFill with cod amount
AWBVarchar (16 Byte)Fill with our airwaybill number
TAX_VALUE(khusus kiriman batam)NumberFill with tax amount
ITEM_TYPE(khusus kiriman batam)VARCHAR2 (10 Byte)Value of this parameter is item type1 = Eks-impor/barang dagangan, 2 = Lokal, 3 = Transit, 4 = Retur, 5 = Personal
HS_CODE(khusus kiriman batam)VARCHAR2 (300 Byte)Value of this parameter is hs code, qty and the goods value.the Format (Goods Value;qty;hs_code) (and using comma delimitter if more than one hs code) and maximum is five hscode for one transactionExample : 1000000;1;4204,2000000;2;4905,3000000;3;4988
NPWP(khusus kiriman batam)VARCHAR2 (90 Byte)Fill with npwp number
RETURN_NAMEVARCHAR2 (30 Byte)Filled with Return name
RETURN_ADDR1VARCHAR2 (30 Byte)Filled with Return address
RETURN_ADDR2VARCHAR2 (30 Byte)Filled with Return address
RETURN_ADDR3VARCHAR2 (30 Byte)Filled with Return address
RETURN_CITYVARCHAR2 (20 Byte)Filled with Return city
RETURN_ZIPVARCHAR2 (5 Byte)Filled with Return zip
RETURN_REGIONVARCHAR2 (20 Byte)Filled with Return region
RETURN_COUNTRYVARCHAR2 (20 Byte)Filled with Return country
RETURN_CONTACTVARCHAR2 (20 Byte)Filled with Return contact
RETURN_PHONEVARCHAR2 (15 Byte)Filled with Return phone
RETURN_BRANCHVARCHAR2 (6 Byte)Filled with Return branch

RESULT FROM API

  • Success response
{
"detail": [
{
"status": "success",
"cnote_no": "0109401600067399"
}
]
}
  • Error response : If some mandatory is empty
{
"status": false,
"error": "Content not confirm our security Policy."
}
  • Error response : If the order already exist
{
"detail": [
{
"reason": "Order id already exist, please try another one",
"status": "Error",
"cnote_no": "0109401600067399"
}
]
}