POST order/importOrder/v2
Deprecated This API will be removed in Dec. of 2023. Please use /order/importOrder/v3 instead.
Action will import the orders into the FreightPOP.Pass HTTP Authorization request header with value "Bearer {token}" to perform this action.
Request Information
URI Parameters
None.
Body Parameters
Collection of OrderV2dtoName | Description | Type | Additional information |
---|---|---|---|
OrderNumber |
This variable will be used to bind your order in FreightPop. Must be unique from Previous orders imported. |
string |
None. |
Carrier |
Provide carrier details to make shipment from that carrier. |
CarrierV2 |
None. |
Items |
Shipment Items |
Collection of ShipmentItemV2dto |
None. |
PaymentTerm |
Order payment terms |
PaymentTerm |
None. |
ThirdPartyAccountInfo |
Third party account details |
AccountDetails |
None. |
ShipDate |
Ship date in UTC |
date |
None. |
ShipperAddress |
Shipper address |
OrderShipperAddress |
None. |
ReturnAddress |
Return Address |
Address |
None. |
IncludeReturnLabel |
Include parcel return label |
boolean |
None. |
ConsigneeAddress |
Consignee address |
Address |
None. |
Reference1 |
Reference 1 |
string |
None. |
Reference2 |
Referece 2 |
string |
None. |
Reference3 |
Reference 3 |
string |
None. |
Reference4 |
Reference 4 |
string |
None. |
Reference5 |
Reference 5 |
string |
None. |
Reference6 |
Reference 6 |
string |
None. |
ProductDetails |
Product details |
Collection of ProductDetail |
None. |
ITN |
International transaction number |
string |
None. |
AdditionalDetails |
Additional details |
AdditionalDetails2 |
Optional
|
OrderType |
Type of the order i.e Sales Order, Invoice etc |
string |
None. |
AutoprocessShipment |
Auto process Shipment of the order |
boolean |
Optional(Default value is false)
|
TransactionType |
Type of the transaction i-e Sales or Purchasing |
OrderTransactionType |
Optional(Default transaction type is Sales)
|
Request Formats
application/json, text/json
[ { "OrderNumber": "sample string 1", "Carrier": { "Id": 1, "Name": "sample string 2", "AccountNickName": "sample string 3", "Service": { "Id": 1, "Name": "sample string 2" } }, "Items": [ { "InnerPieces": { "Unit": 1, "PackageType": 1, "Quantity": 1, "ItemNumber": "sample string 2", "Length": 3.1, "Width": 4.1, "Height": 5.1, "Weight": 6.1, "Description": "sample string 7", "FreightClass": "sample string 8", "NMFC": "sample string 9", "Hazmat": true, "UnNumber": "sample string 11", "TechnicalName": "sample string 12" }, "Reference1": "sample string 1", "Reference2": "sample string 2", "Reference3": "sample string 3", "Reference4": "sample string 4", "Reference5": "sample string 5", "Reference6": "sample string 6", "PerPieceCarrierInsuranceAmount": 7.0, "Description": "sample string 8", "FreightClass": 9.1, "Height": 10.1, "Length": 11.1, "PackageType": 1, "Quantity": 12, "Weight": 13.1, "Unit": 1, "Width": 14.1, "PackageId": "sample string 15", "NMFC": "sample string 16", "Hazmat": true, "FPHazmatId": 1, "AutoTransportDetail": { "Vin": "sample string 1", "BuyerId": "sample string 2", "Year": "sample string 3", "Stock": "sample string 4", "Make": "sample string 5", "PicturesLink": "sample string 6", "Model": "sample string 7", "Vehicle": "sample string 8", "VehicleCondition": 0, "HaulerType": 0 } }, { "InnerPieces": { "Unit": 1, "PackageType": 1, "Quantity": 1, "ItemNumber": "sample string 2", "Length": 3.1, "Width": 4.1, "Height": 5.1, "Weight": 6.1, "Description": "sample string 7", "FreightClass": "sample string 8", "NMFC": "sample string 9", "Hazmat": true, "UnNumber": "sample string 11", "TechnicalName": "sample string 12" }, "Reference1": "sample string 1", "Reference2": "sample string 2", "Reference3": "sample string 3", "Reference4": "sample string 4", "Reference5": "sample string 5", "Reference6": "sample string 6", "PerPieceCarrierInsuranceAmount": 7.0, "Description": "sample string 8", "FreightClass": 9.1, "Height": 10.1, "Length": 11.1, "PackageType": 1, "Quantity": 12, "Weight": 13.1, "Unit": 1, "Width": 14.1, "PackageId": "sample string 15", "NMFC": "sample string 16", "Hazmat": true, "FPHazmatId": 1, "AutoTransportDetail": { "Vin": "sample string 1", "BuyerId": "sample string 2", "Year": "sample string 3", "Stock": "sample string 4", "Make": "sample string 5", "PicturesLink": "sample string 6", "Model": "sample string 7", "Vehicle": "sample string 8", "VehicleCondition": 0, "HaulerType": 0 } } ], "PaymentTerm": 1, "ThirdPartyAccountInfo": { "AccountNumber": "sample string 1", "Address": "sample string 2", "City": "sample string 3", "Country": "sample string 4", "Email": "sample string 5", "Name": "sample string 6", "Phone": "sample string 7", "State": "sample string 8", "Zip": "sample string 9" }, "ShipDate": "2024-11-20T23:41:53.6526464-08:00", "ShipperAddress": { "AttentionTo": "sample string 1", "City": "sample string 2", "CompanyId": "sample string 3", "Company": "sample string 4", "Country": "sample string 5", "Email": "sample string 6", "State": "sample string 7", "Street1": "sample string 8", "Street2": "sample string 9", "Phone": "sample string 10", "Zip": "sample string 11" }, "ReturnAddress": { "AttentionTo": "sample string 1", "City": "sample string 2", "CompanyId": "sample string 3", "Company": "sample string 4", "Country": "sample string 5", "Email": "sample string 6", "State": "sample string 7", "Street1": "sample string 8", "Street2": "sample string 9", "Phone": "sample string 10", "Zip": "sample string 11", "OrderType": "sample string 12" }, "IncludeReturnLabel": true, "ConsigneeAddress": { "AttentionTo": "sample string 1", "City": "sample string 2", "CompanyId": "sample string 3", "Company": "sample string 4", "Country": "sample string 5", "Email": "sample string 6", "State": "sample string 7", "Street1": "sample string 8", "Street2": "sample string 9", "Phone": "sample string 10", "Zip": "sample string 11", "OrderType": "sample string 12" }, "Reference1": "sample string 3", "Reference2": "sample string 4", "Reference3": "sample string 5", "Reference4": "sample string 6", "Reference5": "sample string 7", "Reference6": "sample string 8", "ProductDetails": [ { "Country": "sample string 1", "HTSCode": "sample string 2", "Description": "sample string 3", "Number": "sample string 4", "PackageId": "sample string 5", "PricePerPiece": 6.0, "PricePerPiece2": 7.0, "PricePerPiece3": 8.0, "PricePerPiece4": 9.0, "Quantity": 10, "Quantity2": 11, "Quantity3": 12, "Quantity4": 13, "Unit": "sample string 14", "OrderNumber": "sample string 15", "LineType": "sample string 16", "LineNumber": "sample string 17", "UPC": "sample string 18", "Category": "sample string 19", "SKU": "sample string 20", "TechnicalName": "sample string 21" }, { "Country": "sample string 1", "HTSCode": "sample string 2", "Description": "sample string 3", "Number": "sample string 4", "PackageId": "sample string 5", "PricePerPiece": 6.0, "PricePerPiece2": 7.0, "PricePerPiece3": 8.0, "PricePerPiece4": 9.0, "Quantity": 10, "Quantity2": 11, "Quantity3": 12, "Quantity4": 13, "Unit": "sample string 14", "OrderNumber": "sample string 15", "LineType": "sample string 16", "LineNumber": "sample string 17", "UPC": "sample string 18", "Category": "sample string 19", "SKU": "sample string 20", "TechnicalName": "sample string 21" } ], "ITN": "sample string 9", "AdditionalDetails": { "Accessorials": [ 1, 1 ], "CarrierInsuranceAmount": 1.0, "CODDetails": { "Amount": 1.0, "ChargeCode": "sample string 2", "PaymentType": 1, "RemitAddress": { "AttentionTo": "sample string 1", "City": "sample string 2", "CompanyId": "sample string 3", "Company": "sample string 4", "Country": "sample string 5", "Email": "sample string 6", "State": "sample string 7", "Street1": "sample string 8", "Street2": "sample string 9", "Phone": "sample string 10", "Zip": "sample string 11", "OrderType": "sample string 12" } }, "DeliveryConfirmation": 1, "HazmatEmergencyNo": "sample string 2", "HazmatContact": "sample string 3", "IsSaturdayDelivery": true, "IsDeliveryDutyPaid": true, "SpecialInstructions": "sample string 6", "PickupSpecialInstructions": "sample string 7", "Alcohol": true }, "OrderType": "sample string 10", "AutoprocessShipment": true, "TransactionType": 0 }, { "OrderNumber": "sample string 1", "Carrier": { "Id": 1, "Name": "sample string 2", "AccountNickName": "sample string 3", "Service": { "Id": 1, "Name": "sample string 2" } }, "Items": [ { "InnerPieces": { "Unit": 1, "PackageType": 1, "Quantity": 1, "ItemNumber": "sample string 2", "Length": 3.1, "Width": 4.1, "Height": 5.1, "Weight": 6.1, "Description": "sample string 7", "FreightClass": "sample string 8", "NMFC": "sample string 9", "Hazmat": true, "UnNumber": "sample string 11", "TechnicalName": "sample string 12" }, "Reference1": "sample string 1", "Reference2": "sample string 2", "Reference3": "sample string 3", "Reference4": "sample string 4", "Reference5": "sample string 5", "Reference6": "sample string 6", "PerPieceCarrierInsuranceAmount": 7.0, "Description": "sample string 8", "FreightClass": 9.1, "Height": 10.1, "Length": 11.1, "PackageType": 1, "Quantity": 12, "Weight": 13.1, "Unit": 1, "Width": 14.1, "PackageId": "sample string 15", "NMFC": "sample string 16", "Hazmat": true, "FPHazmatId": 1, "AutoTransportDetail": { "Vin": "sample string 1", "BuyerId": "sample string 2", "Year": "sample string 3", "Stock": "sample string 4", "Make": "sample string 5", "PicturesLink": "sample string 6", "Model": "sample string 7", "Vehicle": "sample string 8", "VehicleCondition": 0, "HaulerType": 0 } }, { "InnerPieces": { "Unit": 1, "PackageType": 1, "Quantity": 1, "ItemNumber": "sample string 2", "Length": 3.1, "Width": 4.1, "Height": 5.1, "Weight": 6.1, "Description": "sample string 7", "FreightClass": "sample string 8", "NMFC": "sample string 9", "Hazmat": true, "UnNumber": "sample string 11", "TechnicalName": "sample string 12" }, "Reference1": "sample string 1", "Reference2": "sample string 2", "Reference3": "sample string 3", "Reference4": "sample string 4", "Reference5": "sample string 5", "Reference6": "sample string 6", "PerPieceCarrierInsuranceAmount": 7.0, "Description": "sample string 8", "FreightClass": 9.1, "Height": 10.1, "Length": 11.1, "PackageType": 1, "Quantity": 12, "Weight": 13.1, "Unit": 1, "Width": 14.1, "PackageId": "sample string 15", "NMFC": "sample string 16", "Hazmat": true, "FPHazmatId": 1, "AutoTransportDetail": { "Vin": "sample string 1", "BuyerId": "sample string 2", "Year": "sample string 3", "Stock": "sample string 4", "Make": "sample string 5", "PicturesLink": "sample string 6", "Model": "sample string 7", "Vehicle": "sample string 8", "VehicleCondition": 0, "HaulerType": 0 } } ], "PaymentTerm": 1, "ThirdPartyAccountInfo": { "AccountNumber": "sample string 1", "Address": "sample string 2", "City": "sample string 3", "Country": "sample string 4", "Email": "sample string 5", "Name": "sample string 6", "Phone": "sample string 7", "State": "sample string 8", "Zip": "sample string 9" }, "ShipDate": "2024-11-20T23:41:53.6526464-08:00", "ShipperAddress": { "AttentionTo": "sample string 1", "City": "sample string 2", "CompanyId": "sample string 3", "Company": "sample string 4", "Country": "sample string 5", "Email": "sample string 6", "State": "sample string 7", "Street1": "sample string 8", "Street2": "sample string 9", "Phone": "sample string 10", "Zip": "sample string 11" }, "ReturnAddress": { "AttentionTo": "sample string 1", "City": "sample string 2", "CompanyId": "sample string 3", "Company": "sample string 4", "Country": "sample string 5", "Email": "sample string 6", "State": "sample string 7", "Street1": "sample string 8", "Street2": "sample string 9", "Phone": "sample string 10", "Zip": "sample string 11", "OrderType": "sample string 12" }, "IncludeReturnLabel": true, "ConsigneeAddress": { "AttentionTo": "sample string 1", "City": "sample string 2", "CompanyId": "sample string 3", "Company": "sample string 4", "Country": "sample string 5", "Email": "sample string 6", "State": "sample string 7", "Street1": "sample string 8", "Street2": "sample string 9", "Phone": "sample string 10", "Zip": "sample string 11", "OrderType": "sample string 12" }, "Reference1": "sample string 3", "Reference2": "sample string 4", "Reference3": "sample string 5", "Reference4": "sample string 6", "Reference5": "sample string 7", "Reference6": "sample string 8", "ProductDetails": [ { "Country": "sample string 1", "HTSCode": "sample string 2", "Description": "sample string 3", "Number": "sample string 4", "PackageId": "sample string 5", "PricePerPiece": 6.0, "PricePerPiece2": 7.0, "PricePerPiece3": 8.0, "PricePerPiece4": 9.0, "Quantity": 10, "Quantity2": 11, "Quantity3": 12, "Quantity4": 13, "Unit": "sample string 14", "OrderNumber": "sample string 15", "LineType": "sample string 16", "LineNumber": "sample string 17", "UPC": "sample string 18", "Category": "sample string 19", "SKU": "sample string 20", "TechnicalName": "sample string 21" }, { "Country": "sample string 1", "HTSCode": "sample string 2", "Description": "sample string 3", "Number": "sample string 4", "PackageId": "sample string 5", "PricePerPiece": 6.0, "PricePerPiece2": 7.0, "PricePerPiece3": 8.0, "PricePerPiece4": 9.0, "Quantity": 10, "Quantity2": 11, "Quantity3": 12, "Quantity4": 13, "Unit": "sample string 14", "OrderNumber": "sample string 15", "LineType": "sample string 16", "LineNumber": "sample string 17", "UPC": "sample string 18", "Category": "sample string 19", "SKU": "sample string 20", "TechnicalName": "sample string 21" } ], "ITN": "sample string 9", "AdditionalDetails": { "Accessorials": [ 1, 1 ], "CarrierInsuranceAmount": 1.0, "CODDetails": { "Amount": 1.0, "ChargeCode": "sample string 2", "PaymentType": 1, "RemitAddress": { "AttentionTo": "sample string 1", "City": "sample string 2", "CompanyId": "sample string 3", "Company": "sample string 4", "Country": "sample string 5", "Email": "sample string 6", "State": "sample string 7", "Street1": "sample string 8", "Street2": "sample string 9", "Phone": "sample string 10", "Zip": "sample string 11", "OrderType": "sample string 12" } }, "DeliveryConfirmation": 1, "HazmatEmergencyNo": "sample string 2", "HazmatContact": "sample string 3", "IsSaturdayDelivery": true, "IsDeliveryDutyPaid": true, "SpecialInstructions": "sample string 6", "PickupSpecialInstructions": "sample string 7", "Alcohol": true }, "OrderType": "sample string 10", "AutoprocessShipment": true, "TransactionType": 0 } ]
Response Information
Resource Description
BadResponseName | Description | Type | Additional information |
---|---|---|---|
Data |
Data returned by api |
Object |
None. |
Code |
Response code returned by api |
HttpStatusCode |
None. |
Message |
Human readable message |
string |
None. |
Response Formats
application/json, text/json
{ "Code": 100, "Message": "sample string 2", "Data": {} }