{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"db99f90b-b861-4625-aafa-421aa76e83ff","name":"Integração Catálogo Mobile com seu Sistema","description":"## Integre o Catálogo Mobile com Seu Sistema\n\n<img src=\"https://catalogomobile.com.br/wp-content/uploads/2025/07/integracao-catalogo-mobile.jpg\">\n\nA integração via webhooks facilita a conexão entre o Catálogo Mobile e o seu sistema de gestão. Com ela, é possível:\n\n- **Enviar produtos** para o Catálogo Mobile, com ou sem fotos (via link ou arquivo).\n    \n- **Atualizar produtos existentes**.\n    \n- **Atualizar o preço** de um produto.\n    \n- **Inserir ou remover produtos em promoção**.\n    \n- **Atualizar o estoque** de produtos.\n    \n- **Receber pedidos** do Catálogo Mobile diretamente no seu sistema via Webhook.\n    \n\nTodas as integrações são feitas utilizando o **id do produto** no seu ERP/Sistema como referência.\n\n---\n\n### Como utilizar a integração por Webhook\n\n1. **Acesse o Catálogo Mobile**\n    \n    - Faça login no painel Webadmin utilizando uma conta de administrador.\n        \n2. **Configure a integração**\n    \n    - Crie uma nova integração no sistema.\n        \n    - Siga as instruções disponíveis em: **Autenticação / Configuração / Instruções**.\n        \n3. **Ative o recebimento de pedidos**\n    \n    - Informe a URL do seu webhook para que o sistema envie automaticamente os pedidos recebidos.\n        \n\nSe precisar de auxílio, entre em contato com nosso suporte pelo WhatsApp.\n\n---\n\n### Fluxo de dados recomendado\n\n> **Cadastrar e alterar os produtos no seu ERP**  \nEnvie as informações para o Catálogo Mobile. \n  \n\nAssim, o cliente visualiza sempre as informações atualizadas e o processo se torna mais simples.\n\n- Caso seu ERP não envie fotos, o cliente pode adicioná-las diretamente no Catálogo Mobile após a sincronização.\n    \n- Possuímos uma função de inserção em massa de imagens, baseada no código do produto e nome do arquivo.\n    \n\nAlém disso, ao cadastrar a URL do seu webhook, os **pedidos realizados no Catálogo Mobile** serão enviados automaticamente ao seu ERP.\n\n---\n\n## Limites de envio e throughput\n\nPara proteger a estabilidade da API, os endpoints de integração possuem limites de requisições por segundo. Ao exceder esses limites, a API retorna HTTP `429` com erro `rate_limited`.\n\n### Webhook genérico\n\nAplica-se aos endpoints:\n\n- `/api/v2/integracao/webhook/adicionarProduto/{integrationCode}/`\n    \n- `/api/v2/integracao/webhook/notificaEstoque/{integrationCode}/`\n    \n- `/api/v2/integracao/webhook/enviaPreco/{integrationCode}/`\n    \n- `/api/v2/integracao/webhook/inserirFotos/{integrationCode}/`\n    \n- `/api/v2/integracao/webhook/detalharProduto/{integrationCode}/{campo}/{valor}/`\n    \n- `/api/v2/integracao/webhook/listarPedidos/{integrationCode}/`\n    \n- `/api/v2/integracao/webhook/status/{request_id}/`\n    \n\nLimites atuais:\n\n| Escopo | Limite |\n| --- | --- |\n| Por URL/path | 3 requisições por segundo |\n| Por origem/IP | 15 requisições por segundo |\n| Burst por origem/IP | até 120 requisições em rajada curta |\n\nObservação: o limite por URL considera o caminho da URL. Query strings, como `?data=YYYY-MM-DD`, não aumentam o limite do endpoint.\n\n### Recomendação de envio\n\nPara evitar HTTP `429`, envie as requisições em ritmo controlado:\n\n- Para o mesmo endpoint e mesma integração: no máximo 3 req/s.\n    \n- Para vários endpoints a partir do mesmo servidor/IP: no máximo 15 req/s no total.\n    \n- Em integrações com grande volume, prefira enviar em fila no ERP, com retry em caso de `429`.\n    \n\nExemplo de resposta ao exceder o limite:\n\n{  \n\"error\": \"rate_limited\",  \n\"message\": \"Limite excedido em /api/v2/integracao/webhook/: 3 requests/s por URL e 15 requests/s por origem.\"  \n}","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"12281977","team":2418189,"collectionId":"db99f90b-b861-4625-aafa-421aa76e83ff","publishedId":"2sB2j3BXbP","public":true,"publicUrl":"https://documenter-api.postman.tech/view/12281977/2sB2j3BXbP","privateUrl":"https://go.postman.co/documentation/12281977-db99f90b-b861-4625-aafa-421aa76e83ff","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"3f51b5"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Veja como integrar seu ERP ao Catálogo Mobile e permitir que seus clientes gerem catálogos em PDF incríveis."},{"name":"title","value":"Integração Catálogo Mobile com ERP"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/b77868ae-eb43-44c3-a5f2-0d6c8b91c4b4/bG9nby1jYXRhbG9nby1zdmcucG5n","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"3f51b5"}},{"name":"light","logo":"https://content.pstmn.io/b77868ae-eb43-44c3-a5f2-0d6c8b91c4b4/bG9nby1jYXRhbG9nby1zdmcucG5n","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"3f51b5"}}]}},"version":"8.12.3","publishDate":"2025-04-29T19:56:16.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Integração Catálogo Mobile com ERP","description":"Veja como integrar seu ERP ao Catálogo Mobile e permitir que seus clientes gerem catálogos em PDF incríveis."},"logos":{"logoLight":"https://content.pstmn.io/b77868ae-eb43-44c3-a5f2-0d6c8b91c4b4/bG9nby1jYXRhbG9nby1zdmcucG5n","logoDark":"https://content.pstmn.io/b77868ae-eb43-44c3-a5f2-0d6c8b91c4b4/bG9nby1jYXRhbG9nby1zdmcucG5n"}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/3d43fffd19ccd4f4c6651e6cf91d86b53b716ef78a168e8e2cc36b89f43cc43f","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sB2j3BXbP"}