Inventory
Stock Operations by Product
Per-product view of stock movement. Proxies to client-api stock-operations/follow/products.
GET
/
stock-operations
/
products
Stock Operations by Product
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/stock-operations/products \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/stock-operations/products', 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/products"
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
Stock Operations by Product
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/stock-operations/products \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/stock-operations/products', 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/products"
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"
}
]
}