| Name
(* = required)
|
Data Type | Description |
| id
*
|
int |
order Id |
| pid
*
|
int |
package Id |
|
Type |
Description |
| OrderId |
int
|
|
| CustomerIdentifier |
Generic.Models.CustomerIdentifier
|
|
| ExternalId |
string
|
|
| Name |
string
|
|
| Id |
int
|
|
| FacilityIdentifier |
Generic.Models.FacilityIdentifier
|
|
| Name |
string
|
|
| Id |
int
|
|
| ReferenceNum |
string
|
|
| PoNum |
string
|
|
| PackageId |
int?
|
|
| PackageUri |
string
|
|
| ShipTo |
Generic.Models.ContactInfo
|
in GETs: the contact; in POSTs or PUTs: identifies existing contact or properties of new contact
|
| ContactId |
int?
|
for identifying: if known specify only this; other fields are ignored
|
| CompanyName |
string
|
|
| Name |
string
|
|
| Title |
string
|
|
| Address1 |
string
|
|
| Address2 |
string
|
|
| City |
string
|
|
| State |
string
|
|
| Zip |
string
|
|
| Country |
string
|
|
| PhoneNumber |
string
|
|
| Fax |
string
|
|
| EmailAddress |
string
|
|
| Dept |
string
|
|
| IsAddressResidential |
bool
|
|
| Code |
string
|
for identifying: if known specify only this; if other fields also specified it is not used to identify
|
| AddressStatus |
Common.Enum.AddressStatusType
|
confirmation status
|
|
- 0: Unconfirmed |
|
|
- 1: Confirmed |
|
|
- 2: UserAccepted |
|
| Carrier |
string
|
|
| CarrierService |
string
|
|
| CarrierAccountId |
string
|
|
| CarrierCode |
string
|
|
| TrackingNumber |
string
|
|
| TrackingUrl |
string
|
|
| DeliveryStatus |
string
|
|
| ShipDate |
DateTime?
|
|
| CreationDate |
DateTime?
|
|
| DeliveryDate |
DateTime?
|
|
| DeliveryDateEstimated |
DateTime?
|
|
| TrackingUpdateDate |
DateTime?
|
|
| TrackingCarrierStatusDescription |
string
|
|
| TrackingCarrierStatusCode |
string
|
|
| isImperial |
bool
|
|
| Error |
string
|
|
Sample accept: application/hal+json
{
"orderId": 1,
"customerIdentifier": {
"externalId": "str",
"name": "str",
"id": 3
},
"facilityIdentifier": {
"name": "str",
"id": 2
},
"referenceNum": "str",
"poNum": "str",
"packageId": 1,
"packageUri": "str",
"shipTo": {
"contactId": 1,
"companyName": "str",
"name": "str",
"title": "str",
"address1": "str",
"address2": "str",
"city": "str",
"state": "str",
"zip": "str",
"country": "str",
"phoneNumber": "str",
"fax": "str",
"emailAddress": "str",
"dept": "str",
"isAddressResidential": true,
"code": "str",
"addressStatus": 0
},
"carrier": "str",
"carrierService": "str",
"carrierAccountId": "str",
"carrierCode": "str",
"trackingNumber": "str",
"trackingUrl": "str",
"deliveryStatus": "str",
"shipDate": "2016-12-25T23:00:00",
"creationDate": "2016-12-25T23:00:00",
"deliveryDate": "2016-12-25T23:00:00",
"deliveryDateEstimated": "2016-12-25T23:00:00",
"trackingUpdateDate": "2016-12-25T23:00:00",
"trackingCarrierStatusDescription": "str",
"trackingCarrierStatusCode": "str",
"isImperial": true,
"error": "str"
}