Skip to content

Create Parcels

Request Method

http
POST /openapi/order/create-order
FieldDescription
Content-Typeapplication/json
x-auth-token$TOKEN
x-auth-name$APP_NAME
x-auth-seed$TS

Parameter

FieldMandatoryTypeDescriptionLength
custom_tracking_numYstringCustom Tracking Num
Only alphanumeric characters including '-','_' are allowed
<= 32 characters
service_typeYstringTo be advised by your account manager.= 3 characters
service_codeYstringTo be advised by your account manager.= 3 characters
sender_nameNstringFull Name of the sender. when "service_type=1XX" Mandatory<= 64 characters
sender_phoneNstringPhone number of sender. Digits only. Support following formats:

Country calling code + phone, e.g. 8613012345678, 6586020000
Phone (Singapore numbers by default), e.g. 86020000.

Please remove symbols like "+" in the phone number. For list of country calling code, see: List of country calling code Wikipedia.
when "service_type=1XX" Mandatory
<= 24 characters
sender_emailNstringEmail address of sender Email address format: RFC 5321 Section-4.5.3.1.1.<= 320 characters
sender_addressNstringAddress of sender. UTF-8 charset supported.
when "service_type=1XX" Mandatory
<= 512 characters
sender_cityNstringCity name (include province/state) of sender.<= 64 characters
sender_countryYstringAll uppercase.
For country code, we propose the format of ISO 3166-1 alpha 2 (two-letter). See ISO 3166-1 Alpha-2 Country Codes for more information.
= 2 characters
sender_postal_codeNstringPostal code of sender.
when "service_type=1XX and sender_country!=HK" Mandatory
5-20 characters
recipient_nameYstringName of the recipient
recipient_phoneYstringPhone number of sender. Digits only. Support following formats:

Country calling code + phone, e.g. 8613012345678, 6586020000
Phone (Singapore numbers by default), e.g. 86020000.

Please remove symbols like "+" in the phone number. For list of country calling code, see: List of country calling code Wikipedia.
<= 24 characters
recipient_emailNstringEmail address of sender Email address format: RFC 5321 Section-4.5.3.1.1.<= 320 characters
recipient_addressYstringAddress of recipient. UTF-8 charset supported.<= 512 characters
recipient_stateNstringState of recipient. when "recipient_country=US/JP" Mandatory<= 60 characters
recipient_cityNstringCity name (include province/state) of recipient. when "recipient_country=JP" Mandatory<= 64 characters
recipient_countryYstringAll uppercase.
For country code, we propose the format of ISO 3166-1 alpha 2 (two-letter). See ISO 3166-1 Alpha-2 Country Codes for more information.
= 2 characters
postal_codeYstringIf not 6-digits, will auto prefix leading 0. For instance, "38696" will be converted to "038696".5-7 characters
client_sizeYstringFormat: Package size: "length, width, height" (comma separated, whitespace not mandatory). System will automatically adjust the order (from greatest to smallest). Unit: centimeter. Max value of l,w,h: 999 cm.<= 30 characters
client_weightYstringPackage weight. Unit: kilogram. Numeric value with 2 decimal places.[ 0 .. 9999 ]
declared_value_currencyYstringCurrency code of declared value. Check Currency / Wikipedia for more information.<= 3 characters
declared_valueYstringDeclared value of the parcel. Numeric value with 2 decimal places.[ 0 .. 9999.99 ]
instructionNstringInstructions from clients.<= 1024 characters
cash_currencyNstringNOTE: Currently, only "SGD" supported. If not specified, we will apply "SGD" to the datapoints.
Currency code of cash on delivery value. Check Currency / Wikipedia for more information.
<= 3 characters
cashNstringCurrency: Singpore dollar. Numeric value with 2 decimal places. Values like "12" will be converted to "12.00".[ 0 .. 9999.99 ]
supplier_nameNstringName of the supplier. This field is mandatory when the recipient_country is "SG" (Singapore). For all other countries, this field is optional unless otherwise specified.<= 64 characters
supplier_gstnNstringGST registration number (GSTN) of the Overseas Supplier registered under Overseas Vendor Registration (OVR) regime. This field is mandatory when the recipient_country is "SG" (Singapore). For all other countries, this field is optional unless otherwise specified.<= 64 characters
total_gst_amountNstringTotal amount of Goods and Services Tax (GST). This field is mandatory when recipientCountry is "SG" (Singapore). For all other countries, this field is optional unless specified otherwise.[ 0 .. 9999.99 ]
gst_currencyNstringCurrency in which the GST amount is reported. This field is mandatory when recipientCountry is "SG" (Singapore). For other countries, this field is optional unless otherwise specified.<= 3 characters
gst_paidNstringIndicates whether GST has been paid for the transaction. This field is mandatory when recipientCountry is "SG" (Singapore).

"Y" – GST has been paid
"N" – GST is not applicable
= 1 character
itemYArray of objectsPackage product information
locker_typeNstring"A" - Data already has locker address, no address change needed.
"B" - Original data, need to convert to closest locker address.
= 1 character
locker_stationNobjectswhen "locker_type=A" Mandatory

item

FieldMandatoryTypeDescriptionLength
descriptionYstringTrade name
unitPriceYstringunit-price
quantityYstringquantity
countryOfOriginYstringcountry of origin
itemHSCodeYstringHS Tariff Code of the Line Item.
weightYstringweight
currencyYstringcurrency
totalValueYstringtotal value
productURLNstringproduct url

locker_station

FieldMandatoryTypeDescriptionLength
zipcodeYstringZipcode<= 16 characters
station_nameYstringStation Name<= 64 characters
station_addressYstringStation Address<= 255 characters
address_detailYstringAddress Detail<= 255 characters
distanceYfloatDistance
station_codeYstringStation Code<= 10 characters

Request(eg:1)

json
{
  "custom_tracking_num": "C240719112805334a634B",
  "service_type": "001",
  "service_code": "000",
  "sender_name": "Mrs. Dawn Lowe",
  "sender_phone": "17129045947",
  "sender_email": "kiara93@hotmail.com",
  "sender_address": "42050 General Road\nOlehaven, IN 59521-5312",
  "sender_city": "Schowalterland",
  "sender_country": "MG",
  "sender_postal_code": "25280",
  "recipient_name": "Estrella Mohr",
  "recipient_phone": "13184732563",
  "recipient_email": "friesen.gloria@okon.com",
  "recipient_address": "97506 Sammy Garden Suite 681\nPort Louiefort, DC 32153-8863",
  "recipient_city": "New Adan",
  "recipient_country": "DO",
  "postal_code": "298469",
  "client_size": "7.72,3.5,17.66",
  "client_weight": "2.99",
  "declared_value_currency": "MGA",
  "declared_value": "913.11",
  "instruction": "I believe.' 'Boots and shoes.",
  "cash_currency": "MGA",
  "cash": "716.64",
  "item": [
    {
      "description": "Et qui sunt ut est.",
      "unitPrice": "205.95",
      "quantity": "1",
      "countryOfOrigin": "MG",
      "itemHSCode": "1818457376",
      "weight": "25.8",
      "currency": "MGA",
      "totalValue": "205.95",
      "productURL": "https:\/\/www.grimes.biz\/repellat-ea-odit-veritatis-non-veniam"
    },
    {
      "description": "Fugit et ipsa.",
      "unitPrice": "579.98",
      "quantity": "6",
      "countryOfOrigin": "MG",
      "itemHSCode": "1818630924",
      "weight": "3.18",
      "currency": "MGA",
      "totalValue": "3479.88",
      "productURL": ""
    }
  ]
}

Request(eg:2)

json5

{
    "service_type": "011",
    "custom_tracking_num": "C250909160024031941425",
    "service_code": "0C1",
    "sender_name": "Miss Kaylin Fisher Jr.",
    "sender_phone": "16508405567",
    "sender_email": "stokes.lydia@zieme.net",
    "sender_address": "779 Juanita Valleys\nEast Shyann, NV 13839-8168",
    "sender_city": "North Lorenview",
    "sender_country": "HK",
    "sender_postal_code": "000276",
    "recipient_name": "Ms. Chanelle Mann DDS",
    "recipient_phone": "16056559118",
    "recipient_email": "angelica07@daugherty.net",
    "recipient_address": "4539 Ledner Pike Suite 107\nPort Milford, WY 44135-6494",
    "recipient_city": "South Floview",
    "recipient_country": "SG",
    "postal_code": "495229",
    "client_size": "2.28,2.62,3.24",
    "client_weight": "3.13",
    "declared_value_currency": "HKD",
    "declared_value": "57.52",
    "instruction": "She had quite forgotten the.",
    "cash_currency": "SGD",
    "cash": 358.73,
    "item": [
        {
            "description": "Minima id in.",
            "unitPrice": 7.8,
            "quantity": 6,
            "countryOfOrigin": "HK",
            "itemHSCode": "895702",
            "weight": 1.15,
            "currency": "SGD",
            "totalValue": "46.80",
            "productURL": ""
        },
        {
            "description": "Quia molestias eos.",
            "unitPrice": 1.34,
            "quantity": 8,
            "countryOfOrigin": "HK",
            "itemHSCode": "30950860",
            "weight": 1.98,
            "currency": "SGD",
            "totalValue": "10.72",
            "productURL": "http:\/\/www.kassulke.com\/"
        }
    ],
    "locker_type": "A",
    "locker_station": {
        "zipcode": "544774",
        "station_name": "AParcel Santa - Terrasse",
        "station_address": "- 21 Terrasse Ln, Singapore 544774",
        "address_detail": "Terrasse, Arcadia Clubhouse 1, basement, outside MA office",
        "distance": 197.977,
        "station_code": "PK1689"
    },
    "supplier_name": "Diamond O'Connell",
    "supplier_gstn": "250909160024324039200",
    "total_gst_amount": 6.67,
    "gst_currency": "SGD",
    "gst_paid": "N"
}

Response(success)

json
{
  "code": 0,
  "message": "success",
  "data": {
    "custom_tracking_num": "C240719112805334a634B",
    "wmg_tracking_num": "WGC000000000233",
    "date_time": "2024-07-19T13:34:26+08:00",
    "status": "",
    "error": []
  }
}

Response(error)

json
{
  "code": 1,
  "message": "Client Size invalid",
  "data": []
}