Skip to main content
POST
/
api
/
v1
/
Orders
/
SubmitOrders
{
  "isSuccess": true,
  "message": "<string>",
  "payload": {
    "notifications": [
      {
        "message": "<string>",
        "kind": "NotSet",
        "sourceOfNotification": "<string>"
      }
    ],
    "isSuccess": true,
    "isWarning": true
  }
}

Authorizations

Authorization
string
header
required

Enter the Bearer AccessToken; Example: 'Bearer 12345abcdef'

Body

application/json

Detail about a group of orders to import

accountNumber
string
required

Account number that is connected to the customer account the request is related to. The account number is assigned by WineDirect during onboarding.

Minimum string length: 1
password
string | null

The importer's password

batchNumber
string | null

An identifier that is shared among a group of orders. Often used to identify a specific club batch. If not submitted the system will automatically assign a unique BatchId for each request. The assigned batch id is based on a time stamp

Maximum string length: 240
orders
object[] | null

Detail about the orders to import

Response

200 - application/json

OK

Generic container for all service responses

isSuccess
boolean

Was the request successful. If not, the message will have more information.

message
string | null

Any error message

payload
object