{ "info": { "_postman_id": "81a8b686-8803-4b81-b2c8-9d724a131bba", "name": "*API v19.04.2023 раздел KKT", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "30010846" }, "item": [ { "name": "Печать чека", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{Token}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n\"type\": \"sell\",\r\n\"operator\": \"Кассир\",\r\n\"total\": 3017,\r\n\"order\": \"\",\r\n\"emailOrPhone\": \"\",\r\n\"Items\": [\r\n{\r\n\"name\": \"Товар\",\r\n\"cost\": 3017,\r\n\"count\": 1,\r\n\"amount\": 3017\r\n}\r\n],\r\n\"Payments\": [\r\n{\r\n\"type\": \"electronically\",\r\n\"sum\": 3017\r\n}\r\n],\r\n\"vat\": \"none\"\r\n}Запрос", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{Url}}/api/receipts", "host": [ "{{Url}}" ], "path": [ "api", "receipts" ] } }, "response": [] }, { "name": "Данные последнего чека", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{Token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{Url}}/api/receipts?orderId=", "host": [ "{{Url}}" ], "path": [ "api", "receipts" ], "query": [ { "key": "orderId", "value": "", "description": "Номер заказа." } ] } }, "response": [] } ] }