{
"data": {
"origin": {
"facilityId": "string",
"shortName": "string",
"name": "string",
"countryCode": "string",
"region": "string",
"locality": "string",
"postalCode": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"contact": {
"name": "string",
"phone": "string",
"email": "string"
}
},
"destination": {
"name": "string",
"countryCode": "string",
"region": "string",
"locality": "string",
"postalCode": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"contact": {
"name": "string",
"phone": "string",
"email": "string"
}
},
"billTo": {
"name": "string",
"countryCode": "string",
"region": "string",
"locality": "string",
"postalCode": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"contact": {
"name": "string",
"phone": "string",
"email": "string"
},
"carrierCode": "string",
"accountNumber": "string"
},
"containers": [
{
"height": 0,
"width": 0,
"length": 0,
"weight": 0,
"stackable": true,
"quantity": "string",
"type": "Pallet",
"lines": [
{
"skuId": "string",
"description": "string",
"quantity": 0,
"purchaseOrderNumber": "string",
"packageType": "Bag(s)",
"perishable": true,
"dimensions": {
"height": 0,
"width": 0,
"length": 0,
"weight": 0
},
"hazmat": [
{
"unNumber": "string",
"groundClass": "string",
"oceanClass": "string",
"airClass": "string",
"railClass": "string",
"packingGroup": "I",
"labelCode": "string"
}
]
}
]
}
],
"accesorials": [
{
"code": "CODAMT_LTL",
"accessorialType": "Pickup",
"parameters": [
{
"name": "string",
"value": "string"
}
]
}
],
"shipmentType": "LTL",
"shipmentMode": "Air",
"weightUom": "LB",
"lengthUom": "IN",
"deliveryInstructions1": "string",
"deliveryInstructions2": "string",
"carrierCodes": [
"string"
],
"serviceLevel": "string",
"requestedShipDate": "2019-08-24T14:15:22Z",
"deliveryStartDate": "2019-08-24T14:15:22Z",
"deliveryEndDate": "2019-08-24T14:15:22Z"
}
}
curl --location --request POST '/organizations//sales_orders//tms_quote' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"origin": {
"facilityId": "string",
"shortName": "string",
"name": "string",
"countryCode": "string",
"region": "string",
"locality": "string",
"postalCode": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"contact": {
"name": "string",
"phone": "string",
"email": "string"
}
},
"destination": {
"name": "string",
"countryCode": "string",
"region": "string",
"locality": "string",
"postalCode": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"contact": {
"name": "string",
"phone": "string",
"email": "string"
}
},
"billTo": {
"name": "string",
"countryCode": "string",
"region": "string",
"locality": "string",
"postalCode": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"contact": {
"name": "string",
"phone": "string",
"email": "string"
},
"carrierCode": "string",
"accountNumber": "string"
},
"containers": [
{
"height": 0,
"width": 0,
"length": 0,
"weight": 0,
"stackable": true,
"quantity": "string",
"type": "Pallet",
"lines": [
{
"skuId": "string",
"description": "string",
"quantity": 0,
"purchaseOrderNumber": "string",
"packageType": "Bag(s)",
"perishable": true,
"dimensions": {
"height": 0,
"width": 0,
"length": 0,
"weight": 0
},
"hazmat": [
{
"unNumber": "string",
"groundClass": "string",
"oceanClass": "string",
"airClass": "string",
"railClass": "string",
"packingGroup": "I",
"labelCode": "string"
}
]
}
]
}
],
"accesorials": [
{
"code": "CODAMT_LTL",
"accessorialType": "Pickup",
"parameters": [
{
"name": "string",
"value": "string"
}
]
}
],
"shipmentType": "LTL",
"shipmentMode": "Air",
"weightUom": "LB",
"lengthUom": "IN",
"deliveryInstructions1": "string",
"deliveryInstructions2": "string",
"carrierCodes": [
"string"
],
"serviceLevel": "string",
"requestedShipDate": "2019-08-24T14:15:22Z",
"deliveryStartDate": "2019-08-24T14:15:22Z",
"deliveryEndDate": "2019-08-24T14:15:22Z"
}
}'
{}