Inventory
List Operation Items
Operation line items across all documents.
GET
/
operation-items
List Operation Items
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/operation-items \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/operation-items', 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/operation-items"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"operation_id": 123,
"product_id": 123,
"stock_id": 123,
"storage_id": 123,
"unit_id": 123,
"quantity": 123,
"unit_quantity": 123,
"before_quantity": 123,
"after_quantity": 123,
"expected_quantity": 123,
"total_quantity": 123,
"difference_quantity": 123,
"difference_cost": 123,
"waste_cost": 123,
"total_cost": 123,
"cost": 123,
"unit_cost": 123,
"tax_rate": 123,
"discount_rate": 123,
"tax_value": 123,
"discount_value": 123,
"subtotal": 123,
"comment": "<string>",
"operated_at": "2023-11-07T05:31:56Z"
}
]
}Was this page helpful?
⌘I
List Operation Items
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/operation-items \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/operation-items', 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/operation-items"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": 123,
"operation_id": 123,
"product_id": 123,
"stock_id": 123,
"storage_id": 123,
"unit_id": 123,
"quantity": 123,
"unit_quantity": 123,
"before_quantity": 123,
"after_quantity": 123,
"expected_quantity": 123,
"total_quantity": 123,
"difference_quantity": 123,
"difference_cost": 123,
"waste_cost": 123,
"total_cost": 123,
"cost": 123,
"unit_cost": 123,
"tax_rate": 123,
"discount_rate": 123,
"tax_value": 123,
"discount_value": 123,
"subtotal": 123,
"comment": "<string>",
"operated_at": "2023-11-07T05:31:56Z"
}
]
}