Inventory
List Stock Operations
Every stock movement: supplies, waste, transfers and the deductions receipts cause.
GET
/
stock-operations
List Stock Operations
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/stock-operations \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/stock-operations', 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-operations"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"venue_id": 123,
"stock_id": 123,
"reserved": 123,
"receipt_id": 123,
"receipt_product_id": 123,
"product_id": 123,
"modificator_id": 123,
"operation_id": 123,
"operation_item_id": 123,
"parent_id": 123,
"unit_id": 123,
"quantity": 123,
"before_quantity": 123,
"after_quantity": 123,
"before": 123,
"after": 123,
"cost": 123,
"before_cost": 123,
"total_cost": 123,
"operated_at": "2023-11-07T05:31:56Z"
}
]
}Was this page helpful?
⌘I
List Stock Operations
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/stock-operations \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/stock-operations', 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-operations"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"venue_id": 123,
"stock_id": 123,
"reserved": 123,
"receipt_id": 123,
"receipt_product_id": 123,
"product_id": 123,
"modificator_id": 123,
"operation_id": 123,
"operation_item_id": 123,
"parent_id": 123,
"unit_id": 123,
"quantity": 123,
"before_quantity": 123,
"after_quantity": 123,
"before": 123,
"after": 123,
"cost": 123,
"before_cost": 123,
"total_cost": 123,
"operated_at": "2023-11-07T05:31:56Z"
}
]
}