Putaways
Get All Putaways
This endpoint retrieves all putaways associated to current user.
HTTP Request
GET /v1/putaways
Query Parameters
Parameter | Default | Description |
---|---|---|
page | 1 | The current page |
count | 30 | The number of items per page |
Example
- Request
- Response
$ curl --request GET --url 'https://app.winesitting.com/v1/putaways' \
--header 'AccessKey: YourAccessKey' \
--header 'SecretKey: YourSecretKey' \
--header 'content-type: application/json'
[
{
"id": 31,
"status": 40,
"expeditor": "123456",
"reference": "123465",
"warehouse": {
"id": 6,
"name": "Chilly-Mazarin",
"public_name": "WineSitting Chilly-Mazarin",
"street1": "2 rue Guynemer",
"street2": "",
"city": "Chilly-Mazarin",
"zipcode": "91380",
"country": "FR"
},
"validatedAt": {
"date": "2024-03-20 12:07:04.000000",
"timezone_type": 3,
"timezone": "Europe/Paris"
},
"content": [
{
"id": 99982,
"wine": "Chateau La Fleur de Bouard",
"color": "Rouge",
"country": "FR",
"region": "Bordeaux",
"appelation": "Lalande de Pomerol",
"description": null,
"ranking": null,
"millesime": 2001,
"alcohol": 13.5,
"format": "0.75",
"wine-price": "-",
"wine-comment": "",
"quantity": 6,
"box": ""
}
]
},
...
]
Get a Specific Putaway
This endpoint retrieves a specific Putaway.
HTTP Request
GET /v1/putaways/{id}
URL Parameters
Parameter | Description |
---|---|
id | The id of the Putaway to retrieve |
info
You can't get a Putaway that you don't own.
Example
- Request
- Response
$ curl --request GET --url 'https://app.winesitting.com/v1/putaways/28' \
--header 'AccessKey: YourAccessKey' \
--header 'SecretKey: YourSecretKey' \
--header 'content-type: application/json'
{
"id": 31,
"status": 40,
"expeditor": "123456",
"reference": "123465",
"warehouse": {
"id": 6,
"name": "Chilly-Mazarin",
"public_name": "WineSitting Chilly-Mazarin",
"street1": "2 rue Guynemer",
"street2": "",
"city": "Chilly-Mazarin",
"zipcode": "91380",
"country": "FR"
},
"validatedAt": {
"date": "2024-03-20 12:07:04.000000",
"timezone_type": 3,
"timezone": "Europe/Paris"
},
"content": [
{
"id": 99982,
"wine": "Chateau La Fleur de Bouard",
"color": "Rouge",
"country": "FR",
"region": "Bordeaux",
"appelation": "Lalande de Pomerol",
"description": null,
"ranking": null,
"millesime": 2001,
"alcohol": 13.5,
"format": "0.75",
"wine-price": "-",
"wine-comment": "",
"quantity": 6,
"box": ""
}
]
}