- 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
Update Business Unit
PUT
/business_units/{businessUnitId}
Business Units
Request
Path Params
businessUnitId
string
required
Body Params application/json
data
object (BusinessUnit)
optional
businessUnitId
string
optional
name
string
optional
type
enum<string>
optional
Allowed values:
b2bb2c
billingAddress
object (Address)
optional
primaryAddress
object (Address)
optional
primaryContact
object
optional
brokerAccount
array [object {3}]
optional
taxId
string
optional
Example
{
"data": {
"businessUnitId": "string",
"name": "string",
"type": "b2b",
"billingAddress": {
"address1": "string",
"address2": "string",
"address3": "string",
"city": "string",
"state": "strin",
"postalCode": "string",
"country": "strin"
},
"primaryAddress": {
"address1": "string",
"address2": "string",
"address3": "string",
"city": "string",
"state": "strin",
"postalCode": "string",
"country": "strin"
},
"primaryContact": {
"name": "string",
"phone": "string",
"email": "string"
},
"brokerAccount": [
{
"brokerAccountNumber": "string",
"carrierCode": "string",
"address": {
"address1": "string",
"address2": "string",
"address3": "string",
"city": "string",
"state": "strin",
"postalCode": "string",
"country": "strin"
}
}
],
"taxId": "string"
}
}
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 PUT '/business_units/' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"businessUnitId": "string",
"name": "string",
"type": "b2b",
"billingAddress": {
"address1": "string",
"address2": "string",
"address3": "string",
"city": "string",
"state": "strin",
"postalCode": "string",
"country": "strin"
},
"primaryAddress": {
"address1": "string",
"address2": "string",
"address3": "string",
"city": "string",
"state": "strin",
"postalCode": "string",
"country": "strin"
},
"primaryContact": {
"name": "string",
"phone": "string",
"email": "string"
},
"brokerAccount": [
{
"brokerAccountNumber": "string",
"carrierCode": "string",
"address": {
"address1": "string",
"address2": "string",
"address3": "string",
"city": "string",
"state": "strin",
"postalCode": "string",
"country": "strin"
}
}
],
"taxId": "string"
}
}'
Responses
🟢200Business Unit Updated
application/json
Body
object {0}
Example
{}
🟠400Bad Request: Invalid data or missing required data.
🔴500Internal Server Error
Modified at 2024-07-02 10:16:06