Bottles
What do you have to know about "bottles"
In our system, "bottles" are the association of 3 elements :
- A format (the container : 0.75, 0.33...)
- A wine (the content)
- A box (the bottles packaging)
info
In many systems (maybe yours), the product reference (sku) is different for the same wine in different format.
In order to match our "wine/format/box" with your "product" we suggest that you store our reference
which format is wine_id|format|box
(ex 1234|0.75|bottles
).
Get All Bottles
HTTP Request
GET /bottles
Query Parameters
For technical reasons, this endpoint is not paginated.
Example
- Request
- Response
$ curl --request GET --url 'https://app.winesitting.com/api/v2/bottles' \
--header 'Authorization: Bearer YourBearerToken' \
--header 'content-type: application/json'
[
{
"id": 89878,
"wine": "Jean Michel Sorbe",
"color": "Blanc",
"country": "FR",
"region": "Loire",
"appelation": "Quincy",
"description": null,
"ranking": null,
"millesime": 2020,
"alcohol": 13,
"format": 0.75,
"price": null,
"comment": null,
"quantity": 1,
"box": "bottles",
"reference": "89878|0.75|bottles"
},
{
"id": 10376,
"wine": "Chateau Rayas",
"color": "Rouge",
"country": "FR",
"region": "Rhône",
"appelation": "Chateauneuf du Pape",
"description": null,
"ranking": null,
"millesime": 2000,
"alcohol": 13.5,
"format": 0.75,
"price": null,
"comment": null,
"quantity": 12,
"box": "CTO12",
"reference": "10376|0.75|CTO12"
}
]