{"info":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"20122176","collectionId":"efee73df-6046-4cc2-9549-ae0566ad4cd9","publishedId":"2s93ecv9m7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-12T08:38:25.000Z"},"item":[{"name":"API по довідниках","item":[{"name":"clients","id":"bbd43520-fb73-40f0-9a63-934fc512f24c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/clients?filters%5Bids%5D=<array>&filters%5Bname%5D=<string>&filters%5Bsurname%5D=<string>&filters%5Bphone%5D=<string>&sort[page]=<integer>&sort[pageSize]=<integer>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["clients"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>array of client ids</p>\n","type":"text/plain"},"key":"filters%5Bids%5D","value":"<array>"},{"description":{"content":"<p>find by client name</p>\n","type":"text/plain"},"key":"filters%5Bname%5D","value":"<string>"},{"description":{"content":"<p>find by client surname</p>\n","type":"text/plain"},"key":"filters%5Bsurname%5D","value":"<string>"},{"description":{"content":"<p>find by client phone</p>\n","type":"text/plain"},"key":"filters%5Bphone%5D","value":"<string>"},{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"sort[page]","value":"<integer>"},{"description":{"content":"<p>number of pageSize, max 50</p>\n","type":"text/plain"},"key":"sort[pageSize]","value":"<integer>"}],"variable":[]}},"response":[],"_postman_id":"bbd43520-fb73-40f0-9a63-934fc512f24c"},{"name":"vehicles by client","id":"6a65377e-0cf6-415b-bfaf-d9f9343aa522","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/client/vehicles/{clientId}?vehicleId=<integer>&query=<string>&page=<integer>&pageSize=<integer>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["client","vehicles","{clientId}"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>find by vehicle id</p>\n","type":"text/plain"},"key":"vehicleId","value":"<integer>"},{"description":{"content":"<p>find by registration number, vehicle make, model, VIN, </p>\n","type":"text/plain"},"key":"query","value":"<string>"},{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"page","value":"<integer>"},{"description":{"content":"<p>number of pageSize, max 50</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"}],"variable":[]}},"response":[],"_postman_id":"6a65377e-0cf6-415b-bfaf-d9f9343aa522"},{"name":"vehicles","id":"4856128a-b7cc-41b5-9fb3-f88f5474d991","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/vehicles?filters%5Bid%5D=<number>&filters%5Bvin%5D=<string>&filters%5BlicensePlate%5D=<string>&filters%5Bname%5D=<string>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["vehicles"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>vehicle id</p>\n","type":"text/plain"},"key":"filters%5Bid%5D","value":"<number>"},{"description":{"content":"<p>vehicle VIN code</p>\n","type":"text/plain"},"key":"filters%5Bvin%5D","value":"<string>"},{"description":{"content":"<p>vehicle license plate</p>\n","type":"text/plain"},"key":"filters%5BlicensePlate%5D","value":"<string>"},{"description":{"content":"<p>vehicle name</p>\n","type":"text/plain"},"key":"filters%5Bname%5D","value":"<string>"}],"variable":[]}},"response":[],"_postman_id":"4856128a-b7cc-41b5-9fb3-f88f5474d991"},{"name":"employees","id":"105de9f2-c639-42f7-8b83-97d8e1b70586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/employees?disabled=<bool>&query=<string>&onlyMechanics=<bool>&ids=<array>&posts=<array>&isManager=<bool>&managerIds=<array>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["employees"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>return disabled employee too</p>\n","type":"text/plain"},"key":"disabled","value":"<bool>"},{"description":{"content":"<p>find by employee name, employee surname, employee phone, employee email, employee job</p>\n","type":"text/plain"},"key":"query","value":"<string>"},{"description":{"content":"<p>return only mechanics</p>\n","type":"text/plain"},"key":"onlyMechanics","value":"<bool>"},{"description":{"content":"<p>find by array of employee id</p>\n","type":"text/plain"},"key":"ids","value":"<array>"},{"description":{"content":"<p>find by array of employee posts, valid [MECHANIC, MASTER_RECEIVER, SPARE_PARTS_SPECIALIST, WORKSHOP_MASTER, ADMINISTRATOR, CASHIER, ACCOUNTANT, HEAD, IT_ADMINISTRATOR, OWNER, OTHER]</p>\n","type":"text/plain"},"key":"posts","value":"<array>"},{"description":{"content":"<p>return only managers</p>\n","type":"text/plain"},"key":"isManager","value":"<bool>"},{"description":{"content":"<p>find by array of manager ids</p>\n","type":"text/plain"},"key":"managerIds","value":"<array>"}],"variable":[]}},"response":[],"_postman_id":"105de9f2-c639-42f7-8b83-97d8e1b70586"},{"name":"store products","id":"64fb86cf-45b4-4d7e-83bc-9f8576630503","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/store_products?query=<string>&page=<number>&pageSize=<number>&all=<bool>&productId=<number>&productCode=<string>&productBrand=<string>&brandId=<number>&withoutPhoto=<bool>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["store_products"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>find by product code, brand name</p>\n","type":"text/plain"},"key":"query","value":"<string>"},{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>number of page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"description":{"content":"<p>return all</p>\n","type":"text/plain"},"key":"all","value":"<bool>"},{"description":{"content":"<p>find by productId</p>\n","type":"text/plain"},"key":"productId","value":"<number>"},{"description":{"content":"<p>find by product code</p>\n","type":"text/plain"},"key":"productCode","value":"<string>"},{"description":{"content":"<p>find by product brand</p>\n","type":"text/plain"},"key":"productBrand","value":"<string>"},{"description":{"content":"<p>find by brand id</p>\n","type":"text/plain"},"key":"brandId","value":"<number>"},{"description":{"content":"<p>return without photo</p>\n","type":"text/plain"},"key":"withoutPhoto","value":"<bool>"}],"variable":[]}},"response":[],"_postman_id":"64fb86cf-45b4-4d7e-83bc-9f8576630503"},{"name":"warehouses","id":"5302dac1-4b1d-478b-a283-5bde30fe0c7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/warehouses?considerQuantity=<bool>&id=<number>&attribute=<array>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["warehouses"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>return warehouse with consider quantity true</p>\n","type":"text/plain"},"key":"considerQuantity","value":"<bool>"},{"description":{"content":"<p>find by warehouse id</p>\n","type":"text/plain"},"key":"id","value":"<number>"},{"description":{"content":"<p>find by array of warehouse attributes, valid ['MAIN','RESERVE','TOOL','REPAIR_AREA','STORAGE']</p>\n","type":"text/plain"},"key":"attribute","value":"<array>"}],"variable":[]}},"response":[],"_postman_id":"5302dac1-4b1d-478b-a283-5bde30fe0c7e"},{"name":"brands","id":"4f02b867-9cc7-4674-ad90-009414ee1858","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/clients/brands?filters%5Bpage%5D=<number>&filters%5BbrandName%5D=<string>&filters%5BsupplierId%5D=<number>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["clients","brands"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"filters%5Bpage%5D","value":"<number>"},{"description":{"content":"<p>find by brand name</p>\n","type":"text/plain"},"key":"filters%5BbrandName%5D","value":"<string>"},{"description":{"content":"<p>find by supplier id</p>\n","type":"text/plain"},"key":"filters%5BsupplierId%5D","value":"<number>"}],"variable":[]}},"response":[],"_postman_id":"4f02b867-9cc7-4674-ad90-009414ee1858"},{"name":"requisites","id":"6f656e7c-5b84-446c-8635-f9ce513874f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/businesses/requisites","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["businesses","requisites"],"host":["api","carbook","pro"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f656e7c-5b84-446c-8635-f9ce513874f0"},{"name":"labors","id":"63729a79-cd2a-4550-bf44-a2acb5cd28be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/labors?all=<bool>&id=<number>&crossId=<number>&storeGroupId=<number>&masterLaborId=<number>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["labors"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>return all</p>\n","type":"text/plain"},"key":"all","value":"<bool>"},{"description":{"content":"<p>find by id</p>\n","type":"text/plain"},"key":"id","value":"<number>"},{"description":{"content":"<p>find by cross id</p>\n","type":"text/plain"},"key":"crossId","value":"<number>"},{"description":{"content":"<p>find by store group id</p>\n","type":"text/plain"},"key":"storeGroupId","value":"<number>"},{"description":{"content":"<p>find by master labor id</p>\n","type":"text/plain"},"key":"masterLaborId","value":"<number>"}],"variable":[]}},"response":[],"_postman_id":"63729a79-cd2a-4550-bf44-a2acb5cd28be"},{"name":"store groups","id":"77f65c4d-2d86-4551-ab32-d1d6fc17c6ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/store_groups","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["store_groups"],"host":["api","carbook","pro"],"query":[],"variable":[]}},"response":[],"_postman_id":"77f65c4d-2d86-4551-ab32-d1d6fc17c6ab"},{"name":"stations","id":"0c93d5d0-7919-4ba4-9392-545431f384a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/businesses/stations","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["businesses","stations"],"host":["api","carbook","pro"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c93d5d0-7919-4ba4-9392-545431f384a7"},{"name":"suppliers","id":"63c975be-13fb-4fc6-9472-d3ffc01a676d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/business_suppliers_dept?filters%5Bquery%5D=<string>&filters%5BwithoutZeroDept%5D=<bool>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["business_suppliers_dept"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>Find by supplier name, supplier phone, supplierId</p>\n","type":"text/plain"},"key":"filters%5Bquery%5D","value":"<string>"},{"description":{"content":"<p>response without zero dept</p>\n","type":"text/plain"},"key":"filters%5BwithoutZeroDept%5D","value":"<bool>"}],"variable":[]}},"response":[],"_postman_id":"63c975be-13fb-4fc6-9472-d3ffc01a676d"},{"name":"cash boxes","id":"534ff3cf-8adc-47df-875d-3b20ff3b0c32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/cash_boxes/balance?endDate=<string>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","name":"API по довідниках","type":"folder"}},"urlObject":{"protocol":"https","path":["cash_boxes","balance"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"endDate","value":"<string>"}],"variable":[]}},"response":[],"_postman_id":"534ff3cf-8adc-47df-875d-3b20ff3b0c32"}],"id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"2c5b6a48-88f7-4156-9153-99ff83772e29","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2b5e3ee9-a87b-411a-a60f-15a26d5e11c0","type":"text/javascript","exec":[""]}}],"_postman_id":"1fccaeef-bb92-4f99-a53d-fd23a454e57a","description":""},{"name":"API Наряд-замовлення","item":[{"name":"orders","id":"25e29d15-f2f5-475f-9025-fd6eacb8f613","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/orders?client=<number>&statuses=<array>&vehicleId=<number>&query=<string>&startDate=<string>&endDate=<string>&page=<number>&pageSize=<number>&sortOrder=<string>&sortField=<string>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["orders"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>client Id</p>\n","type":"text/plain"},"key":"client","value":"<number>"},{"description":{"content":"<p>array of string, valid - ['call', 'redundant', 'approve', 'cancel', 'not_complete', 'progress', 'reserve', 'required', 'success', 'invite']</p>\n","type":"text/plain"},"key":"statuses","value":"<array>"},{"description":{"content":"<p>vehicle id</p>\n","type":"text/plain"},"key":"vehicleId","value":"<number>"},{"description":{"content":"<p>find by </p>\n","type":"text/plain"},"key":"query","value":"<string>"},{"description":{"content":"<p>ISO</p>\n","type":"text/plain"},"key":"startDate","value":"<string>"},{"description":{"content":"<p>ISO</p>\n","type":"text/plain"},"key":"endDate","value":"<string>"},{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>number of page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"description":{"content":"<p>default - 'desc', valid - ['asc', 'desc']</p>\n","type":"text/plain"},"key":"sortOrder","value":"<string>"},{"description":{"content":"<p>default - 'datetime', valid - ['datetime', 'beginDatetime', 'totalSum', 'deliveryDatetime', 'stationNum', 'successDatetime']</p>\n","type":"text/plain"},"key":"sortField","value":"<string>"}],"variable":[]}},"response":[],"_postman_id":"25e29d15-f2f5-475f-9025-fd6eacb8f613"},{"name":"Add order","id":"11986d3f-7438-413d-94a1-d2d425411197","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"businessId","value":"<number>","description":"<p>business Id,  required</p>\n","type":"text"},{"key":"clientId","value":"<number>","description":"<p>client Id, optional</p>\n","type":"text"},{"key":"phone","value":"<string>","description":"<p>client phone, required, phone format example: +2d(3d) 3d-2d-2d, d - digits</p>\n","type":"text"},{"key":"date","value":"<string>","description":"<p>date, required, date format example: YYYY-MM-DD</p>\n","type":"text"},{"key":"time","value":"<string>","description":"<p>time, required, time format example: HH:MM</p>\n","type":"text"},{"key":"clientVehicleId","value":"<number>","description":"<p>client vehicle id, optional</p>\n","type":"text"},{"key":"comment","value":"<string>","description":"<p>comment from client, optional</p>\n","type":"text"},{"key":"stationLoads","value":"<array>","description":"<p>List of station loads for the order, items of array: id (number, optional), status (string, valid: ['TO_DO', 'COMPLETED'], required), beginDatetime (date, iso, required), duration (number, required), stationNum (integer, optional)</p>\n","type":"text"}]},"url":"https://api.carbook.pro/orders/by_third_party","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["orders","by_third_party"],"host":["api","carbook","pro"],"query":[],"variable":[]}},"response":[],"_postman_id":"11986d3f-7438-413d-94a1-d2d425411197"},{"name":"Add order with client & vehicle","id":"0a72e61b-52b3-4eb6-8639-e8c56fc7e40a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"clientId","value":"<Integer>","description":"<p>ID of the client, must be a positive integer, optional</p>\n","type":"text"},{"key":"clientName","value":"<string>","description":"<p>Name of the client, this field is mutually exclusive with clientId, optional</p>\n","type":"text"},{"key":"clientSurname","value":"<string>","description":"<p>Surname of the client, optional</p>\n","type":"text"},{"key":"clientPhone","value":"<string>","description":"<p>Client's phone number, must be provided if clientName is provided, optional, phone format example: +2d(3d) 3d-2d-2d, d - digits</p>\n","type":"text"},{"key":"sourceId","value":"<number>","description":"<p>Source ID for the request, must be a positive integer. Default is 1, optional</p>\n","type":"text"},{"key":"date","value":"<string>","description":"<p>Date of the order, required, date format example: YYYY-MM-DD</p>\n","type":"text"},{"key":"time","value":"<string>","description":"<p>Time of the order, required, time format example: HH:MM</p>\n","type":"text"},{"key":"clientVehicleId","value":"<number>","description":"<p>ID of the client vehicle, must be a positive integer, optional</p>\n","type":"text"},{"key":"comment","value":"<string>","description":"<p>comment from client, optional</p>\n","type":"text"},{"key":"plateNumber","value":"<string>","description":"<p>License plate number of the client’s vehicle, optional</p>\n","type":"text"},{"key":"vin","value":"<string>","description":"<p>Vehicle Identification Number (VIN), optional, must be 17 characters long. Can be null or an empty string</p>\n","type":"text"},{"key":"alias","value":"<string>","description":"<p>Alias for the vehicle, optional</p>\n","type":"text"},{"key":"comment","value":"<string>","description":"<p>Additional comments for the order, optional</p>\n","type":"text"},{"key":"findByPhone","value":"<bool>","description":"<p>Deprecated. Doesn`t affect request logic</p>\n","type":"text"},{"key":"stationLoads","value":"<array>","description":"<p>List of station loads for the order, items of array: status (string, valid: ['TO_DO', 'COMPLETED'], required), beginDatetime (date, iso, required), duration (number, required), stationNum (integer, optional)</p>\n","type":"text"}]},"url":"https://api.carbook.pro/orders/client_vehicle","description":"<p><strong>General description:</strong> The request creates a new order in the \"Reserve\" status with a client and a vehicle. The client is searched for using either the <code>clientId</code> or <code>clientPhone</code> parameters. The vehicle is searched for using either the <code>clientVehicleId</code> or the client's ID. If the client or vehicle is not found, they will be created based on the provided input data.</p>\n<p>You must provide one of the following fields: <code>clientId</code> or <code>clientName</code>. If <code>clientName</code> is provided, the <code>clientPhone</code> field is also required. Additionally, at least one of the following fields must be provided: <code>clientVehicleId</code>, <code>plateNumber</code>, or <code>vin</code>.</p>\n<p>Examples</p>\n<ol>\n<li>Creating a order without a vehicle.<br /> If no client is found with the provided clientPhone, a new client will be created:<br /> {<br /> \"clientName\": <code>\"{client_name}\"</code>,<br /> \"clientSurname\": <code>\"{client_surname}\"</code>,<br /> \"clientPhone\": <code>\"{client_phone}\"</code>,<br /> \"date\": <code>\"{date}\"</code>,<br /> \"time\": <code>\"{time}\"</code><br /> }</li>\n<li>Creating a order with a vehicle.<br /> If no vehicle is found with the provided plateNumber or vin, a new vehicle will be created:<br /> {<br /> \"clientName\": <code>\"{client_name}\"</code>,<br /> \"clientSurname\": <code>\"{client_surname}\"</code>,<br /> \"clientPhone\": <code>\"{client_phone}\"</code>,<br /> \"plateNumber\": <code>\"{license_plate}\"</code>,<br /> \"vin\": <code>\"{VIN_code}\"</code>,<br /> \"date\": <code>\"{date}\"</code>,<br /> \"time\": <code>\"{time}\"</code><br /> }</li>\n<li>Creating a order using clientId (no need to provide name or phone):<br /> {<br /> \"clientId\": <code>\"{client_id}\"</code>,<br /> \"date\": <code>\"{date}\"</code>,<br /> \"time\": <code>\"{time}\"</code><br /> }</li>\n<li>Creating a order with a vehicle using clientId and clientVehicleId:<br /> {<br /> \"clientId\": <code>\"{client_id}\"</code>,<br /> \"clientVehicleId\": <code>\"{client_vehicle_id}\"</code>,<br /> \"date\": <code>\"{date}\"</code>,<br /> \"time\": <code>\"{time}\"</code>,<br /> \"stationLoads\": [{<br /> status: <code>\"{status}\"</code>,<br /> beginDatetime: <code>\"{datetime}\"</code>,<br /> duration: <code>\"{duration}\"</code>,<br /> stationNum: <code>\"{stationNum}\"</code><br /> }]<br /> }</li>\n</ol>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["orders","client_vehicle"],"host":["api","carbook","pro"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a72e61b-52b3-4eb6-8639-e8c56fc7e40a"},{"name":"active orders","id":"f2f9a79d-e80f-4e83-b58d-63f831afe42f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/order/third_party?businessId=<number>&phone=<string>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["order","third_party"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>business id, required</p>\n","type":"text/plain"},"key":"businessId","value":"<number>"},{"description":{"content":"<p>client phone, required</p>\n","type":"text/plain"},"key":"phone","value":"<string>"}],"variable":[]}},"response":[],"_postman_id":"f2f9a79d-e80f-4e83-b58d-63f831afe42f"},{"name":"order by ID","id":"5c0478c2-fad1-4135-92a4-2452545b2bfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/orders/{orderId}","description":"<p><a href=\"https://api.carbook.pro/orders/%7BorderId%7D\">https://api.carbook.pro/orders/{orderId}</a></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Response:\n\nblockedOrder - &lt;bool&gt; - Order status (if true, order cannot be edited)\nbusinessLocations - All business locations\ncalls - Calls regarding this order\ncashOrders - &lt;CashOrder[]&gt; Cash orders, that relate to this order\nemployees - All business employees\nloyalty - &lt;Loyalty&gt; - Loyalty program\nmanagers - &lt;Manager[]&gt; - All business managers\nnormHourPrice - &lt;number&gt; - Price of norm hour (taken from Labors directory setting)\norder - &lt;Order&gt; - Order information\norderDetails - &lt;OrderDetail[]&gt; - Order details\norderRecommendations - &lt;OrderRecommendationList&gt; - Order recommendations\norderServices - &lt;OrderService[]&gt; - Order services.\nschedule - &lt;ScheduleGroup[]&gt; - Business work schedule.\nstationLoads - &lt;StationLoad[]&gt; - Station loads of the order\nstations - &lt;Station[]&gt; - All business stations (posts)\n\n\nCashOrder:\nbusinessSupplierId - &lt;integer&gt; - Supplier id\ncashBoxId - &lt;integer&gt; - Cash box id\nclientId - &lt;integer&gt; - Client id\ncreatedAt - &lt;string&gt; - ISO date, created at\ncreatedBy - &lt;integer&gt; - id of manager (responsible), who created an order\ndecrease - &lt;number&gt; - amount of decrease (is null if order is of type \"INCOME\")\nincrease - &lt;number&gt; - amount of increase (is null if order is of type \"EXPENSE\", \"ADJUSTMENT\")\nid - &lt;string&gt; - id of a cash order\norderId - &lt;integer&gt; - id of an order\nupdatedAt - &lt;string&gt; - ISO date, last update date\nupdatedBy - &lt;integer&gt; - id of manager, who updated an order\n\nLoyalty:\naccumulativeDiscountId - &lt;integer&gt; - accumulative discount id\nappurtunanciesPercent - &lt;number&gt; - &lt;number&gt; - percent of details sum added to loyalty balance\nbarcode - &lt;string&gt;\nbarcodeId - &lt;integer&gt;\ncardNumber - &lt;string&gt;\nclientId - &lt;integer&gt;\ncolor - &lt;string&gt; - color of card\ncreatedAt - &lt;string&gt; - ISO date, created at\ncreatedBy - &lt;integer&gt; - id of manager (responsible), who created a loyalty\ncurrentLevel - &lt;LoyaltyLevel&gt; - current loyalty level\nfixedDiscountId - &lt;integer&gt;\nid - &lt;number&gt; - loyalty id\nisActive - &lt;bool&gt;\nlaborsPercent - &lt;number&gt; - percent of labors sum added to loyalty balance\nname - &lt;string&gt;\nnextLevel - &lt;LoyaltyLevel&gt; - next loyalty level\npointsToNextLevel - &lt;number&gt;\nprogramDiscountSettingsId - &lt;integer&gt;\ntotalPoints - &lt;number&gt;\ntype - &lt;string&gt; - \"ACCUMULATIVE\", \"FIXED\", \"BONUS\" - type of loyalty program\nupdatedBy - &lt;integer&gt; - id of manager, who created a loyalty\n\n\n\nLoyaltyLevel:\nid - &lt;integer&gt; - loyalty level id\nprogramDiscountSettingsId - &lt;integer&gt;\nbusinessId - &lt;integer&gt;\nsumFrom - &lt;number&gt; - level start sum\nsumTo - &lt;number&gt; - level end sum\ncardName - &lt;string&gt; - card name\ncolor - &lt;string&gt; - color of card\ntotalPercent - &lt;number&gt; - total percent of sum added to loyalty balance\nlaborsPercent - &lt;number&gt; - percent of labors sum added to loyalty balance\nappurtunanciesPercent - &lt;number&gt; - &lt;number&gt; - percent of details sum added to loyalty balance\ncreatedAt - &lt;string&gt; - ISO date, created at\ncreatedBy - &lt;integer&gt; - id of manager (responsible), who created a loyalty\nupdatedBy - &lt;integer&gt; - id of manager, who created a loyalty\n\n\n\nManager:\nbusinessId - &lt;integer&gt; - id of business of the manager\ndisabled - &lt;bool&gt; - is manager account disabled\nemployeeId - &lt;integer&gt;\nid - &lt;integer&gt; - manager id\nisCashier - &lt;bool&gt;\nisMechanic - &lt;bool&gt;\nisStatisticCrmIncluded - &lt;bool&gt;\nmanagerName - &lt;string&gt;\nmanagerSurname - &lt;string&gt;\nmedoc - &lt;Medoc&gt; - medoc settings\nphone - &lt;string&gt;\nphoneCode - &lt;PhoneCode&gt;\nposts - &lt;EmployeePost[]&gt;\n\n\n\nMedoc:\ndept - &lt;string&gt; - debt\nedrpou - &lt;string&gt;\nlogin - &lt;string&gt;\nurl - &lt;string&gt; - medoc url\n\n\nPhoneCode:\ncode - &lt;string&gt; - country phone code (\"380\" for Ukraine)\ncountry - &lt;string&gt;\n\n\nEmployeePost:\npostId - &lt;integer&gt;\npostName - &lt;string&gt;\n\n\nOrder:\nbeginDatetime - &lt;string&gt; - ISO date, date of order creation\nclientPhone - &lt;string&gt;\nclientId - &lt;integer&gt;\nclientVehicleId - &lt;integer&gt;\nduration - &lt;number&gt; - duration of order, in hours\nmanagerId - &lt;integer&gt;\npaymentMethod - &lt;string&gt; - one of: \"cash\", \"visa\", \"noncash\"\nstatus - &lt;string&gt; - one of: \"not_completed_supplier_expense\", \"success\", \"cancel\", \"required\", \"approve\", \"not_completed_supplier_income\", \"progress\", \"reserve\", \"stop\", \"invite\", \"redundant\", \"call\", \"processing\", \"not_complete\"\nid - &lt;integer&gt; - order id\nnum - &lt;string&gt; - number of an order\ndatetime - &lt;string&gt; - ISO date\nservicesSum - &lt;number&gt; - sum of order services\ndetailsSum - &lt;number&gt; - sum of order details\nbusinessId - &lt;integer&gt;\ndeliveryDatetime - &lt;string&gt; - ISO date\ninvoiceCreated - &lt;bool&gt; - is invoice created in vat journal\ninvoiceReportPrinted - &lt;bool&gt; - is invoice printed in vat journal\ncompletedWorkReportPrinted - &lt;bool&gt;\nservicesTotalSum - &lt;number&gt; - total sum of order services\ndetailsTotalSum - &lt;number&gt; - total sum of order details\nservicesPriceSum - &lt;number&gt;\nappurtenanciesPriceSum - &lt;number&gt;\ntotalSum - &lt;number&gt;\ntotalSumDiscount - &lt;number&gt; - total discount sum\nservicesSumDiscount - services discount sum\nonlyAppurtenanciesTotalSum - &lt;number&gt;\nonlyAppurtenanciesTotalSumDiscount - &lt;number&gt;\nprintNumber - &lt;string&gt; - print number in print documents\nlaborTimeMultiplier - &lt;number&gt;\ntotalSumWithTax - &lt;number&gt;\ntax - &lt;integer&gt;\nisTaxPayer - &lt;bool&gt;\nbodyId - &lt;integer&gt;\nremainingSum - &lt;number&gt;\nsubStatus - &lt;string&gt; - one of: \"paid\", \"after_repair\", \"logistic_parts\", \"adjustment\", \"pause\", \"request\", \"deleted\", \"calculation_parts\", \"diagnostics\", \"record\", \"new\", \"calculation_labors\", \"repair\", \"auto\", \"done\", \"stop\", \"regulations\", \"before_repair\", \"call\", \"review\"\nclientVehicleTypeId - &lt;integer&gt;\nclientVehicleRadius - &lt;integer&gt;\nvehicleTypeName - &lt;string&gt; - for example, in ukrainian, one of: \"Легковий\", \"Вантажний\", \"Мото\", \"Інший\", \"Бус\"\nnormHourPrice - &lt;number&gt;\nplate - &lt;string&gt; - client vehicle plate number\n\n\n\nOrderDetail:\nactualMarkup - &lt;number&gt; - price compared to purchase price of the detail\nagreement - &lt;string&gt; - agreement status of the detail, one of: \"UNDEFINED\", \"REJECTED\", \"AGREED\"\nbrandName - &lt;string&gt;\ncellAddress - &lt;string&gt; - warehouse cell address\ncomment - &lt;Comment&gt; - diagnostic comment\ncount - &lt;number&gt; - quantity of detail\ncountOnWarehouse - &lt;number&gt; - quantity of detail in warehouse\ncountInStoreOrders - &lt;number - quantity of detail in store orders\ndetailClass - &lt;string&gt; - one of: \"STATION\", \"CONSUMABLE\", \"CLIENT_PART\"\ndetailCode - &lt;string&gt;\ndetailName - &lt;string&gt;\nexternalApiDocId - &lt;string&gt; - id of supplier document\nexternalApiExpenseDocId - &lt;string&gt;\nid - &lt;integer&gt; - id of order detail\nisCritical - &lt;bool&gt;\nisCriticalByTime - &lt;bool&gt;\nisEndingByTime - &lt;bool&gt;\nisFromStock - &lt;bool&gt;\nisNewByTime - &lt;bool&gt;\nisOverdueByTime - &lt;bool&gt;\nmarkupCheckFailed - &lt;bool&gt;\nmeasureUnit - &lt;string&gt;\npurchasePrice - &lt;number&gt;\nprice - &lt;number&gt; - selling price\npartRowDiscount - &lt;integer&gt;\nproductId - &lt;integer&gt; - id of product in Products directory\npartUnitId - &lt;integer&gt; - measure unit id\nproductname - &lt;string&gt;\nproductCode - &lt;string&gt;\nproductBrandId - &lt;integer&gt;\ntradeCode - &lt;string&gt; - UKTZ code\nstoreGroupId - &lt;integer&gt;\nmin - &lt;integer&gt;\nmax - &lt;integer&gt;\nremaining - &lt;number&gt; - quantity of details remaining in warehouse\nreserved - &lt;number&gt;\nsupplierId - &lt;integer&gt;\nsupplierBrandId - &lt;integer&gt;\nsupplierName - &lt;string&gt;\nsupplierBrandName - &lt;string&gt;\nstore - &lt;string[]&gt; - availabilities\nstage - &lt;string&gt; - one of: \"RETURNED\", \"ORDERED\", \"INSTALLED\", \"ACCEPTED\", \"INACTIVE\", \"GIVEN\", \"CANCELED\", \"NO_SPARE_PART\", \"RESERVED\"\norder - &lt;number&gt;\nsum - &lt;number&gt; - sum without VAT, count \\* price with discounts\ntime - &lt;integer&gt; - status time\nsecondsInStatus - &lt;integer&gt;\nstatusSetDatetime - &lt;string&gt; - ISO date\nstatusTime - &lt;integer&gt;\ntransferedToRepairArea - &lt;bool&gt; - detail is in the repair area\nstatusColor - &lt;string&gt;\n\n\n\nComment:\ncomment - &lt;string&gt;\npositions - &lt;string[]&gt;\nproblems - &lt;string[]&gt;\n\n\n\nOrderRecommendationList:\nlist - &lt;OrderRecommendation[]&gt;\ncount - &lt;{count: &lt;string&gt;}&gt;\n\n\nOrderRecommendation:\nrecommendationId - &lt;integer&gt;\nvehicleId - &lt;integer&gt;\norderId - &lt;integer&gt;\norderNum - &lt;string&gt;\nlaborId - &lt;string&gt;\nlaborName - &lt;string&gt;\ndefaultName - &lt;string&gt;\nrecommendationToDate - &lt;string&gt;\nrecommendationToOdometerValue - &lt;integer&gt;\nrecommendationStatus - &lt;bool&gt;\ncount - &lt;number&gt;\nservicePrice - &lt;integer&gt;\nlaborUnitId - &lt;integer&gt;\norderSuccessDatetime - &lt;string&gt; - ISO date\n\n\nOrderService:\nid - &lt;integer&gt; - id of this service\nbusinessSupplierId - &lt;integer&gt;\nbusinessSupplierName - &lt;string&gt;\nlaborId - &lt;string&gt; - labor code\nspecificationId - &lt;integer&gt;\nlaborUnitId - &lt;integer&gt; - measure unit id\nstartTime - &lt;string&gt; - format: YYYY-MM-DD HH:MM\nendTime - &lt;string&gt; - format: YYYY-MM-DD HH:MM\nmeasureUnit - &lt;string&gt;\nhours - &lt;number&gt;\nprice - &lt;integer&gt;\nserviceRowDiscount - &lt;integer&gt; - discount, in percents\nsum - &lt;number&gt; - sum without VAT, count \\* price with discounts\nownDetail - &lt;bool&gt;\nagreement - &lt;string&gt; - agreement status of the service, one of: \"UNDEFINED\", \"REJECTED\", \"AGREED\"\ndefaultName - &lt;string&gt;\nserviceName - &lt;string&gt;\ncomment - &lt;Comment&gt;\npurchasePrice - &lt;number&gt;\ncount - &lt;integer&gt; - quantity of services\nisCritical - &lt;bool&gt;\nstage - &lt;string&gt; - one of: \"DONE\", \"STOPPED\", \"CANCELED\", \"IN_PROGRESS\", \"INACTIVE\"\nworkingTime - &lt;integer&gt;\nstoppedTime - &lt;integer&gt;\nstoreGroupId - &lt;integer&gt;\norder - &lt;integer&gt;\ncounterparty - &lt;string&gt; - one of: \"CREW\", \"SUPPLIER\", \"EMPLOYEE\"\nstoreGroupName - &lt;string&gt;\nemployeeName - &lt;string&gt;\nactualMarkup - &lt;integer&gt;\n\n\n\nScheduleGroup:\nbeginTime - &lt;string&gt; - start of business work, format: \"DD:MM\"\nendTime - &lt;string&gt; - end of business work, format: \"DD:MM\"\nh24 - &lt;bool&gt; - is 24 hour\ndays - &lt;integer[]&gt; - days of week (starting index - 1 (Monday))\n\n\n\nStationLoad:\nbeginDatetime - &lt;string&gt; - ISO date\nduration - &lt;number&gt; - amount of time, in hours\nid - &lt;integer&gt;\nstationNum - &lt;integer&gt; - number of business station\nstatus - &lt;string&gt; - one of: \"TO_DO\", \"COMPLETED\"\n\n\nStation:\ndisabled - &lt;bool&gt; - is station disabled, opposite of \"enabled\"\nenabled - &lt;bool&gt; - is station enabled, opposite of \"disabled\"\nid - &lt;integer&gt;\nname - &lt;string&gt;\nnum - &lt;integer&gt;\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["orders","{orderId}"],"host":["api","carbook","pro"],"query":[],"variable":[]}},"response":[],"_postman_id":"5c0478c2-fad1-4135-92a4-2452545b2bfa"}],"id":"a7d0c371-d3c5-41c1-9c34-b545cb19b35f","_postman_id":"a7d0c371-d3c5-41c1-9c34-b545cb19b35f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}}},{"name":"API Склад та складські документи","item":[{"name":"store documents","id":"f31ec5a9-62e5-46b3-8413-ec5061a24ef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/store_docs?operationCodes=<array>&documentTypes=<array>&types=<array>&statuses=<array>&query=<string>&createdDatetime=<string>&doneDatetime=<string>&recordDatetime=<string>&paidDatetime=<string>&startDate=<string>&endDate=<string>&orderId=<number>&storeDocId=<number>&warehouseId=<number>&page=<number>&pageSize=<number>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["store_docs"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>array of operation codes, valid ['INC','CRT','STP','SRV','OUT','SRT','CST','STM','TSF','RES','ORD','BOR','COM','TOL','TOR','AUT','VRT','KPP','KPM']</p>\n","type":"text/plain"},"key":"operationCodes","value":"<array>"},{"description":{"content":"<p>array of document type, valid ['SUPPLIER','CLIENT','INVENTORY','OWN_CONSUMPTION','TRANSFER','SERVICE','PRESERVATION']</p>\n","type":"text/plain"},"key":"documentTypes","value":"<array>"},{"description":{"content":"<p>array of type, valid ['INCOME','EXPENSE']</p>\n","type":"text/plain"},"key":"types","value":"<array>"},{"description":{"content":"<p>array of status, valid ['NEW','DONE','CANCEL']</p>\n","type":"text/plain"},"key":"statuses","value":"<array>"},{"description":{"content":"<p>find by supplier name, manager name, manager surname, client name, client surname, employee name, employee surname, barcode, supplier document number</p>\n","type":"text/plain"},"key":"query","value":"<string>"},{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"createdDatetime","value":"<string>"},{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"doneDatetime","value":"<string>"},{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"recordDatetime","value":"<string>"},{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"paidDatetime","value":"<string>"},{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"startDate","value":"<string>"},{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"endDate","value":"<string>"},{"description":{"content":"<p>order Id</p>\n","type":"text/plain"},"key":"orderId","value":"<number>"},{"description":{"content":"<p>document Id</p>\n","type":"text/plain"},"key":"storeDocId","value":"<number>"},{"description":{"content":"<p>warehouse Id</p>\n","type":"text/plain"},"key":"warehouseId","value":"<number>"},{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>number of page size </p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"}],"variable":[]}},"response":[],"_postman_id":"f31ec5a9-62e5-46b3-8413-ec5061a24ef7"},{"name":"store products balance","id":"ed63d028-667d-468d-bd95-18a4458cd301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/store_doc_products/balance?productIds=<array>&date=<string>&query=<string>&page=<number>&pageSize=<number>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["store_doc_products","balance"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>array of productIds</p>\n","type":"text/plain"},"key":"productIds","value":"<array>"},{"description":{"content":"<p>ISO date </p>\n","type":"text/plain"},"key":"date","value":"<string>"},{"description":{"content":"<p>find by product code</p>\n","type":"text/plain"},"key":"query","value":"<string>"},{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>number of page size </p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"}],"variable":[]}},"response":[],"_postman_id":"ed63d028-667d-468d-bd95-18a4458cd301"},{"name":"balance by products","id":"db8951b3-2d89-44ae-becc-4d23280a7667","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/balance_by_products?warehouseId=<string>&groupId=<string>&productCode=<string>&brandId=<string>&date=<string>&detailing=<string>","description":"<p><strong>Query Params:</strong><br />warehouseId - warehouse id, optional<br />groupId - product group id, optional<br />productCode - product code, optional<br />brandId - brand id, optional<br />date - store doc done date up until given date, format ISO 8601 (YYYY-MM-DD), optional<br />detailing - detailing, valid - [\"without\", \"warehouses\", \"cells\"]</p>\n<p><strong>Response Fields:</strong><br />code - Product code<br />name - Product name<br />brand - Product brand/manufacturer<br />product_group - Product group/category<br />reserved - Reserved quantity of the product<br />reservedSum - Total reserved sum/value<br />available - Available quantity in stock<br />productMin - Minimum allowed quantity for purchase/order<br />productMax - Maximum allowed quantity for purchase/order<br />barcode - Product barcode(s), comma-separated<br />price - Product price<br />averageWarehousePrice - Average warehouse price<br />measureUnit - Measurement unit (e.g. шт)<br />quantity - Total quantity of the product (if detailing=\"warehouses\")<br />detailing - Detailing[], detailing=\"cells\" -&gt; DetailingCells[]&gt; - Detailed stock/price in warehouses</p>\n<p><strong>Detailing:</strong><br />name - Warehouse name<br />price - Price per item<br />quantity - Quantity<br />reserved - Reserved quantity<br />reservedSum - Reserved sum/value</p>\n<p><strong>DetailingCells:</strong><br />name - Warehouse name<br />price - Price per item<br />quantity - Quantity</p>\n<h1 id=\"examples\">Examples</h1>\n<p><strong>Request 1:</strong></p>\n<p><a href=\"https://api.carbook.pro/balance_by_products?date=2026-02-11&amp;detailing=without\">https://api.carbook.pro/balance_by_products?date=2026-02-11&amp;detailing=without</a></p>\n<p><strong>Response 1:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"code\": \"0409\",\n        \"name\": \"Колодка гальмівна барабанна\",\n        \"brand\": \"Remsa\",\n        \"product_group\": \"1000000 - Автозапчастини\",\n        \"reserved\": 1,\n        \"reservedSum\": 10,\n        \"available\": 0,\n        \"productMin\": \"\",\n        \"productMax\": \"\",\n        \"barcode\": \"\",\n        \"price\": 10,\n        \"averageWarehousePrice\": 10,\n        \"measureUnit\": \"шт\",\n        \"quantity\": 1\n    },\n    {\n        \"code\": \"010203\",\n        \"name\": \"Хладагенти (фреони) R134A\",\n        \"brand\": \"Akkussan\",\n        \"product_group\": \"1000000 - Автозапчастини\",\n        \"reserved\": 0,\n        \"reservedSum\": 0,\n        \"available\": 98,\n        \"productMin\": \"\",\n        \"productMax\": \"\",\n        \"barcode\": \"\",\n        \"price\": 980,\n        \"averageWarehousePrice\": 10,\n        \"measureUnit\": \"шт\",\n        \"quantity\": 98\n    },\n]\n\n</code></pre>\n<p><strong>Request 2:</strong></p>\n<p><a href=\"https://api.carbook.pro/balance_by_products?detailing=cells\">https://api.carbook.pro/balance_by_products?detailing=cells</a></p>\n<p><strong>Response 2:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"code\": \"0409\",\n        \"name\": \"Колодка гальмівна барабанна\",\n        \"brand\": \"Remsa\",\n        \"product_group\": \"1000000 - Автозапчастини\",\n        \"reserved\": 0,\n        \"reservedSum\": 0,\n        \"available\": 1,\n        \"productMin\": \"\",\n        \"productMax\": \"\",\n        \"barcode\": \"\",\n        \"price\": 10,\n        \"averageWarehousePrice\": 10,\n        \"measureUnit\": \"шт\",\n        \"detailing\": [\n            {\n                \"name\": \"Головний / без комірки\",\n                \"price\": 10,\n                \"quantity\": 1\n            }\n        ]\n    },\n    {\n        \"code\": \"010203\",\n        \"name\": \"Хладагенти (фреони) R134A\",\n        \"brand\": \"Akkussan\",\n        \"product_group\": \"1000000 - Автозапчастини\",\n        \"reserved\": 0,\n        \"reservedSum\": 0,\n        \"available\": 98,\n        \"productMin\": \"\",\n        \"productMax\": \"\",\n        \"barcode\": \"\",\n        \"price\": 980,\n        \"averageWarehousePrice\": 10,\n        \"measureUnit\": \"шт\",\n        \"detailing\": [\n            {\n                \"name\": \"Головний / без комірки\",\n                \"price\": 800,\n                \"quantity\": 80\n            },\n            {\n                \"name\": \"Склад 1 / без комірки\",\n                \"price\": 100,\n                \"quantity\": 10\n            },\n            {\n                \"name\": \"Склад 2 / без комірки\",\n                \"price\": 80,\n                \"quantity\": 8\n            }\n        ]\n    }\n]\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["balance_by_products"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>warehouse id, optional</p>\n","type":"text/plain"},"key":"warehouseId","value":"<string>"},{"description":{"content":"<p>product group id, optional</p>\n","type":"text/plain"},"key":"groupId","value":"<string>"},{"description":{"content":"<p>product code, optional</p>\n","type":"text/plain"},"key":"productCode","value":"<string>"},{"description":{"content":"<p>brand id, optional</p>\n","type":"text/plain"},"key":"brandId","value":"<string>"},{"description":{"content":"<p>store doc done date up until given date, format ISO 8601 (YYYY-MM-DD), optional</p>\n","type":"text/plain"},"key":"date","value":"<string>"},{"description":{"content":"<p>detailing, valid - [\"without\", \"warehouses\", \"cells\"]</p>\n","type":"text/plain"},"key":"detailing","value":"<string>"}],"variable":[]}},"response":[],"_postman_id":"db8951b3-2d89-44ae-becc-4d23280a7667"},{"name":"stock in warehouses","id":"e258bf6e-239e-4508-82e6-5a4bf56a78e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/store_product/stock_in_warehouses?productCode=<string>&brandId=<number>&productId=<number>","description":"<p><strong>Params:</strong><br />productCode - product code, optional<br />brandId - brand id, default - 0, optional<br />productId - product id, optional</p>\n<p>productId and productCode are mutually exclusive<br />At least one of them must be provided</p>\n<p><strong>Response:</strong><br />id - Warehouse id<br />count - Current quantity available in warehouse<br />totalCount - Total quantity in warehouse and across all cells<br />purchasePrice - Average purchase price of the product<br />cellsInfo - Cells info</p>\n<p>batches - List of batches</p>\n<p><strong>Batch:</strong><br />quantity - Quantity in this batch<br />purchasePrice - Purchase price per unit in this batch</p>\n<p><strong>CellsInfo:</strong><br />cellAddress - Cell name<br />count - Quantity in this cell<br />price - Price in this cell<br />batches: - Batches in this cell</p>\n<h1 id=\"examples\">Examples</h1>\n<p><strong>Request 1/2:</strong></p>\n<p><a href=\"https://api.carbook.pro/store_product/stock_in_warehouses?productId=252640\">https://api.carbook.pro/store_product/stock_in_warehouses?productId=252640</a><br />OR<br /><a href=\"https://api.carbook.pro/store_product/stock_in_warehouses?productCode=00288849&amp;brandId=586\">https://api.carbook.pro/store_product/stock_in_warehouses?productCode=00288849&amp;brandId=586</a></p>\n<p><strong>Response 1/2:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n    {\n        \"id\": 2827,\n        \"count\": 72,\n        \"totalCount\": 162,\n        \"purchasePrice\": 42.638888888888886,\n        \"batches\": [\n            {\n                \"quantity\": 30,\n                \"purchasePrice\": 25\n            },\n            {\n                \"quantity\": 20,\n                \"purchasePrice\": 50\n            },\n            {\n                \"quantity\": 22,\n                \"purchasePrice\": 60\n            }\n        ],\n        \"cellsInfo\": [\n            {\n                \"cellAddress\": \"2827.A.A\",\n                \"count\": 39,\n                \"price\": 36,\n                \"batches\": [\n                    {\n                        \"quantity\": 10,\n                        \"purchasePrice\": 30\n                    },\n                    {\n                        \"quantity\": 15,\n                        \"purchasePrice\": 40\n                    }\n                ]\n            },\n            {\n                \"cellAddress\": \"2827.A.C\",\n                \"count\": 1,\n                \"price\": 0,\n                \"batches\": []\n            },\n            {\n                \"cellAddress\": \"2827.B.C\",\n                \"count\": 50,\n                \"price\": 35,\n                \"batches\": [\n                    {\n                        \"quantity\": 50,\n                        \"purchasePrice\": 35\n                    }\n                ]\n            }\n        ]\n    },\n    {\n        \"id\": 3556,\n        \"count\": 100,\n        \"totalCount\": 100,\n        \"purchasePrice\": 10,\n        \"batches\": [\n            {\n                \"quantity\": 100,\n                \"purchasePrice\": 10\n            }\n        ],\n        \"cellsInfo\": []\n    },\n    {\n        \"id\": 3557,\n        \"count\": 0,\n        \"totalCount\": 0,\n        \"purchasePrice\": 0,\n        \"batches\": [],\n        \"cellsInfo\": []\n    },\n    {\n        \"id\": 4228,\n        \"count\": 0,\n        \"totalCount\": 1,\n        \"purchasePrice\": 0,\n        \"batches\": [],\n        \"cellsInfo\": [\n            {\n                \"cellAddress\": \"4228.A.C\",\n                \"count\": 1,\n                \"price\": 0,\n                \"batches\": []\n            }\n        ]\n    }\n]\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["store_product","stock_in_warehouses"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>product code, optional</p>\n","type":"text/plain"},"key":"productCode","value":"<string>"},{"description":{"content":"<p>brand id, default - 0, optional</p>\n","type":"text/plain"},"key":"brandId","value":"<number>"},{"description":{"content":"<p>product id, optional</p>\n","type":"text/plain"},"key":"productId","value":"<number>"}],"variable":[]}},"response":[],"_postman_id":"e258bf6e-239e-4508-82e6-5a4bf56a78e0"}],"id":"3c5a8556-4111-4a69-a971-bf9cad6e6629","_postman_id":"3c5a8556-4111-4a69-a971-bf9cad6e6629","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}}},{"name":"API Каси та заборгованість","item":[{"name":"suppliers credit","id":"8beace27-800e-4c1e-bf8c-f8f2dc96e50c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/business_suppliers_dept?filters%5Bquery%5D=<string>&filters%5BwithoutZeroDept%5D=<bool>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["business_suppliers_dept"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>Find by supplier name, supplier phone, supplierId</p>\n","type":"text/plain"},"key":"filters%5Bquery%5D","value":"<string>"},{"description":{"content":"<p>response without zero dept</p>\n","type":"text/plain"},"key":"filters%5BwithoutZeroDept%5D","value":"<bool>"}],"variable":[]}},"response":[],"_postman_id":"8beace27-800e-4c1e-bf8c-f8f2dc96e50c"},{"name":"cash orders","id":"2f91d541-2483-42f1-ac54-685d2441548d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/cash_orders?startDate=<string>&endDate=<string>&sortField=<string>&sortOrder=<string>&page=<number>&pageSize=<number>&cashBoxId=<number>&query=<string>&storeDocId=<number>&clientId=<number>&employeeId=<number>&orderId=<number>&businessSupplierId=<number>&analyticsUniqueId=<number>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["cash_orders"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"startDate","value":"<string>"},{"description":{"content":"<p>ISO date</p>\n","type":"text/plain"},"key":"endDate","value":"<string>"},{"description":{"content":"<p>sort by id or datetime</p>\n","type":"text/plain"},"key":"sortField","value":"<string>"},{"description":{"content":"<p>sort by asc or desc</p>\n","type":"text/plain"},"key":"sortOrder","value":"<string>"},{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>number of page size</p>\n","type":"text/plain"},"key":"pageSize","value":"<number>"},{"description":{"content":"<p>cashbox id</p>\n","type":"text/plain"},"key":"cashBoxId","value":"<number>"},{"description":{"content":"<p>find by client name, client surname, client phone, vehicle vin, vehicle number, supplier name, employee name, employee surname, employee email, employee phone</p>\n","type":"text/plain"},"key":"query","value":"<string>"},{"description":{"content":"<p>store doc id</p>\n","type":"text/plain"},"key":"storeDocId","value":"<number>"},{"description":{"content":"<p>client id</p>\n","type":"text/plain"},"key":"clientId","value":"<number>"},{"description":{"content":"<p>employee id</p>\n","type":"text/plain"},"key":"employeeId","value":"<number>"},{"description":{"content":"<p>order id</p>\n","type":"text/plain"},"key":"orderId","value":"<number>"},{"description":{"content":"<p>supplier id</p>\n","type":"text/plain"},"key":"businessSupplierId","value":"<number>"},{"description":{"content":"<p>analytic Id</p>\n","type":"text/plain"},"key":"analyticsUniqueId","value":"<number>"}],"variable":[]}},"response":[],"_postman_id":"2f91d541-2483-42f1-ac54-685d2441548d"},{"name":"clients depts","id":"b1470527-3565-4584-b60c-e851efd74937","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.carbook.pro/report/client_debts?filters%5Bpage%5D=<number>&filters%5BpageSize%5D=<number>&filters%5Bquery%5D=<string>&filters%5BoverdueOnly%5D=<bool>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}},"urlObject":{"protocol":"https","path":["report","client_debts"],"host":["api","carbook","pro"],"query":[{"description":{"content":"<p>number of page</p>\n","type":"text/plain"},"key":"filters%5Bpage%5D","value":"<number>"},{"description":{"content":"<p>number of page size</p>\n","type":"text/plain"},"key":"filters%5BpageSize%5D","value":"<number>"},{"description":{"content":"<p>find by client name, client surname, client phone</p>\n","type":"text/plain"},"key":"filters%5Bquery%5D","value":"<string>"},{"description":{"content":"<p>return overdue only</p>\n","type":"text/plain"},"key":"filters%5BoverdueOnly%5D","value":"<bool>"}],"variable":[]}},"response":[],"_postman_id":"b1470527-3565-4584-b60c-e851efd74937"}],"id":"d325b63b-cfc3-4138-87ed-80efcab56dab","_postman_id":"d325b63b-cfc3-4138-87ed-80efcab56dab","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","id":"efee73df-6046-4cc2-9549-ae0566ad4cd9","name":"APICarbook","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"92567e18-45cf-4786-a8b2-2758d4833d15","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"be07ecc6-587a-4abc-a31f-292b0ff010c7","type":"text/javascript","exec":[""]}}]}