UPS-DOMS-WMS
  1. Order
UPS-DOMS-WMS
  • UPS-DOMS
    • DOMS to WMS
      • Order
        • Create Sales Order
          POST
      • PO
        • Create PO
      • ASN
        • Create ASN
      • Product
        • Product Information
      • RMA
        • RMA
    • WMS to DOMS
      • Inventory Movement
        • Inventory Movement Information
      • Ship Confirm
        • Order Ship Confirmation
      • Order Status Update
        • Order Status Updates
      • Receipt Confirmation
        • Receipt Confirmation
    • CLIENT-SYS to DOMS
      • ASN Inquiry
      • Inventory Inquiry
  1. Order

Create Sales Order

POST
/ups/order/createorder
Create Sales Order

Request

Header Params
Token
string 
required
Bearer Token
Example:
Bearer eyJ0eXBlIjoiU0lHTkVELUpXVCIsIndoc2VfaWQiOiJVUFMiLCJibGRnX2lkIjoiQ0FGQU4iLCJjb21wYW55X25vIjoiRFlTT04iLCJhbGxvd2VkX3BhdGgiOiIiLCJhbGciOiJSUzUxMiJ9.eyJpc3MiOiJzb2Z0ZW9uLmNvbSIsInN1YiI6InNvZnRlb24vYXV0aC9qd3QiLCJleHAiOjE3MTUwNjU0MzMsIm5hbWUiOiJzb2Z0ZW9uIiwic2NvcGUiOiJBUEkifQ.bDyEdwNFuqrT05v7A2_uwRqQ9-S2wJF-1IwWYZYDed5M5ee5VScLD8i2WXjF9cfzNjyARfdVzD-ZZRmH8eycPCzKZowWJ-D-RuTxmxBH2ubizZ5V2uexpNR2nzfAt4L43wGEV-S4-eAlf3LTQdoTgjMYgdRWApm0m_8GpKvG88_idUCpSPui5mD5yjxsWOoSo6rDXqfuGl21K1G5WoV90ULm7sOXj2gKI7feJk7jbQi-whRkIwfNaEm-2iM1x-oQc8u23jyfYp-qidMb5k4ae3jwlA36a7s3d-SKZ56tNsBgQLzJ6rxx5lVC5FwJS5aE1eQSMdoHWLnuMvJIiYB_GQ
WhseId
string 
required
Warehouse Id of Client DOMS
Example:
UPS
BusinessUnit
string 
required
Business Unit Code of the Client in DOMS
Example:
POCSPORTS
BldgId
string 
required
Building Id of the Client in DOMS
Example:
NVRN1
Body Params application/json
data
array [object {40}] 
required
whseId
string 
optional
businessUnit
string 
optional
customerOrderNumber
string 
optional
jobId
string 
optional
orderCreatedDate
string 
optional
buildingId
string 
optional
shipTo
object 
optional
notes
string 
optional
carrierId
string 
optional
shippingSpeed
string 
optional
deliveryInstructions1
string 
optional
deliveryInstructions2
string 
optional
buyerOrderNumber
string 
optional
fulfillFlag
string 
optional
fillKillIndicator
string 
optional
customerOrderType
string 
optional
billTo
object 
optional
giftMessage
string 
optional
orderAmount
integer 
optional
isSignatureRequired
string 
optional
isInsuranceRequired
string 
optional
orderDropDate
string 
optional
customerDates
object 
optional
salesChannelOrderInfo
object 
optional
customerId
string 
optional
priority
string 
optional
shipServiceLevel
string 
optional
purchaseOrderNumber
string 
optional
thirdPartyAccountNumber
string 
optional
useAccountFrom
string 
optional
brandId
string 
optional
monadialRelayId
string 
optional
shippingCost
integer 
optional
bundleFlag
string 
optional
currencyCd
string 
optional
storeId
string 
optional
orderLines
array [object {12}] 
optional
taxAmt
integer 
optional
cartonCode
string 
optional
orderNumber
string 
optional
Example
{
    "data": [
        {
            "whseId": "string",
            "businessUnit": "string",
            "customerOrderNumber": "string",
            "jobId": "string",
            "orderCreatedDate": "string",
            "buildingId": "string",
            "shipTo": {
                "name": "string",
                "address1": "string",
                "address2": "string",
                "address3": "string",
                "state": "string",
                "city": "string",
                "country": "string",
                "postalCode": "string",
                "email": "string",
                "phoneNumber": "string",
                "faxNumber": "string",
                "attentionTo": "string"
            },
            "notes": "string",
            "carrierId": "string",
            "shippingSpeed": "string",
            "deliveryInstructions1": "string",
            "deliveryInstructions2": "string",
            "buyerOrderNumber": "string",
            "fulfillFlag": "string",
            "fillKillIndicator": "string",
            "customerOrderType": "string",
            "billTo": {
                "name": "string",
                "address1": "string",
                "address2": "string",
                "address3": "string",
                "city": "string",
                "state": "string",
                "country": "string",
                "postalCode": "string",
                "email": "string",
                "phoneNumber": "string",
                "faxNumber": "string",
                "attentionTo": "string"
            },
            "giftMessage": "string",
            "orderAmount": 0,
            "isSignatureRequired": "string",
            "isInsuranceRequired": "string",
            "orderDropDate": "string",
            "customerDates": {
                "requestedDeliveryDate": "string",
                "requestedShipDate": "string",
                "deliveryStartDate": "string",
                "deliveryEndDate": "string",
                "doNotShipBefore": "string",
                "doNotShipAfter": "string",
                "cancelIfNotDeliveredBy": "string",
                "cancelAfter": "string"
            },
            "salesChannelOrderInfo": {
                "salesChannelName": "string",
                "orderNumber": "string",
                "purchaseDate": "string",
                "lastUpdateDate": "string",
                "shipServiceLevel": "string",
                "earliestShipDate": "string",
                "latestShipDate": "string",
                "earliestDeliveryDate": "string",
                "latestDeliveryDate": "string"
            },
            "customerId": "string",
            "priority": "string",
            "shipServiceLevel": "string",
            "purchaseOrderNumber": "string",
            "thirdPartyAccountNumber": "string",
            "useAccountFrom": "string",
            "brandId": "string",
            "monadialRelayId": "string",
            "shippingCost": 0,
            "bundleFlag": "string",
            "currencyCd": "string",
            "storeId": "string",
            "orderLines": [
                {
                    "skuId": "string",
                    "quantity": 0,
                    "quantityMeasure": "string",
                    "customerLineNumber": "string",
                    "customerSku": "string",
                    "notes": "string",
                    "lineType": "string",
                    "amount": 0,
                    "lineTaxAmt": 0,
                    "orderLineNumber": "string",
                    "giftCardInfo": {
                        "amount": 0,
                        "code": "string",
                        "detail": "string",
                        "type": "string"
                    },
                    "giftMessages": [
                        {
                            "giftMessage": "string",
                            "seqNo": 0
                        }
                    ]
                }
            ],
            "taxAmt": 0,
            "cartonCode": "string",
            "orderNumber": "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 POST '/ups/order/createorder' \
--header 'Token: Bearer eyJ0eXBlIjoiU0lHTkVELUpXVCIsIndoc2VfaWQiOiJVUFMiLCJibGRnX2lkIjoiQ0FGQU4iLCJjb21wYW55X25vIjoiRFlTT04iLCJhbGxvd2VkX3BhdGgiOiIiLCJhbGciOiJSUzUxMiJ9.eyJpc3MiOiJzb2Z0ZW9uLmNvbSIsInN1YiI6InNvZnRlb24vYXV0aC9qd3QiLCJleHAiOjE3MTUwNjU0MzMsIm5hbWUiOiJzb2Z0ZW9uIiwic2NvcGUiOiJBUEkifQ.bDyEdwNFuqrT05v7A2_uwRqQ9-S2wJF-1IwWYZYDed5M5ee5VScLD8i2WXjF9cfzNjyARfdVzD-ZZRmH8eycPCzKZowWJ-D-RuTxmxBH2ubizZ5V2uexpNR2nzfAt4L43wGEV-S4-eAlf3LTQdoTgjMYgdRWApm0m_8GpKvG88_idUCpSPui5mD5yjxsWOoSo6rDXqfuGl21K1G5WoV90ULm7sOXj2gKI7feJk7jbQi-whRkIwfNaEm-2iM1x-oQc8u23jyfYp-qidMb5k4ae3jwlA36a7s3d-SKZ56tNsBgQLzJ6rxx5lVC5FwJS5aE1eQSMdoHWLnuMvJIiYB_GQ' \
--header 'WhseId: UPS' \
--header 'BusinessUnit: POCSPORTS' \
--header 'BldgId: NVRN1' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data": [
        {
            "whseId": "string",
            "businessUnit": "string",
            "customerOrderNumber": "string",
            "jobId": "string",
            "orderCreatedDate": "string",
            "buildingId": "string",
            "shipTo": {
                "name": "string",
                "address1": "string",
                "address2": "string",
                "address3": "string",
                "state": "string",
                "city": "string",
                "country": "string",
                "postalCode": "string",
                "email": "string",
                "phoneNumber": "string",
                "faxNumber": "string",
                "attentionTo": "string"
            },
            "notes": "string",
            "carrierId": "string",
            "shippingSpeed": "string",
            "deliveryInstructions1": "string",
            "deliveryInstructions2": "string",
            "buyerOrderNumber": "string",
            "fulfillFlag": "string",
            "fillKillIndicator": "string",
            "customerOrderType": "string",
            "billTo": {
                "name": "string",
                "address1": "string",
                "address2": "string",
                "address3": "string",
                "city": "string",
                "state": "string",
                "country": "string",
                "postalCode": "string",
                "email": "string",
                "phoneNumber": "string",
                "faxNumber": "string",
                "attentionTo": "string"
            },
            "giftMessage": "string",
            "orderAmount": 0,
            "isSignatureRequired": "string",
            "isInsuranceRequired": "string",
            "orderDropDate": "string",
            "customerDates": {
                "requestedDeliveryDate": "string",
                "requestedShipDate": "string",
                "deliveryStartDate": "string",
                "deliveryEndDate": "string",
                "doNotShipBefore": "string",
                "doNotShipAfter": "string",
                "cancelIfNotDeliveredBy": "string",
                "cancelAfter": "string"
            },
            "salesChannelOrderInfo": {
                "salesChannelName": "string",
                "orderNumber": "string",
                "purchaseDate": "string",
                "lastUpdateDate": "string",
                "shipServiceLevel": "string",
                "earliestShipDate": "string",
                "latestShipDate": "string",
                "earliestDeliveryDate": "string",
                "latestDeliveryDate": "string"
            },
            "customerId": "string",
            "priority": "string",
            "shipServiceLevel": "string",
            "purchaseOrderNumber": "string",
            "thirdPartyAccountNumber": "string",
            "useAccountFrom": "string",
            "brandId": "string",
            "monadialRelayId": "string",
            "shippingCost": 0,
            "bundleFlag": "string",
            "currencyCd": "string",
            "storeId": "string",
            "orderLines": [
                {
                    "skuId": "string",
                    "quantity": 0,
                    "quantityMeasure": "string",
                    "customerLineNumber": "string",
                    "customerSku": "string",
                    "notes": "string",
                    "lineType": "string",
                    "amount": 0,
                    "lineTaxAmt": 0,
                    "orderLineNumber": "string",
                    "giftCardInfo": {
                        "amount": 0,
                        "code": "string",
                        "detail": "string",
                        "type": "string"
                    },
                    "giftMessages": [
                        {
                            "giftMessage": "string",
                            "seqNo": 0
                        }
                    ]
                }
            ],
            "taxAmt": 0,
            "cartonCode": "string",
            "orderNumber": "string"
        }
    ]
}'

Responses

🟢200successful operation
application/json
Body
object {0}
Example
{}
🟠400Bad Request
🟠401Authentication Failed
🔴500Error in Server
Modified at 2024-06-06 06:03:20
Next
Create PO
Built with