- Outbound Orders
- Get SalesOrder ListGET
- Create a SalesOrderPOST
- Get Sales Order InformationGET
- Sales Order AcknowledgementPOST
- Bulk Upload SalesOrdersPOST
- Get Job Status of an Async Bulk Sales Order ImportGET
- Get a single SalesOrderGET
- Update SalesOrderPUT
- Cancel SalesOrderDELETE
- Get Shipments for a Sales OrderGET
- Get B2B Customers For Business UnitGET
- Ship Confirmation
- Business Units
- Get Buildings associated to a Business UnitGET
- Remove associated Building from a Business UnitDELETE
- Associate a Building to a Business UnitPUT
- Get Business Unit DetailGET
- Update Business UnitPUT
- List Business UnitsGET
- Create Business UnitPOST
- Get Business Unit General SettingsGET
- Update Business Unit General SettingsPUT
- Update Business Unit Amazon SFP KeysPUT
- Remove Business Unit Amazon SFP KeysDELETE
- Get Business Unit Amazon SFP KeysGET
- List Broker AccountsGET
- Create Broker AccountPOST
- Delete Broker AccountDELETE
- Product
- Inbound
- List Inbound ASNs
- Create Inbound ASN
- Get single Inbound ASN
- Update single Inbound ASN
- Cancel single Inbound ASN
- Get receipt lines for single Inbound ASN
- Get receipt lines for single Inbound RMA
- Get single Inbound RMA
- Update single Inbound RMA
- Cancel single Inbound RMA
- List Inbound RMAs
- Create Inbound RMA
- Get receipt lines for single Inbound PO
- Get single Inbound PO
- Update single Inbound PO
- Cancel single Inbound PO
- List Inbound POs
- Create Inbound PO
- Inventory
- Inventory Movement
- TMS Endpoints
Generate TMS Quotes for Sales Order
POST
/organizations/{orgId}/sales_orders/{salesOrderNumber}/tms_quote
TMS Endpoints
Request
Path Params
orgId
string
required
salesOrderNumber
string
required
Body Params application/json
data
object (TmsShipmentQuoteRequest)
optional
origin
object
required
destination
object
required
billTo
object
optional
containers
array [object {8}]
required
accesorials
array [object {3}]
optional
shipmentType
enum<string>
required
Allowed values:
LTLTLTL MultistopTL Multistop DeliveryTL Multistop PickupTL Multistop Pickup & Delivery
shipmentMode
enum<string>
required
Allowed values:
AirBulkDry VanFlat BedIntermodalOceanOTRTemp Controlled
weightUom
enum<string>
required
Allowed values:
LBKG
lengthUom
enum<string>
optional
Allowed values:
INCMFTM
deliveryInstructions1
string
optional
<= 255 characters
deliveryInstructions2
string
optional
<= 255 characters
carrierCodes
array[string]
optional
serviceLevel
string
optional
requestedShipDate
string <date-time>
optional
deliveryStartDate
string <date-time>
optional
deliveryEndDate
string <date-time>
optional
Example
{
"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"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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"
}
}'
Responses
🟢201Created
application/json
Body
object {0}
Example
{}
🟠400Bad Request
🟠403Forbidden
🔴500Internal Server Error
Modified at 2024-07-02 10:16:06