{"info":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","description":"<html><head></head><body><p>Essa API tem como objetivo habilitar a integração da BEMP com Totens de autoatendimento</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10274665","collectionId":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","publishedId":"2sBXqNneU7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-11T20:06:27.000Z"},"item":[{"name":"Clientes - Consultar cliente","id":"e31fd646-18d0-4320-b522-1544d97f8e17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/customers?phone=+555199999999","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["customers"],"host":[""],"query":[{"key":"phone","value":"+555199999999"}],"variable":[]}},"response":[],"_postman_id":"e31fd646-18d0-4320-b522-1544d97f8e17"},{"name":"Clientes - Criar novo cliente","id":"d1086fb6-9997-4c52-8e08-b30d5085a722","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Naudirene dos Neis\",\n  \"phone\": \"+55 51 99911-1125\",\n  \"email\": \"naudirenedosneis@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"/customers","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["customers"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"d1086fb6-9997-4c52-8e08-b30d5085a722"},{"name":"Clientes - Listar agendamentos de um cliente","id":"f631d205-b303-4ddb-9cb3-d0a1fd17fa58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"statuses\": [\"canceled\", \"open\"]\n}","options":{"raw":{"language":"json"}}},"url":"/customers/:customer_id/schedules","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["customers",":customer_id","schedules"],"host":[""],"query":[],"variable":[{"type":"any","value":"1161878","key":"customer_id"}]}},"response":[],"_postman_id":"f631d205-b303-4ddb-9cb3-d0a1fd17fa58"},{"name":"Clientes - Listar comandas do cliente","id":"79b1e9b3-f9fd-476c-94df-951caa2715fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"statuses\": [\"canceled\", \"open\"]\n}","options":{"raw":{"language":"json"}}},"url":"/customers/:customer_id/orders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["customers",":customer_id","orders"],"host":[""],"query":[],"variable":[{"type":"any","value":"1161878","key":"customer_id"}]}},"response":[],"_postman_id":"79b1e9b3-f9fd-476c-94df-951caa2715fa"},{"name":"Profissionais - Listar profissionais","id":"9f294e60-2d9e-4082-ab4d-b55752ba5a93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/professionals?service_ids[]=1759","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["professionals"],"host":[""],"query":[{"key":"service_ids[]","value":"1759"}],"variable":[]}},"response":[],"_postman_id":"9f294e60-2d9e-4082-ab4d-b55752ba5a93"},{"name":"Serviços - Listar serviços","id":"249f048a-92c0-419a-8b94-11f41ef5f864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"professional_id\": 9\n}","options":{"raw":{"language":"json"}}},"url":"/services","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["services"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"249f048a-92c0-419a-8b94-11f41ef5f864"},{"name":"Agenda - Listar horários disponíveis","id":"4be8524f-7c80-463b-b74c-c8db4922f7a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer totem-1","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"barbershop_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"/available-times?date=2026-05-12&service_ids[]=1759&professional_id=25287","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["available-times"],"host":[""],"query":[{"key":"date","value":"2026-05-12"},{"key":"service_ids[]","value":"1759"},{"key":"professional_id","value":"25287"}],"variable":[]}},"response":[],"_postman_id":"4be8524f-7c80-463b-b74c-c8db4922f7a8"},{"name":"Agenda - Criar agendamento","id":"bb08727f-e90e-4f31-a606-11e2a84d40cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"/schedules","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["schedules"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"bb08727f-e90e-4f31-a606-11e2a84d40cc"},{"name":"Agenda - Cancelar agendamento","id":"acb845d4-08f7-482e-82c1-f702a709d26b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Naudirene dos Neis3\",\n  \"phone\": \"+55 51 99911-1123\"\n}","options":{"raw":{"language":"json"}}},"url":"/schedules/:schedule_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["schedules",":schedule_id"],"host":[""],"query":[],"variable":[{"type":"any","value":"121","key":"schedule_id"}]}},"response":[],"_postman_id":"acb845d4-08f7-482e-82c1-f702a709d26b"},{"name":"Agenda - Alterar status (check-in)","id":"fa2701f7-07c9-4b13-a60e-42e0d82f5ed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Naudirene dos Neis3\",\n  \"phone\": \"+55 51 99911-1123\"\n}","options":{"raw":{"language":"json"}}},"url":"/schedules/:schedule_id/inservice","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["schedules",":schedule_id","inservice"],"host":[""],"query":[],"variable":[{"type":"any","value":"121","key":"schedule_id"}]}},"response":[],"_postman_id":"fa2701f7-07c9-4b13-a60e-42e0d82f5ed3"},{"name":"Comandas - Pagar comanda (OS)","id":"26fa5856-2510-4d3d-a5b8-3f474dde32a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payments\": [\n      {\n        \"value\": 100.00,\n        \"method\": \"credit_card\",\n        \"brand\": \"visa\",\n        \"installments\": 2,\n        \"transaction_id\": \"TXN123\",\n        \"transaction_number\": \"NSU456\",\n        \"transaction_date\": \"2026-05-20T14:30:00\"\n      },\n      {\n        \"value\": 50.00,\n        \"method\": \"pix\",\n        \"transaction_id\": \"PIX001\",\n        \"transaction_number\": \"PIX001\",\n        \"transaction_date\": \"2026-05-20T14:30:00\"\n      }\n    ]\n  }","options":{"raw":{"language":"json"}}},"url":"/orders/:order_id/payment","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","id":"ab928399-d7e6-4a5c-b4af-c84bb814bd10","name":"[BEMP] Totem API","type":"collection"}},"urlObject":{"path":["orders",":order_id","payment"],"host":[""],"query":[],"variable":[{"type":"any","value":"11861289","key":"order_id"}]}},"response":[],"_postman_id":"26fa5856-2510-4d3d-a5b8-3f474dde32a8"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"ca02e2f8-0cd4-4f59-b9e6-13a04902f5b2","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"9eeaca23-5da5-4ddb-b9c5-9eee0a0e559f","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"url","value":""}]}