Skip to main content
POST
Uploads many orders all at once in a batch into a queue which can take 15 minutes to process.

Warehouse selection

The warehouseCode field on each order in the request body is optional.
  • The values (GLW, WDI, PSO, SMA, SHW, DAL) refer to WineDirect’s own fulfillment centers. They map to Glenwillow, Green Island, Paso Robles, Santa Maria, Willamette Valley, and Dallas. They do not represent a customer’s private warehouse.
  • If you leave warehouseCode null, WineDirect applies the Warehouse Selection Rules configured on your account to pick a fulfillment center based on the destination state.
  • Set warehouseCode explicitly only when you need to override those rules and force a specific WineDirect fulfillment center.
To pull order data back out after submission, use GET /api/v1/Orders for order summaries by accountNumber, or GET /api/v1/Orders/Detail/{accountNumber}/{orderNumber} for the full detail of a single order.

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