API Methods for order processing and fulfillment.
REST API (3.1.3)
The REST 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.
Request
Successful execution of this method will generate a new SKU in Wineshipping's system and will return a transaction reference identifier. Store this identifier back into your system for reference later in the event there is an issue with the SKU.
Credentials are required for all API operations.
Information about the person making the request
Inventory Management Type determines how an item's inventory will be managed.
WineshippingManagedStorage - Inventory is managed in WS Warehouses.
ClientManagedStorage - Inventory is managed by the client in their own warehouses.
VirtualItems - Are items required for Point of Sale or fulfillmet such as tasting fees and icepacks.
If an item will be fulfilled by both WS and the Client, please select WineshippingManagedStorage (default value).
Required if item category is Wine.
See varietal codes for possible values.
See units of measure for possible values
- Testhttps://api-test.wineshipping.com/v3/api/SKU/CreateSKU
- Productionhttps://api.wineshipping.com/v3/api/SKU/CreateSKU
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- CreateWine
- CreateMerchandise
- CreateMarketingMaterial
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/SKU/CreateSKU \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"RequestorInfo": {
"FirstName": "John",
"LastName": "Smith",
"PhoneNumber": "7079339063",
"EmailAddress": "johnsmith@wineshipping.com"
},
"SKUInfo": {
"ItemCategory": "Wine",
"ItemNo": "SKU8866EWINE",
"ItemDescription": "2016 CHARDONNAY ESTATE 12/750",
"Vintage": "2016",
"Varietal": "CHARD",
"Appellation": "ESTATE 12/750",
"Value": "120.00",
"AlcoholByVolume": "12.5",
"UPCCode": "573421378534",
"UOM": "750",
"NumBottleInEachCase": "12",
"Classification": "Still",
"Comments": "Test SKU!"
}
}'Tell us about your experience with this schema
Credentials are required for all API operations.
Information about the person making the request
- Testhttps://api-test.wineshipping.com/v3/api/SKU/UpdateSKU
- Productionhttps://api.wineshipping.com/v3/api/SKU/UpdateSKU
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/SKU/UpdateSKU \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"RequestorInfo": {
"FirstName": "John",
"LastName": "Smith",
"PhoneNumber": "7079339063",
"EmailAddress": "johnsmith@wineshipping.com"
},
"SKUInfo": {
"ItemNo": "SKU8866EWINE",
"ItemDescription": "2016 CHARDONNAY ESTATE 12/750",
"Value": "120.00"
}
}'Tell us about your experience with this schema
Request
Successful execution of this method will deactivate a SKU in Wineshipping's system and will return a transaction reference identifier.
Credentials are required for all API operations.
- Testhttps://api-test.wineshipping.com/v3/api/SKU/RetireSku
- Productionhttps://api.wineshipping.com/v3/api/SKU/RetireSku
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-test.wineshipping.com/v3/api/SKU/RetireSku \
-H 'Authorization: WineshippingAuth <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Authentication": {
"UserKey": "C445598CB576468EA35FBB22C55584EF",
"Password": "AF63FDAC1E704DC1AC9460F669ABF107",
"CustomerNo": "10703"
},
"ItemNo": "string"
}'