5.7.2 Create Pickup (RESTful)

Create Pickup

Step 1: Sample source code to refresh token (AccessToken)
Method: POST
Sandbox/Testing URL: https://sandbox-apiv2.unixus.com.my/Token/Refresh
Production/Live URL: https://apiv2.unixus.com.my/Token/Refresh

Headers:
- Content-Type: application/json
{ "RefreshToken" : "88888888" }
Step 2: Sample source code to create pickup
Method: POST
Sandbox/Testing URL: https://sandbox-apiv2.unixus.com.my/Shipment/Pickup/v1/Create
Production/Live URL: https://apiv2.unixus.com.my/Shipment/Pickup/v1/Create

Headers:
- Content-Type: application/json
- Authorization: Bearer $REPLACE_WITH_ACCESSTOKEN_FROM_STEP_1
{ "Pickup": [ { "Shipper": { "Name": "Unixus SDN BHD", "ContactPerson": "Nicholas", "Address1": "BLOCK A, GROUND FLOOR, GL06", "Address2": "Kelana Square, No.17, Jalan SS7/26", "Postcode": "47301", "City": "Petaling Jaya", "State": "Selangor", "CountryCode": "MY", "Phone1": "+60378038830", "Phone2": "111", "Mobile": "" }, "Quantity" : 5, "Weight": 10.0, "PickupDateTime": "2019-01-09T00:00:00+08:00", "Remarks": "Fragile" } ] }

Copyright © 2019 Unixus Solutions Sdn. Bhd. All rights reserved.