Inventory
List Stock
Current stock levels, grouped by product.
GET
/
stock
List Stock
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/stock \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/stock', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.clopos.com/open-api/v2/stock"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"venue_id": 123,
"product_id": 123,
"storage_id": 123,
"reserved": 123,
"origin": "<string>",
"origin_id": 123,
"cost": 123,
"quantity": 123
}
]
}Was this page helpful?
⌘I
List Stock
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/stock \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/stock', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.clopos.com/open-api/v2/stock"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"venue_id": 123,
"product_id": 123,
"storage_id": 123,
"reserved": 123,
"origin": "<string>",
"origin_id": 123,
"cost": 123,
"quantity": 123
}
]
}