POST
/api-json/pms/createorder.aspxCreate Order
Method: POST
Endpoint: /api-json/pms/createorder.aspx
Query Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
key | String | required | API key | 271bd87a-60bd-4ef8-b3bc-5192e2e72de3 |
Body Request Example
json
{
"customer_ID": "10002",
"status": "10",
"from_PersonName": "Lily",
"from_CountryCode": "US",
"from_CompanyName": "",
"from_AddressLine1": "5031 Halison Street",
"from_AddressLine2": "",
"from_AddressLine3": "",
"from_PostalCode": "90503",
"from_Zip4": "",
"from_City": "Torrance",
"from_StateOrProvinceCode": "CA",
"from_PhoneNumber": "3109999999",
"from_EmailAddress": "",
"to_PersonName": "Tom",
"to_CountryCode": "US",
"to_CompanyName": "",
"to_AddressLine1": "1000 6th Ave",
"to_AddressLine2": "",
"to_AddressLine3": "",
"to_PostalCode": "10018",
"to_Zip4": "",
"to_City": "New York",
"to_StateOrProvinceCode": "NY",
"to_PhoneNumber": "2129999999",
"to_EmailAddress": "",
"weight": "2",
"length": "10",
"width": "8",
"height": "6",
"reference": "REF-001",
"channel": "USPS_PM"
}Response Example
json
{
"code": 200,
"data": {
"ID": "3e0d914afb9648928005c81883aaad6d",
"trackingNumber": "9400111899223033005282",
"labelUrl": "https://usniwo.com/labels/xxx.pdf"
},
"message": "success"
}