- 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
Get a single SalesOrder
GET
/business_units/{businessUnitId}/sales_orders/{customerOrderNumber}
Outbound Orders
Request
Path Params
businessUnitId
string
required
customerOrderNumber
string
required
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 GET '/business_units//sales_orders/'
Responses
🟢200OK
application/json
Body
data
object (SalesOrderDetail)
optional
statusHistory
array [object {3}]
required
totalContainers
integer
required
Default:
0
customerOrderNumber
string
required
orderCreatedDate
string <date-time>
required
shipTo
object (Party)
required
distributionOrderLines
array [object {16}]
optional
shipServiceLevel
enum<string>
optional
G - LTL ground
01 - UPS Next Day air
02 - UPS 2nd Day air
03 - UPS ground
11 - UPS Standard
12 - UPS 3 Day Select
13 - UPS Next Day Air Saver
14 - UPS Next Day Air (noon)
65 - UPS Saver
93 - SurePost
<= 30 characters
Allowed values:
G010203111213146593
shippingSpeed
enum<string>
optional
Allowed values:
1D2D5A5D
domsCreatedTimestamp
string <date-time>
optional
customerId
string
optional
customerOrderType
string
optional
thirdPartyAccountNumber
string
optional
useAccountFrom
enum<string>
optional
C - Customer (requires customerId to be set)
Allowed values:
CB
Example
{
"data": {
"statusHistory": [
{
"status": "string",
"timestamp": "2019-08-24T14:15:22Z",
"user": "string"
}
],
"totalContainers": 0,
"customerOrderNumber": "string",
"orderCreatedDate": "2019-08-24T14:15:22Z",
"shipTo": {
"name": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"city": "string",
"state": "strin",
"country": "strin",
"postalCode": "string",
"email": "foo@bar.com,fish@sea.net",
"phoneNumber": "string",
"faxNumber": "string",
"attentionTo": "string"
},
"distributionOrderLines": [
{
"sku": {
"skuId": "string",
"name": "255",
"description1": "string",
"description2": "string"
},
"lineNumber": 0,
"quantity": 0,
"quantityMeasure": "EA",
"status": "string",
"allocatedQuantity": 0,
"backOrderQuantity": 0,
"cancelledQuantity": 0,
"shippedQuantity": 0,
"authQuantity": 0,
"allocationStatus": "string",
"cancelledReason": "string",
"customerLineNumber": "string",
"building": {
"buildingId": "strin",
"shortName": "string",
"name": "string"
},
"customerSku": "string",
"distributionOrderNumber": "string"
}
],
"shipServiceLevel": "G",
"shippingSpeed": "1D",
"domsCreatedTimestamp": "2019-08-24T14:15:22Z",
"customerId": "string",
"customerOrderType": "string",
"thirdPartyAccountNumber": "string",
"useAccountFrom": "C"
}
}
🟠404Not Found
- Business Unit not found
- SalesOrder not found
🔴500Internal Server Error
Modified at 2024-07-02 10:16:06