Skip to content
Last updated on

Most Wineshipping API methods require credentials to be sent in the request body using an Authentication object. This object includes three values that identify and authorize the caller.

Authentication Object

NameTypeDescription
UserKeyStringUser key issued by Wineshipping.
PasswordStringPassword associated with the user key.
CustomerNoStringWineshipping customer account number.

Example

{
  "Authentication": {
    "UserKey": "YOUR_USER_KEY",
    "Password": "YOUR_PASSWORD",
    "CustomerNo": "YOUR_CUSTOMER_NUMBER"
  }
}

Include this object in the body of each request that requires authentication. Operations without the object will return 401 Unauthorized.