{"info":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","description":"<html><head></head><body><p><strong>Olá,</strong></p>\n<p><strong>Seja bem-vindo ao site de documentação pública da Troque &amp; Devolva!</strong><br>Nossa equipe está à disposição para apoiar você em todas as etapas do seu desenvolvimento.</p>\n<p>Caso necessite de assistência, não hesite em <a href=\"https://app.pipefy.com/public/form/3ikOeJgT\">abrir um chamado de suporte</a>.</p>\n<p>A autenticação é realizada através do header <strong>store_token</strong> que deve ser enviado em todas as requisições. O token pode ser obtido dentro do painel Troque &amp; Devolva, na aba \"integrações\".</p>\n<p>O endpoint da nossa api é: <a href=\"https://api.troqueedevolva.com.br\">https://api.troqueedevolva.com.br</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3840761","collectionId":"a60f2c94-6892-49bc-8ca9-a8b019625730","publishedId":"2sAXqqeixv","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0783CB"},"publishDate":"2024-09-18T18:05:14.000Z"},"item":[{"name":"Solicitações","item":[{"name":"Reembolsar - Finalizar","item":[{"name":"Em Dinheiro","id":"61506960-e5c4-483d-84ca-f815ecf5b6fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"method\": \"money\",\r\n    \"amount\": 59.8,\r\n    //\"paid_at\": \"2024-07-29T21:46\", //Para quando não for agendamento de pagamento\r\n    \"payment_due_date\": \"2024-07-29T21:46\", //Para quando for um agendamento\r\n    \"money\": {\r\n        \"bank\": \"Inter\",\r\n        \"account_pix_type\": \"cpf\",\r\n        \"account_pix_key\": \"000.000.000-00\",\r\n        \"comment\": \"Comentário opcional.\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/refund","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","refund"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"61506960-e5c4-483d-84ca-f815ecf5b6fc"},{"name":"Em Vale-Trocas","id":"aa93e1a5-d713-4a81-a666-635a030fa7b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"method\": \"voucher\",\r\n    \"amount\": 199.9,\r\n    \"paid_at\": \"2024-07-29T21:46\",\r\n    \"voucher\": {\r\n        \"code\": \"ABCD\",\r\n        \"valid_until\": \"2024-07-26T13:11\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/refund","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","refund"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa93e1a5-d713-4a81-a666-635a030fa7b4"},{"name":"Cartão de Crédito","id":"3af880cc-ed1c-4ae5-b1ba-c18c8deebcab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"method\": \"credit_card\",\r\n    \"amount\": 199.9,\r\n    \"paid_at\": \"2024-07-22T11:21\",\r\n    \"comment\":\"Comentário\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/refund","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","refund"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3af880cc-ed1c-4ae5-b1ba-c18c8deebcab"},{"name":"Por Produto","id":"60c93e32-3514-4d4e-a2d5-dd43a10b5382","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"method\": \"product\",\r\n    \"amount\": 59.8,\r\n    \"payment_due_date\": \"2024-07-18T21:46\",\r\n    \"product\": {\r\n        \"carrier\":\"Correios\", \r\n        \"tracking_code\": \"AA123456789BR\", \r\n        \"tracking_url\":\"https://use.linkderastreio.com.br/kkk\",\r\n        \"comment\": \"Comentário opcional.\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/refund","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","refund"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"60c93e32-3514-4d4e-a2d5-dd43a10b5382"},{"name":"Cadastrar dados PIX","id":"77bc6151-b481-44cd-a15a-4008bf56d2a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"bank\": \"Inter\",\r\n    \"account_owner\": \"Nome do Cliente\",\r\n    \"account_owner_document\": \"00044455566\",\r\n    \"account_pix_type\": \"cpf\",\r\n    \"account_pix_key\": \"000.000.000.00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/add-bank-account","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","add-bank-account"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"77bc6151-b481-44cd-a15a-4008bf56d2a3"},{"name":"Perguntar conta bancária","id":"d93dc9e1-46f5-4a3b-9a7d-ae5cbee4c042","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"6f1ac555eb0f6b7be14d0496546062a951023090361d9ce381bdd6e3d6525c1e","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/666092461cf33b0011750eac/ask-bank-account","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","666092461cf33b0011750eac","ask-bank-account"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d93dc9e1-46f5-4a3b-9a7d-ae5cbee4c042"}],"id":"3ce28759-ebfe-4e6c-a179-0642dd26704e","_postman_id":"3ce28759-ebfe-4e6c-a179-0642dd26704e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}}},{"name":"Criar uma solicitação","id":"53b8b77e-9c16-4c75-a1a9-fd16c94e673b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"order\": {\r\n        \"order_number\": \"1111\",\r\n        \"buyer_email\": \"email@docliente.com.br\"\r\n    },\r\n    \"request\": {\r\n        \"items\": [\r\n            {\r\n                \"sku\": \"SKU1\",\r\n                \"image\": \"https://troqueedevolva.com.br/test-store/sandalia.webp\",\r\n                \"link\": \"link\",\r\n                \"name\": \"Sandália de salto Anabela 36\",\r\n                \"quantity\": 1,\r\n                \"price\": \"199.90\",\r\n                \"questions\": [\r\n                    {\r\n                        \"options\": [\r\n                            \"Ficou grande\",\r\n                            \"Ficou pequeno\",\r\n                            \"Não gostei\",\r\n                            \"Não vestiu bem\",\r\n                            \"Autorizar automático\"\r\n                        ],\r\n                        \"required\": true,\r\n                        \"_id\": \"661180a35c83aa0011378700\",\r\n                        \"area\": \"exchange\",\r\n                        \"type\": \"select\",\r\n                        \"question\": \"Qual o motivo da troca?\",\r\n                        \"value\": \"Autorizar automático\"\r\n                    }\r\n                ],\r\n                \"selected\": true,\r\n                \"type\": \"exchange\",\r\n                \"full_filled\": true,\r\n                \"requestQuantity\": 1\r\n            }\r\n        ],\r\n        \"payment_preference\": {\r\n            \"type\": \"voucher\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"53b8b77e-9c16-4c75-a1a9-fd16c94e673b"},{"name":"Listar solicitações","id":"e49f220e-9d0a-492c-80a7-5b3b5c428641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request?order.buyer.name=nome do cliente","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request"],"host":["{{endpoint}}"],"query":[{"key":"order.buyer.name","value":"nome do cliente"}],"variable":[]}},"response":[],"_postman_id":"e49f220e-9d0a-492c-80a7-5b3b5c428641"},{"name":"Detalhar uma requisição","id":"8d54c1b1-ac20-4e89-aa4f-2aa3b66768d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"{{store_token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d54c1b1-ac20-4e89-aa4f-2aa3b66768d9"},{"name":"Cotar Frete Requisição","id":"a0ffb850-4626-4caf-9705-d91c27e88c62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"{{store_token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/return-quotes","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","return-quotes"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0ffb850-4626-4caf-9705-d91c27e88c62"},{"name":"Editar solicitação","id":"1ba23d78-8ddf-4ea3-801e-212b0129f759","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"order\": {\r\n        \"buyer\": {\r\n            \"address\": {\r\n                \"number\": \"111\",\r\n                \"address2\": \"casa C\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ba23d78-8ddf-4ea3-801e-212b0129f759"},{"name":"Criar um comentário","id":"e1f49a29-2210-4e50-b465-38573de80efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"user\": \"joão\", \r\n    \"comment\": \"Estou comentando aqui para testar.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","comments"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1f49a29-2210-4e50-b465-38573de80efa"},{"name":"Anexar link de arquivo a uma solicitação","id":"48d4b8b8-17c4-41aa-9f30-cae0dee410e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"files\": [\r\n        {\r\n            \"url\": \"URL-DO-ARQUIVO\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{store_token}}/attachments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{store_token}}","attachments"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"48d4b8b8-17c4-41aa-9f30-cae0dee410e9"},{"name":"Autorizar postagem","id":"fed63cc0-f9f7-4534-8cdc-7655e3664392","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"returnscenter_id\": \"6676f7534922ff0011bfff32\",\r\n    \"carrier_id\": \"66d8fd899541f70010f8c830\",\r\n    \"fields\": {\r\n        \"validade\": \"7\", \r\n        \"codigo_servico\":\"pac\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/authorize","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","authorize"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fed63cc0-f9f7-4534-8cdc-7655e3664392"},{"name":"Emitir Vale-Trocas integrado na Plataforma","id":"5f8df1ce-933d-40be-bdcb-592dc33da2bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"user\": \"ted-bot\",\r\n    \"amount\": 100,\r\n    \"valid_until\": \"2024-09-30\",\r\n    \"free_shipping\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/create-voucher","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","create-voucher"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f8df1ce-933d-40be-bdcb-592dc33da2bb"},{"name":"Cancelar a autorização de postagem","id":"6f900dbf-6d52-43db-bc0b-95630f978d20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"reason\": \"O motivo do cancelamento, da rejeição.\"}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/cancel","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","cancel"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f900dbf-6d52-43db-bc0b-95630f978d20"},{"name":"Registrar Entrega","id":"bf3090e4-d86f-4303-871c-d4d83f4017c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"authorization_id\": \"ID-DA-AUTORIZACAO\",\r\n    \"delivered_at\": \"2024-07-23T12:17\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{store_token}}/mark-as-delivered","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{store_token}}","mark-as-delivered"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf3090e4-d86f-4303-871c-d4d83f4017c5"},{"name":"Registrar Postagem","id":"70ec484f-57ec-4f75-a70b-6e0404d8c507","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"posted_at\": \"2024-09-05T13:28\",\r\n    \"tracking_code\": \"AA12345678BR\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/mark-as-posted","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","mark-as-posted"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"70ec484f-57ec-4f75-a70b-6e0404d8c507"},{"name":"Rejeitar solicitação","id":"7051be1d-eba7-4cfd-b223-792f5764fb8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"message\":\"Sua solicitação não poderá ser atendida. A entrega foi realizada dia 13/01/2022, motivo pelo qual o prazo legal de 7 (sete) dias para devolução está vencido.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/request/{{requestId}}/reject","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"port":"8080","path":["request","{{requestId}}","reject"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7051be1d-eba7-4cfd-b223-792f5764fb8b"},{"name":"Arquivar solicitação","id":"5f43e5a7-decf-496b-b035-89d3649dcc4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{store_token}}/archive","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{store_token}}","archive"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f43e5a7-decf-496b-b035-89d3649dcc4e"},{"name":"Enviar uma pergunta ao cliente","id":"1555b05e-7ea8-42f8-a24c-c36329949167","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"question\": \"Por favor, precisamos que você nos envie fotos do produto para seguir com a sua solicitação.\",\r\n    \"expectAttachments\": true //Se deve exigir anexos na resposta\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/ask-for-customer","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","ask-for-customer"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1555b05e-7ea8-42f8-a24c-c36329949167"},{"name":"Registrar resposta de NPS","id":"c62cd1fb-bdb8-4c02-9389-93ae5b0d7c23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"score\": 5,\r\n    \"comment\": \"Comentário, se existir na criação.\",\r\n    \"stage\":\"after_request\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/add-customer-nps","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","add-customer-nps"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c62cd1fb-bdb8-4c02-9389-93ae5b0d7c23"},{"name":"Atualizar NPS","id":"2ba72c93-09c3-4e84-8e2f-cc501d1f6e30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"score\": 7,\r\n    \"comment\": \"Comentário,alterado.\",\r\n    \"stage\":\"after_request\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/request/{{requestId}}/add-customer-nps/ID-DO-COMENTARIO","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["request","{{requestId}}","add-customer-nps","ID-DO-COMENTARIO"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ba72c93-09c3-4e84-8e2f-cc501d1f6e30"}],"id":"e5eaa28b-4cdb-4ed9-b1db-f993e7cec721","_postman_id":"e5eaa28b-4cdb-4ed9-b1db-f993e7cec721","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}}},{"name":"Configurações da loja","item":[{"name":"/prefilled-responses","item":[{"name":"Criar resposta pré-definida","id":"ab12e057-0c00-45c9-9afb-c3f3f7efad34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Fora do prazo legal 7 dias\",\r\n    \"content\": \"Seu pedido está fora do prazo legal de 7 dias para devolução.\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/prefilled-responses","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","prefilled-responses"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab12e057-0c00-45c9-9afb-c3f3f7efad34"},{"name":"Editar resposta","id":"11232af0-dcdf-4b1e-9c0e-ec736e114d33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Exceceu 7 dias\",\r\n    \"content\": \"Seu pedido está fora do prazo legal de 7 dias para devolução.\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/prefilled-responses/{{prefilledResponseId}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","prefilled-responses","{{prefilledResponseId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"11232af0-dcdf-4b1e-9c0e-ec736e114d33"},{"name":"Deletar","id":"0ab067d2-2985-4114-883f-ed32cb17e396","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/prefilled-responses/{{prefilledResponseId}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","prefilled-responses","{{prefilledResponseId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ab067d2-2985-4114-883f-ed32cb17e396"},{"name":"Listar","id":"c7c57f76-cd89-499a-98d8-11ffa0a5cca1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/prefilled-responses","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","prefilled-responses"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7c57f76-cd89-499a-98d8-11ffa0a5cca1"}],"id":"b505bf5d-5e2b-4f0c-95cc-cf231a3c1cf9","description":"<p>São respostas pré-definidas, utilizadas para auxiliar na performance de atendimento.</p>\n","_postman_id":"b505bf5d-5e2b-4f0c-95cc-cf231a3c1cf9","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}}},{"name":"/transactional-email","item":[{"name":"Listar templates configurados","id":"70ef48fb-0212-4e04-9752-69176578a542","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"url":"{{endpoint}}/store/{{storeId}}/transactional-email","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","transactional-email"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"70ef48fb-0212-4e04-9752-69176578a542"},{"name":"Configurar novo template","id":"43cd635e-a53b-4e85-9537-221672c2b11b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"transactional_email_id\": \"6234be5fe412ad49b41bd976\",\r\n    \"subject\": \"Maravilha. Sua solicitação foi recebida e será verificada em breve. Obrigado.\",\r\n    \"html\": \"Conteudo do e-mail da solicitação recebida\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/transactional-email","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","transactional-email"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"43cd635e-a53b-4e85-9537-221672c2b11b"},{"name":"Editar email","id":"cf090ffc-381a-4a6e-b7ef-4d1993fcb5f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"html\": \"Alterado o codigo HTML do e-mail\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/transactional-email/{{transactionalEmailId}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","transactional-email","{{transactionalEmailId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf090ffc-381a-4a6e-b7ef-4d1993fcb5f3"},{"name":"Excluir email","id":"41fcf272-4fe9-4fa4-80ad-40dc129744f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/transactional-email/{{transactionalEmailId}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","transactional-email","{{transactionalEmailId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"41fcf272-4fe9-4fa4-80ad-40dc129744f7"}],"id":"3ede19b7-a9cd-4218-851b-a9fe2d2f49b8","_postman_id":"3ede19b7-a9cd-4218-851b-a9fe2d2f49b8","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}}},{"name":"/returns-center","item":[{"name":"Listar endereços para devolução","id":"86549bba-52e6-4ff4-8487-41d87d9ffd0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"url":"{{endpoint}}/store/{{store_id}}/returns-center","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{store_id}}","returns-center"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"86549bba-52e6-4ff4-8487-41d87d9ffd0c"},{"name":"Cadastrar novo endereço","id":"8c2b0d69-ef6f-4d4f-90af-7712668d6f81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"c6f2e59726a58e9442d2a9b5b4fde7a4e0c51ae96f8694eeb060bdc0273213b3","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"address_identification\": \"Teste de um endereço\"\r\n   \r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/returns-center","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","returns-center"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c2b0d69-ef6f-4d4f-90af-7712668d6f81"},{"name":"Editar endereço de devolução","id":"c7966cf7-0a6c-4f6e-a738-5aaad69bea16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"allowed_states\": [\"PR\"], \r\n    \"personal_return_authorization\": 1, \r\n    \"primary\":1, \r\n    \"address_identification\": \"Unidade Curitiba - Atende Sul (RS,SC,PR)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{store_id}}/returns-center/{{return_center_id}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{store_id}}","returns-center","{{return_center_id}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7966cf7-0a6c-4f6e-a738-5aaad69bea16"},{"name":"Excluir endereço de devolução","id":"e0d1ca91-9030-4aa1-879d-584fb344f9d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"store_token","value":"c6f2e59726a58e9442d2a9b5b4fde7a4e0c51ae96f8694eeb060bdc0273213b3","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/returns-center/{{returnCenterId}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","returns-center","{{returnCenterId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0d1ca91-9030-4aa1-879d-584fb344f9d4"}],"id":"d34960af-9d83-4812-a487-3d520921286b","_postman_id":"d34960af-9d83-4812-a487-3d520921286b","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}}},{"name":"/dashboard-graphics","item":[{"name":"Requisitar dados","id":"04954e41-6ca3-4bbc-9c37-b4caf258e2f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"url":"{{endpoint}}/store/{{storeId}}/dashboard-graphics","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","dashboard-graphics"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"04954e41-6ca3-4bbc-9c37-b4caf258e2f9"},{"name":"Contar solicitações por data","id":"8f9823ab-942a-45e8-b654-2a900d7404a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/requests-count-by-date?initial_date=2024-07-01&final_date=2024-07-31","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","requests-count-by-date"],"host":["{{endpoint}}"],"query":[{"key":"initial_date","value":"2024-07-01"},{"key":"final_date","value":"2024-07-31"}],"variable":[]}},"response":[],"_postman_id":"8f9823ab-942a-45e8-b654-2a900d7404a0"}],"id":"6ef7244a-5ae5-4bde-b993-c1709f9ee527","_postman_id":"6ef7244a-5ae5-4bde-b993-c1709f9ee527","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}}},{"name":"/users","item":[{"name":"Criar usuário","id":"9742f43e-70db-4949-8a1d-268af712b084","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"3de56f885da4b07ee88ef502e147555a552b4e65f9fd7c25b7dc681f1d8a7587","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"João Silva\",\r\n  \"email\": \"joao.silva@example.com\",\r\n  \"password\": \"senhaSegura123\",\r\n  \"permissions\": [\"read\", \"write\"]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/622a4d09452df7133ccb644b/users","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","622a4d09452df7133ccb644b","users"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9742f43e-70db-4949-8a1d-268af712b084"},{"name":"Editar","id":"4894b3bd-a249-4ab6-83b8-c49466dac17b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"3de56f885da4b07ee88ef502e147555a552b4e65f9fd7c25b7dc681f1d8a7587","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Jose\",\r\n  \"email\": \"meu@usuario.com.br\",\r\n  \"password\": \"123\",\r\n  \"permissions\": []\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/622a4d09452df7133ccb644b/users/6608bbccc3ac93462804c965","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","622a4d09452df7133ccb644b","users","6608bbccc3ac93462804c965"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4894b3bd-a249-4ab6-83b8-c49466dac17b"},{"name":"Excluir","id":"9951c006-ad8a-4433-ace9-5509fd84ac00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"store_token","value":"3de56f885da4b07ee88ef502e147555a552b4e65f9fd7c25b7dc681f1d8a7587","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/622a4d09452df7133ccb644b/users/6608baadd16aba0648608b51","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","622a4d09452df7133ccb644b","users","6608baadd16aba0648608b51"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9951c006-ad8a-4433-ace9-5509fd84ac00"},{"name":"Listar","id":"416f8720-f234-452d-bdd0-2a82beb6b430","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"3de56f885da4b07ee88ef502e147555a552b4e65f9fd7c25b7dc681f1d8a7587","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/622a4d09452df7133ccb644b/users","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","622a4d09452df7133ccb644b","users"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"416f8720-f234-452d-bdd0-2a82beb6b430"}],"id":"860b9208-14f3-4900-9ec2-ca5b577162b9","_postman_id":"860b9208-14f3-4900-9ec2-ca5b577162b9","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}}},{"name":"/questions","item":[{"name":"Criar uma questão","id":"6522f9ae-c221-4863-ba2f-edf85bf356d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"sort_id\": 2,\r\n  \"area\": \"refund\",\r\n  \"type\": \"select\",\r\n  \"question\": \"Qual o método de reembolso preferido?\",\r\n  \"options\": [\"Crédito na loja\", \"Reembolso no cartão\", \"Depósito em conta\"]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/questions","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","questions"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6522f9ae-c221-4863-ba2f-edf85bf356d0"},{"name":"Editar","id":"3b8bd39b-be98-4dc7-82e5-8afc46381fef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n \"question\": \"Por favor, se você já escolheu o novo produto, poderia nos informar o Link dele?\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/questions/{{questionId}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","questions","{{questionId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b8bd39b-be98-4dc7-82e5-8afc46381fef"},{"name":"Excluir","id":"46f32cd3-9796-42ea-b56b-0bd037de785b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{storeId}}/questions/{{questionId}}","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{storeId}}","questions","{{questionId}}"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"46f32cd3-9796-42ea-b56b-0bd037de785b"},{"name":"Listar perguntas da loja","id":"611932bf-fba3-499b-b104-a362740a78c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"store_token","value":"3de56f885da4b07ee88ef502e147555a552b4e65f9fd7c25b7dc681f1d8a7587","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/store/{{store_token}}/questions","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","{{store_token}}","questions"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"611932bf-fba3-499b-b104-a362740a78c6"}],"id":"9d75c72f-184c-4cd8-a9de-063c75d47861","_postman_id":"9d75c72f-184c-4cd8-a9de-063c75d47861","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}}},{"name":"Storage","item":[{"name":"Upload de arquivos no storage da loja","id":"4baedf76-8b33-4fb6-8bdb-9568970f72fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"files","type":"file","value":null},{"key":"campo1","value":"campo","type":"text"},{"key":"campo2","value":"campo2","type":"text"}]},"url":"{{endpoint}}/store/storage","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}},"urlObject":{"path":["store","storage"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4baedf76-8b33-4fb6-8bdb-9568970f72fa"}],"id":"80c01044-a945-4bc8-8e11-e7082e9357e2","_postman_id":"80c01044-a945-4bc8-8e11-e7082e9357e2","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90","id":"bf053830-c641-4fbb-bfe2-9117973caf90","name":"Configurações da loja","type":"folder"}}}],"id":"bf053830-c641-4fbb-bfe2-9117973caf90","description":"<p>Busca dados e realiza ações de configuração da sua loja, dentro da Troque &amp; Devolva</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"1e8a8f01-6eb5-4216-a114-29df00f0d61a","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"aff28328-ca91-400c-b511-fff531443bb6","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"bf053830-c641-4fbb-bfe2-9117973caf90"},{"name":"Pedido","item":[{"name":"Buscar pedido na Integração","id":"894c0c4e-5a0e-47b5-85bd-575c3954c047","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\"order_number\":\"1111\",\"buyer_email\":\"email@dopedido.com.br\"}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/order","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["order"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"894c0c4e-5a0e-47b5-85bd-575c3954c047"}],"id":"c556abf7-db83-4014-bc07-8d4ac22baed3","_postman_id":"c556abf7-db83-4014-bc07-8d4ac22baed3","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}}},{"name":"Obter os dados da loja","id":"7a68f872-3cc4-41dd-9ac2-15ecb68e5bcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"store_token","value":"{{store_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/me","description":"<p>Retorna os dados da conta do usuário logado.</p>\n","urlObject":{"path":["me"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a68f872-3cc4-41dd-9ac2-15ecb68e5bcb"},{"name":"Webhook LGPD","id":"4b98e246-2df8-46e9-ad46-c8f40e4e561e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"qualquer\": {\r\n        \"objeto\": \"dentro\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/webhook/lgpd","description":"<p>Para automatizar o recebimento de solicitações da Lei Geral de Proteção de Dados, a Troque &amp; Devolva disponibiliza esta rota pública.</p>\n<p>Qualquer dado enviado para ela, será convertida em e-mail e encaminhada ao nosso setor responsável, que irá apreciar e atender ao pedido com brevidade.</p>\n","urlObject":{"path":["webhook","lgpd"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b98e246-2df8-46e9-ad46-c8f40e4e561e"},{"name":"Criar conta Troque & Devolva","id":"1f5d23e6-0569-43fc-b7fe-eb1e6a4010e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Nome do Contratante\",\r\n    \"email\": \"email@email.com.br\",\r\n    \"mobile\": \"41999999999\",\r\n    \"password\": \"123\",\r\n    \"site\": \"www.site.com.br\",\r\n    \"store_name\": \"Nome da Loja\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/account","description":"<p>Para parceiros que queiram automatizar a criação de uma nova conta Troque &amp; Devolva, iniciando para seus indicados o teste de 14 dias no plano Rocket, disponibilizamos essa rota.</p>\n<p>O cliente receberá e-mails e instruções como se tivesse criado a conta diretamente no site Troque &amp; Devolva.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]},"isInherited":true,"source":{"_postman_id":"a60f2c94-6892-49bc-8ca9-a8b019625730","id":"a60f2c94-6892-49bc-8ca9-a8b019625730","name":"TROQUE & DEVOLVA  - API DE INTEGRAÇÃO","type":"collection"}},"urlObject":{"path":["account"],"host":["{{endpoint}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f5d23e6-0569-43fc-b7fe-eb1e6a4010e7"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"store_token"},{"key":"value","value":"{{store_token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"c1f5ea53-61b3-4a46-a91d-100a7883ac25","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f3a3ea08-fb97-4ce4-bc8d-dd19f29e15ed","type":"text/javascript","exec":[""]}}]}