API Methods for order processing and fulfillment.
Wineshipping API (3.1.3)
The Wineshipping API is a programmatic communications interface designed to enable Wineshipping’s customer and partner applications to natively transmit and manage shipping orders, inventory, package tracking, and other key business and operational functions.
Try out the API methods in in our postman collection.
https://api-test.wineshipping.com/v3/
https://api.wineshipping.com/v3/
Request
This operation is used to create an inbound inventory request. Successful execution of this operation will generate a new purchase order in Wineshipping system. The inbound request can be a pickup from customer address or a drop-off at a Wineshipping warehouse location. A transaction reference identifier is returned in this operation. Store this identifier in your application and systems as applicable. This reference ID is available in the event a problem occurs with the associated request.
Credentials are required for all API operations.
See warehouse locations for possible values.
See inventory codes for possible values.
Array of up to 5 items is allowed, and if omitted, all items will be included in the results.
- Test
https://api-test.wineshipping.com/v3/api/InventoryMovement/CreatePurchaseOrder
- Production
https://api.wineshipping.com/v3/api/InventoryMovement/CreatePurchaseOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/InventoryMovement/CreatePurchaseOrder \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"OrderInfo": {
"CustomerReferenceNo": "14932418",
"TransportMethod": "DROPOFF",
"RequestedDate": "08/30/2025",
"ReceiveToLocation": "APC01",
"InventoryStatusCode": "GOOD-NO-TX",
"ReferenceNo": "RN-14932419-D",
"FirstName": "John",
"LastName": "Smith",
"Company": "KV",
"Address": "50 Technology Ct",
"Address2": "",
"City": "Napa",
"State": "CA",
"ZipCode": "94558",
"PhoneNumber": "707-933-9063",
"EmailAddress": "someone@wineshipping.com",
"SpecialInstruction": ""
},
"ItemsInfo": [
{
"ItemNo": "DROPOFF_ITEM-1",
"ItemDescription": "Item Description - 30",
"ItemQuantity": 2500
},
{
"ItemNo": "DROPOFF_ITEM-2",
"ItemDescription": "Item Description - 31",
"ItemQuantity": 3600
},
{
"ItemNo": "DROPOFF_ITEM-3",
"ItemDescription": "Item Description - 32",
"ItemQuantity": 4200
}
]
}'
Credentials are required for all API operations.
See warehouse locations for possible values.
See inventory codes for possible values.
Array of up to 5 items is allowed, and if omitted, all items will be included in the results.
- Test
https://api-test.wineshipping.com/v3/api/InventoryMovement/UpdatePurchaseOrder
- Production
https://api.wineshipping.com/v3/api/InventoryMovement/UpdatePurchaseOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/InventoryMovement/UpdatePurchaseOrder \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"OrderInfo": {
"CustomerReferenceNo": "14932418",
"ReferenceNo": "RN-14932419-D",
"SpecialInstruction": "New instructions"
}
}'
Request
This operation is used to cancel a purchase order request. A transaction reference identifier is required to post using this operation. A transaction reference identifier will be returned upon use of the operation. Store this identifier in your application and systems as applicable. This reference ID is available in the event a problem occurs with the associated request. Successful execution of this method will cancel an open Purchase Order in Wineshipping's system and will return a transaction reference identifier. Note: that Purchase Orders can only be canceled and are considered 'Open' as long as work has not been started.
Credentials are required for all API operations.
- Test
https://api-test.wineshipping.com/v3/api/InventoryMovement/CancelPurchaseOrder
- Production
https://api.wineshipping.com/v3/api/InventoryMovement/CancelPurchaseOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/InventoryMovement/CancelPurchaseOrder \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"CustomerReferenceNo": "string"
}'
Request
This operation is used to create a inventory transfer request between two Wineshipping managed inventory locations. Successful execution of this operation will generate a new transfer order in Wineshipping system. A transaction reference identifier is returned in this operation. Store this identifier in your application and systems as applicable. This reference ID is available in the event a problem occurs with the associated request.
Credentials are required for all API operations.
- Test
https://api-test.wineshipping.com/v3/api/InventoryMovement/CreateTransferOrder
- Production
https://api.wineshipping.com/v3/api/InventoryMovement/CreateTransferOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/InventoryMovement/CreateTransferOrder \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"TransferInfo": {
"CustomerReferenceNo": "00B3164C",
"RequestedDate": "5/1/2025",
"TransferFromWarehouse": "APC01",
"InventoryStatusCode": "GOOD-NO-TX",
"TransferToWarehouse": "VCX01",
"FirstName": "John",
"LastName": "Doe",
"PhoneNumber": "7079339063",
"EmailAddress": "john.doe@wineshipping.com",
"SpecialInstruction": ""
},
"ItemsInfo": [
{
"ItemNo": "1466-SE",
"ItemDescription": "2016 CAB SAUV RESERVE NAPA VALLEY",
"ItemQuantity": 6,
"UnitPrice": 0
}
]
}'
- Test
https://api-test.wineshipping.com/v3/api/InventoryMovement/UpdateTransferOrder
- Production
https://api.wineshipping.com/v3/api/InventoryMovement/UpdateTransferOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/InventoryMovement/UpdateTransferOrder \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"TransferInfo": {
"TransferOrderNumber": "string",
"CustomerReferenceNo": "string",
"RequestedDate": "2019-08-24T14:15:22Z",
"InventoryStatusCode": "string",
"FirstName": "string",
"LastName": "string",
"PhoneNumber": "string",
"EmailAddress": "string",
"SpecialInstruction": "string"
},
"ItemsInfo": [
{
"ItemNo": "string",
"ItemDescription": "string",
"ItemQuantity": 0
}
]
}'
Request
This operation is used to cancel a transfer order request. A transaction reference identifier is required to post using this operation. A transaction reference identifier will be returned upon use of the operation. Store this identifier in your application and systems as applicable. This reference ID is available in the event a problem occurs with the associated request. Successful execution of this method will cancel an Open Purchase Order in Wineshipping's system and will return a transaction reference identifier. Please note that Transfer Orders can only be canceled and are considered "open" as long as work has not been started.
Credentials are required for all API operations.
- Test
https://api-test.wineshipping.com/v3/api/InventoryMovement/CancelTransferOrder
- Production
https://api.wineshipping.com/v3/api/InventoryMovement/CancelTransferOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/InventoryMovement/CancelTransferOrder \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"CustomerReferenceNo": "string"
}'
Request
This method allows a customer to retrieve inventory transactions. Inventory transactions include Sales Orders, Purchase Orders, Transfer In, Transfer Out, Production Lines, Inventory Adjustments and Inventory Status Changes. There are multiple input filters available for use, including filters to retrieve specific types of inventory transactions, to retrieve transactions processed on a particular date, or to retrieve transactions in a specific Wineshipping warehouse.There are also pagination and skip/top query parameters that allow customers to further control the inventory transactions that are returned in the response.
Credentials are required for all API operations.
Required unless TransactionStartDateTime
is specified. Format: MM/DD/YYYY
Required unless TransactionDate
is specified.
Optional; valid only when TransactionStartDateTime
is specified.
Required unless TransactionType
is specified instead
See warehouse locations for possible values.
(COMING SOON)
This field contains Inventory Transaction Reference Codes that explain why a transaction occurred
See inventory codes for possible values.
Array of up to 5 items is allowed, and if omitted, all items will be included in the results.
(COMING SOON)
- Test
https://api-test.wineshipping.com/v3/api/Inventory/GetTransactions
- Production
https://api.wineshipping.com/v3/api/Inventory/GetTransactions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/Inventory/GetTransactions \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"TransactionType": "Inventory Adjustment",
"Warehouse": "APC01",
"Reference": "",
"InventoryStatus": "GOOD-NO-TX",
"ItemNumbers": [
""
],
"Skip": 0,
"Top": 2500
}'
{ "TransactionReferenceNumber": "79f019f0-1a6e-4777-8c0d-d475ba2aaa3e", "TotalRecordCount": 2, "Skip": 0, "Top": 10000, "MoreRecords": false, "InventoryTransactions": [ { … }, { … } ] }
Request
This operation provides inventory information with warehouse, status, quantity on hand, quantity reserved on orders, quantity on backorder, quantity available, and quantity on an inbound PO. This operation optionally accepts a warehouse code to return related inventory records for a specific Wineshipping warehouse, if omitted the operation will return inventory records for all warehouses. The operation also accepts an array of items to query inventory records, if omitted returns inventory records for all items in the warehouse specified.
Credentials are required for all API operations.
See warehouse locations for possible values.
Up to five items are allowed. If omitted, all items in the specified warehouse are included in the results.
Up to five inventory status codes are allowed. If omitted, all inventory statuses are included in the results. The following are generic status codes. If you have a custom Wineshipping inventory type, please work with IT to get the inventory codes. See inventory codes for possible values.
Start returning results after skipping the specified number of records. The default is zero. This identifies a subset of the results defined by the input filter. The subset is defined by skipping N results and selecting only the remaining results (starting with N+1), where N is an integer greater than or equal to zero.
Limit the number of results to the specified value; the default is 2500. Any value outside the range of 0 to 2500 is set to 2500. Identifies a subset of the results based on the input filter by selecting only the first N results, where N is an integer greater than or equal to zero.
- Test
https://api-test.wineshipping.com/v3/api/Inventory/GetStatus
- Production
https://api.wineshipping.com/v3/api/Inventory/GetStatus
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/Inventory/GetStatus \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"Warehouse": "APC01",
"ItemNumbers": [
"string"
],
"InventoryStatuses": [
"GOOD-NO-BD"
],
"IncludeTotalRecordCount": false,
"Skip": 0,
"Top": 2500,
"IncludeUnavailableItems": false
}'
{ "TotalRecordCount": 12, "Skip": 0, "Top": 10, "MoreRecords": true, "WarehouseInventoryStatuses": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }
Request
This operation provides the total, aggregated inventory available to sell. This operation optionally accepts a list of warehouse codes to return sellable inventory totals for a specific subset of Wineshipping warehouses, otherwise all physical locations with sellable inventory are considered.
This method is specifically designed to efficiently sync available inventory quantities with Commerce, pos or other order management systems for all skus. See the GetInventoryStatus for retrieving more detailed inventory information for an individual sku.
- Test
https://api-test.wineshipping.com/v3/api/Inventory/GetSellable
- Production
https://api.wineshipping.com/v3/api/Inventory/GetSellable
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/Inventory/GetSellable \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"ItemNumbers": [
"6F9161ED",
"A37B693E"
]
}'
{ "TotalRecordCount": 0, "SalesChannel": "string", "Items": [ { … } ] }