{"info":{"_postman_id":"465757e8-4a1e-4af9-8c21-9fc39a5af0be","name":"Integração Salesrun","description":"<html><head></head><body><h2 id=\"introdução\"><strong>Introdução</strong></h2>\n<p>Bem vindo a documentação da API Salesrun. A API Salesrun permite que ERPs parceiros sincronizem cadastros-chave (categorias, produtos, lojas, fornecedores), estoques e movimentações (venda, compra, promoções) para que os algoritmos preditivos da plataforma atuem com dados atualizados e façam recomendações assertivas.</p>\n<blockquote>\n<p>Os recursos estão organizados em REST com respostas JSON e versionamento prefixado (/v1/…). </p>\n</blockquote>\n<p>Ao longo da documentação, mostraremos descrições detalhadas dos métodos que disponibilizamos e também exemplos de aplicações em diversas linguagens de programação.</p>\n<p>Precisa de ajuda ou quer tirar dúvidas? Entre em contato com nosso time de desenvolvimento pelo email <a href=\"https://mailto:devs@salesrun.io\">devs@salesrun.io</a>.</p>\n<p>Antes de começar a integração você precisa definir a linguagem de programação que irá utilizar ou usa em seu sistema. Após definido, selecione no canto superior direito uma linguagem e os exemplos de aplicações nessa linguagem serão mostrados a direita de seus respectivos tópicos. Se a linguagem que você usará não está presente em nossa documentação, entre em contato para que possamos te ajudar a desenvolver a integração e incluirmos aqui futuramente.</p>\n<h2 id=\"token-de-acesso\">Token de acesso</h2>\n<p>Você também precisará de uma conta na plataforma Salesrun e das credenciais de acesso, que por meio do recurso de autenticação, criará um <code>Token</code> de acesso. Ambos, são gerados e enviados por nossa equipe para você. Se ainda não possui, acesse a plataforma em <strong>Minha conta &gt; Credenciais</strong> e crie suas credenciais para dar andamento no processo de integração.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18427149","collectionId":"465757e8-4a1e-4af9-8c21-9fc39a5af0be","publishedId":"2sB2qaiMS8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"025af8"},"publishDate":"2025-05-22T18:33:02.000Z"},"item":[{"name":"Autenticação","item":[{"name":"Criar token de autenticação","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":["body = pm.response.json()\r","pm.environment.set('bearerToken', body.access_token)"],"type":"text/javascript","packages":{}}}],"id":"456e6c87-ad08-433a-9895-f85f6fe54a21","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"<p>Seu client id</p>\n","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"<p>Seu client secret</p>\n","type":"text"}]},"url":"{{base_url}}/oauth/token/","description":"<p>A partir deste recurso, você obtém o token para realizar as requisições no padrão Oauth2. Envie as credenciais <code>client_id</code> e <code>client_secret</code> e o recurso retornará um token válido por 36.000 segundos. Salve este token e utilize nas requisições enviando no padrão <code>Bearer token</code>, e sempre que o token expirar, basta criar um novo token para realizar suas requisições.</p>\n","urlObject":{"path":["oauth","token",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"401f1a7b-cdc2-46f1-958b-1ac0c5c7296f","name":"200 - Ok","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Seu client id","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Seu client secret","type":"text"}]},"url":"https://integration.salesrun.io/oauth/token/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 May 2025 18:24:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"118"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store"},{"key":"Pragma","value":"no-cache"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"RJCbMfERZInmrnzNydIA8hHtgobfbr\",\n    \"expires_in\": 36000,\n    \"token_type\": \"Bearer\",\n    \"scope\": \"read write\"\n}"},{"id":"b46adbcf-86b3-49ad-b545-c0e409f08fa2","name":"401 - Não autorizado","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{client_id}}","description":"Seu client id","type":"text"},{"key":"client_secret","value":"{{client_secret}}","description":"Seu client secret","type":"text"}]},"url":"{{base_url}}/oauth/token/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 May 2025 18:25:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store"},{"key":"Pragma","value":"no-cache"},{"key":"WWW-Authenticate","value":"Bearer, error=\"invalid_client\""},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_client\"\n}"}],"_postman_id":"456e6c87-ad08-433a-9895-f85f6fe54a21"}],"id":"f7c178d4-a6d3-4da6-8e4b-dd0e926219e6","description":"<h2 id=\"integração-manual\">Integração manual</h2>\n<p>Você pode desenvolver manualmente a integração enviando e recebendo requests para nossa API. Recomendamos utilizar um parâmetro para facilitar a troca da URL base de comunicação.</p>\n<p><strong>Nossa URL base para comunicação com a API é:</strong></p>\n<p><code>https://integration.salesrun.io/</code></p>\n<h2 id=\"comunicação\">Comunicação</h2>\n<p>Utilizamos o padrão <code>RESTful</code> para comunicação entre os sistemas e o padrão de mensagens <code>JSON</code> para enviar e receber os dados.</p>\n<p>Todas as respostas inválidas terão um campo de retorno chamado <code>status</code>. Caso o valor seja <code>error</code> um campo chamado <code>description</code> será enviado com a mensagem que indica a falha ocorrida na requisição. O tipo da requisição é importante, já que indica a ação que será executada, portanto:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>GET</td>\n<td>Retorna um registro ou uma lista de registros</td>\n</tr>\n<tr>\n<td>POST</td>\n<td>Insere um registro</td>\n</tr>\n<tr>\n<td>PUT</td>\n<td>Atualiza um registro</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td>Remove um registro</td>\n</tr>\n</tbody>\n</table>\n</div><p>Alguns cadastros poderão ser realizados em lote, ou seja, será possível inserir/atualizar vários registros em apenas uma requisição. Nesse caso o tipo de requisição será sempre <code>POST</code> ou <code>PUT</code> e toda a lista de registros enviados será processada. Nesse processamento os registros que ainda não existirem serão inseridos e os já existentes serão atualizados.</p>\n<h2 id=\"campos-de-configuração\">Campos de configuração</h2>\n<p>O Token de autorização e URL da comunicação que fornecemos precisam ser salvos e utilizados em todas as requests para nossa API. Você precisa ter em seu sistema uma área, ou campos, onde você possa salvar essas duas informações importantes para a integração.</p>\n<h1 id=\"autenticação\">Autenticação</h1>\n<p>Todas as requisições para a API devem ser feitas passando o <code>Bearer token</code> de acesso no header da requisição. O valor desse parâmetro é obtido no recurso de criação do <code>Token</code>, através das credenciais de acesso que serão disponibilizadas por nossa equipe ao parceiro para a realização da integração e testes.</p>\n<p>Para criar suas credenciais, basta acessar sua conta ativa na plataforma Salesrun e ir até <strong>Minha conta &gt; Credenciais</strong> e criar uma nova credencial vinculada à um usuário do tipo <strong>Administrador</strong>.</p>\n<p>Todas as solicitações da API devem ser feitas por meio de <code>HTTPS</code>. Chamadas feitas por <code>HTTP</code> simples falharão. Solicitações de API sem autenticação também falharão.</p>\n<p>Outra coisa importante é saber que cada empresa integrada terá uma conta e suas <code>client_credentials</code> de acesso que também forneceremos posteriormente, que darão também acesso a plataforma.</p>\n<blockquote>\n<p>Atenção: As chaves de API que disponibilizamos possuem muitos privilégios, portanto, mantenha elas em segurança! Não compartilhe em áreas publicamente acessíveis, como GitHub, código do lado do cliente e assim por diante. </p>\n</blockquote>\n<h1 id=\"mensagens-de-erro\">Mensagens de Erro</h1>\n<p>Nós usamos respostas HTTP convencionais para indicar o sucesso ou a falha de uma solicitação da API. Em geral: os códigos no intervalo <code>2xx</code> indicam sucesso. Os códigos <code>4xx</code> indicam um erro que falhou, dadas as informações fornecidas (por exemplo, um parâmetro necessário foi omitido, etc.). Códigos <code>5xx</code> indicam um erro com nossos servidores (raros de acontecer).</p>\n<p>Abaixo está uma lista de retorno de Erros da API Salesrun com suas respectivas descrições:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código</th>\n<th>Descrição</th>\n<th>Solução</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td>Requisição inválida.</td>\n<td>Isto pode ser causado por envio de um JSON inválido no corpo da requisição, fornecendo parâmetros inválidos, etc.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Falha de autenticação.</td>\n<td>Verifique se o token foi informado corretamente no header da requisição. Caso não possua um token, entre em contato pelo e-mail <a href=\"https://mailto:desenvolvimento@abrahao.com.br\"></a><a href=\"https://mailto:devs@salesrun.io\">devs@salesrun.io</a>.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>O recurso requisitado não existe.</td>\n<td>Verifique se o endpoint informado está correto.</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Excesso de requisições.</td>\n<td>A requisição foi rejeitada devido a limitação de taxa. Diminua o intervalo entre as requisições.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Erro interno do servidor.</td>\n<td>Ocorreu um erro desconhecido e nós já fomos alertados. De toda forma, entre em contato pelo e-mail <a href=\"https://mailto:devs@salesrun.io\">devs@salesrun.io</a> para resolvermos o problema o mais rápido possível.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"f7c178d4-a6d3-4da6-8e4b-dd0e926219e6"},{"name":"Catálogo","item":[{"name":"1. Cadastro de Categorias","item":[{"name":"Criar categoria","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"5e0d990d-9d6e-4c8c-9023-4af2d33abd94","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14254\",\n  \"name\": \"Bebidas\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/","urlObject":{"path":["api","v1","category",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4b015122-90e7-48e9-bd85-aeb1cb248cee","name":"201 - Create new category","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14254\",\n  \"name\": \"Bebidas\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/"},"status":"Created","code":201,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Wed, 28 May 2025 20:40:55 GMT"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":null},{"id":"28d122e7-f654-4565-8880-b5fe51c289ec","name":"201 - Create category with parent","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14255\",\n  \"name\": \"Refrigerantes\",\n  \"parent_integration_code\": \"14254\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/"},"status":"Created","code":201,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Wed, 28 May 2025 20:40:55 GMT"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":null},{"id":"6311a632-3869-4701-838a-bd3117b31fcd","name":"406 - Not Acceptable","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14255\",\n  \"name\": \"Refrigerantes\",\n  \"parent_integration_code\": \"14257\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 May 2025 20:34:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"106"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Parent integration code not found\",\n    \"status_code\": 406,\n    \"code\": \"parent_integration_code_not found\"\n}"}],"_postman_id":"5e0d990d-9d6e-4c8c-9023-4af2d33abd94"},{"name":"Atualizar categoria","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a290b0dc-2f1a-49ae-81fc-b63bb9713589","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14254\",\n  \"name\": \"Bebidas\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/","urlObject":{"path":["api","v1","category",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e6daa0b1-256d-4a47-a12a-a1d213e9700d","name":"200 - OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14254\",\n  \"name\": \"Bebidas\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Thu, 29 May 2025 20:52:46 GMT"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":null},{"id":"bbc74745-cc6a-4141-abbd-efde4b9dbeaf","name":"406 - Not Acceptable","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14255\",\n  \"name\": \"Refrigerantes\",\n  \"parent_integration_code\": \"14257\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 May 2025 20:34:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"106"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Parent integration code not found\",\n    \"status_code\": 406,\n    \"code\": \"parent_integration_code_not found\"\n}"}],"_postman_id":"a290b0dc-2f1a-49ae-81fc-b63bb9713589"},{"name":"Obter lista de categorias","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"21f4286e-cba4-45b5-901e-1a10faab99e5","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/","urlObject":{"path":["api","v1","category",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2c79ef81-57e3-4920-9e6d-87cdd5d608ce","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14254\",\n  \"name\": \"Parent category\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 29 May 2025 20:54:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3169"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 32,\n    \"page_size\": 100,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"integration_code\": \"043\",\n            \"name\": \"Bebidas\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"006\",\n            \"name\": \"Livre\",\n            \"parent_integration_code\": null,\n            \"description\": \"\"\n        },\n        {\n            \"integration_code\": \"CT01\",\n            \"name\": \"Top Shampoo\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"515\",\n            \"name\": \"MATERIAL PROMOCIONAL\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"523\",\n            \"name\": \"BRINDES\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"512\",\n            \"name\": \"PIZZAS\",\n            \"parent_integration_code\": null,\n            \"description\": \"\"\n        },\n        {\n            \"integration_code\": \"532\",\n            \"name\": \"MATERIAL DEGUSTACAO\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"300\",\n            \"name\": \"DESPESAS\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"520\",\n            \"name\": \"RESTAURANTE\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"200\",\n            \"name\": \"INSUMOS\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"524\",\n            \"name\": \"Confeitaria\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"506\",\n            \"name\": \"Bebida\",\n            \"parent_integration_code\": null,\n            \"description\": \"\"\n        },\n        {\n            \"integration_code\": \"527\",\n            \"name\": \"Hortifruti\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"505\",\n            \"name\": \"VASILHAME\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"529\",\n            \"name\": \"Padaria\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"507\",\n            \"name\": \"Peixaria\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"530\",\n            \"name\": \"ROTISSERIA\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"517\",\n            \"name\": \"Bebidas\",\n            \"parent_integration_code\": null,\n            \"description\": \"\"\n        },\n        {\n            \"integration_code\": \"521\",\n            \"name\": \"Açougue\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"526\",\n            \"name\": \"HORTIFRUTI\",\n            \"parent_integration_code\": null,\n            \"description\": \"\"\n        },\n        {\n            \"integration_code\": \"504\",\n            \"name\": \"SALSICHARIA\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"511\",\n            \"name\": \"Limpeza\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"501\",\n            \"name\": \"Utilitários\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"528\",\n            \"name\": \"Alimentos\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"522\",\n            \"name\": \"FLORICULTURA\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"513\",\n            \"name\": \"PRODUTO INATIVO NAO USAR\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"516\",\n            \"name\": \"Utilitários\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"519\",\n            \"name\": \"Alimentos\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"510\",\n            \"name\": \"Padaria\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"531\",\n            \"name\": \"Produtos Naturais\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"502\",\n            \"name\": \"Utilitários\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        },\n        {\n            \"integration_code\": \"508\",\n            \"name\": \"Limpeza\",\n            \"parent_integration_code\": null,\n            \"description\": null\n        }\n    ]\n}"}],"_postman_id":"21f4286e-cba4-45b5-901e-1a10faab99e5"}],"id":"ccc9037a-b2fa-49be-9bdc-361cf40b97cc","description":"<h2 id=\"obrigatório--departamentos-→-grupos-→-sub-grupos\">(Obrigatório) — <strong>Departamentos → Grupos → Sub-grupos</strong></h2>\n<p>A árvore de categorias da Salesrun segue a estrutura <strong>“departamento → grupo → sub-grupo”</strong> que muitas redes de varejo usam:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nível</th>\n<th>Papel típico no ERP</th>\n<th>Exemplo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Raiz (nível 0)</strong></td>\n<td><strong>Departamento</strong> – o macro-tema comercial que “manda” no sortimento.</td>\n<td><em>“Bebidas Diárias”</em></td>\n</tr>\n<tr>\n<td><strong>Filho (nível 1)</strong></td>\n<td><strong>Grupo</strong> – divisão principal dentro do departamento.</td>\n<td><em>“Cervejas”</em></td>\n</tr>\n<tr>\n<td><strong>Neto (nível 2)</strong></td>\n<td><strong>Sub-grupo</strong> – refinamento opcional que detalha o grupo.</td>\n<td><em>“Cervejas Sem Álcool”</em></td>\n</tr>\n</tbody>\n</table>\n</div><p>Cadastre sempre do topo para baixo:</p>\n<ol>\n<li><p><strong>Departamento</strong> (categoria sem <code>parent_integration_code</code>).</p>\n</li>\n<li><p><strong>Grupo</strong> informando <code>parent_integration_code</code> do departamento.</p>\n</li>\n<li><p><strong>Sub-grupo</strong> apontando para o grupo.</p>\n</li>\n</ol>\n<h3 id=\"por-que-essa-ordem-importa\"><strong>Por que essa ordem importa?</strong></h3>\n<p>Se você enviar um produto antes de criar sua árvore, a Salesrun criará categorias “órfãs” sem hierarquia. Isso prejudica análises de ruptura e reposição por departamento.</p>\n<h3 id=\"exemplos-de-payload-com-hierarquia\">Exemplos de payload com hierarquia</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">POST /categories\n{\n  \"integration_code\": \"DEP_MERCEARIA\",        // seu ID interno\n  \"name\": \"Mercearia\",                        // Departamento (nível 0)\n  \"parent_integration_code\": null\n}\nPOST /categories\n{\n  \"integration_code\": \"GRP_BEBIDAS\",\n  \"name\": \"Bebidas\",                          // Grupo (nível 1)\n  \"parent_integration_code\": \"DEP_MERCEARIA\"\n}\nPOST /categories\n{\n  \"integration_code\": \"SUB_REFRI\",\n  \"name\": \"Refrigerantes\",                    // Sub-grupo (nível 2)\n  \"parent_integration_code\": \"GRP_BEBIDAS\"\n}\n\n</code></pre>\n<h2 id=\"dicas-rápidas\"><strong>Dicas rápidas</strong></h2>\n<ul>\n<li><p>Use sempre o <code>integration_code</code> do seu ERP; ele é a chave de idempotência.</p>\n</li>\n<li><p>Precisa reestruturar? Faça PUT no grupo/sub-grupo para trocar o <code>parent_integration_code</code>.</p>\n</li>\n<li><p>Não há limite rígido de níveis, mas três são suficientes para 99 % dos ERPs.</p>\n</li>\n</ul>\n<h2 id=\"checklist-de-integração-obrigatório\">Checklist de Integração obrigatório</h2>\n<ol>\n<li><p><strong>Categorias</strong> ✅</p>\n</li>\n<li><p><strong>Produtos</strong></p>\n</li>\n<li><p><strong>Fornecedores</strong></p>\n</li>\n<li><p>Pedidos de compra</p>\n</li>\n<li><p>Vendas</p>\n</li>\n</ol>\n","_postman_id":"ccc9037a-b2fa-49be-9bdc-361cf40b97cc"},{"name":"2. Cadastro de Produtos","item":[{"name":"Criar lote de produtos","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"f5146956-c716-4282-9299-a89a6e5c4030","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"branch_integration_code\": \"LJ01\", // Código de integração da filial (ex: CNPJ ou identificador da loja)\n    \"active\": true, // Indica se o produto está ativo na filial\n    \"is_stocked\": true, // Indica se o produto possui controle de estoque\n    \"product_active\": true, // Indica se o produto está ativo globalmente\n    \"status\": \"APPROVED\", // Status de aprovação do produto\n    \"sku\": \"98765432\", // Código SKU (identificador interno do produto)\n    \"ean\": \"7891234567890\", // Código de barras (EAN)\n    \"name\": \"Shampoo Anticaspa 300ml\", // Nome do produto\n    \"integration_code\": \"PRD-00123\", // Código único de integração do produto\n    \"packaging\": {\n      \"name\": \"UN\", // Tipo de embalagem (ex: UN, CX)\n      \"quantity\": 1 // Quantidade por embalagem\n    },\n    \"weight\": 0.35, // Peso em quilogramas\n    \"width\": 5.2, // Largura em centímetros\n    \"height\": 17.0, // Altura em centímetros\n    \"length\": 5.2, // Comprimento em centímetros\n    \"creation_date\": \"2024-04-10T13:45:00.000Z\", // Data de criação do produto\n    \"category\": {\n      \"integration_code\": \"CAT-SHP\", // Código da categoria\n      \"name\": \"Higiene Pessoal\" // Nome da categoria\n    },\n    \"brand\": {\n      \"integration_code\": \"BRD-456\", // Código da marca\n      \"name\": \"ClearCare\" // Nome da marca\n    },\n    \"manufacturer\": {\n      \"integration_code\": \"MNF-789\", // Código do fabricante\n      \"name\": \"Beleza & Cia Indústria\" // Nome do fabricante\n    },\n    \"industry\": [\n      {\n        \"integration_code\": \"SUP-321\", // Código do fornecedor\n        \"name\": \"Distribuidora Varejão\", // Nome do fornecedor\n        \"default\": true // Indica se é o fornecedor padrão\n      }\n    ],\n    \"family\": {\n      \"integration_code\": \"FAM-001\", // Código da família do produto\n      \"name\": \"Shampoos\" // Nome da família do produto\n    },\n    \"add_information\": \"Produto dermatologicamente testado. Ideal para uso diário.\", // Informações adicionais sobre o produto\n    \"stock\": 875, // Quantidade atual em estoque\n    \"price\": 18.90, // Preço de venda\n    \"cost_price\": 11.25, // Preço de custo\n    \"safety_stock_day\": 3, // Dias de estoque de segurança\n    \"display_stock\": 1, // Estoque mínimo para exposição na gôndola\n    \"critical_stock_days\": 7, // Dias que definem estoque crítico\n    \"super_stock_days\": 30, // Dias que definem superestoque\n    \"critical_stock_units\": 300, // Quantidade que define estoque crítico\n    \"super_stock_units\": 1200, // Quantidade que define superestoque\n    \"delivery_method\": \"DISTRIBUTOR\", // Método de entrega: DISTRIBUTOR, STORE, CROSS_DOCKING\n    \"last_purchase_date\": \"2025-03-15\", // Data da última compra\n    \"buyer_user_integration_code\": \"USR_JOAO\", // Código do comprador responsável\n    \"minimum_stock\": 200, // Estoque mínimo necessário\n    \"is_purchase_disabled\": false // Indica se a compra está bloqueada\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v2/products/","urlObject":{"path":["api","v2","products",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a1272877-ec08-4ce4-8826-b7706d0aecc6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n    {\n        \"branch_integration_code\": \"LJ01\",\n        \"active\": true,\n        \"is_stocked\": true,\n        \"product_active\": true,\n        \"status\": \"APPROVED\",\n        \"sku\": \"98765432\",\n        \"ean\": \"7891234567890\",\n        \"name\": \"Shampoo Anticaspa 300ml\",\n        \"integration_code\": \"PRD-00123\",\n        \"packaging\": {\n            \"name\": \"UN\",\n            \"quantity\": 1\n        },\n        \"weight\": 0.35,\n        \"width\": 5.2,\n        \"height\": 17.0,\n        \"length\": 5.2,\n        \"creation_date\": \"2024-04-10T13:45:00.000Z\",\n        \"category\": {\n            \"integration_code\": \"CAT-SHP\",\n            \"name\": \"Higiene Pessoal\"\n        },\n        \"brand\": {\n            \"integration_code\": \"BRD-456\",\n            \"name\": \"ClearCare\"\n        },\n        \"manufacturer\": {\n            \"integration_code\": \"MNF-789\",\n            \"name\": \"Beleza & Cia Indústria\"\n        },\n        \"industry\": [\n            {\n                \"integration_code\": \"SUP-321\",\n                \"name\": \"Distribuidora Varejão\",\n                \"default\": true\n            }\n        ],\n        \"family\": {\n            \"integration_code\": \"FAM-001\",\n            \"name\": \"Shampoos\"\n        },\n        \"add_information\": \"Produto dermatologicamente testado. Ideal para uso diário.\",\n        \"stock\": 875,\n        \"price\": 18.90,\n        \"cost_price\": 11.25,\n        \"safety_stock_day\": 3,\n        \"display_stock\": 1,\n        \"critical_stock_days\": 7,\n        \"super_stock_days\": 30,\n        \"critical_stock_units\": 300,\n        \"super_stock_units\": 1200,\n        \"delivery_method\": \"DISTRIBUTOR\",\n        \"last_purchase_date\": \"2025-03-15\",\n        \"buyer_user_integration_code\": \"USR_JOAO\",\n        \"minimum_stock\": 200,\n        \"is_purchase_disabled\": false\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v2/products/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 29 May 2025 21:06:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"request_id\": \"858b6996-8098-4f90-8fc4-0b5998b8e207\"\n}"},{"id":"7b3a6434-e010-4d00-9f79-c2ba88b6d9e9","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n    {\n        \"active\": true,\n        \"is_stocked\": true,\n        \"product_active\": true,\n        \"status\": \"APPROVED\",\n        \"sku\": \"98765432\",\n        \"ean\": \"7891234567890\",\n        \"name\": \"Shampoo Anticaspa 300ml\",\n        \"integration_code\": \"PRD-00123\",\n        \"packaging\": {\n            \"name\": \"UN\",\n            \"quantity\": 1\n        },\n        \"weight\": 0.35,\n        \"width\": 5.2,\n        \"height\": 17.0,\n        \"length\": 5.2,\n        \"creation_date\": \"2024-04-10T13:45:00.000Z\",\n        \"category\": {\n            \"integration_code\": \"CAT-SHP\",\n            \"name\": \"Higiene Pessoal\"\n        },\n        \"brand\": {\n            \"integration_code\": \"BRD-456\",\n            \"name\": \"ClearCare\"\n        },\n        \"manufacturer\": {\n            \"integration_code\": \"MNF-789\",\n            \"name\": \"Beleza & Cia Indústria\"\n        },\n        \"industry\": [\n            {\n                \"integration_code\": \"SUP-321\",\n                \"name\": \"Distribuidora Varejão\",\n                \"default\": true\n            }\n        ],\n        \"family\": {\n            \"integration_code\": \"FAM-001\",\n            \"name\": \"Shampoos\"\n        },\n        \"add_information\": \"Produto dermatologicamente testado. Ideal para uso diário.\",\n        \"stock\": 875,\n        \"price\": 18.90,\n        \"cost_price\": 11.25,\n        \"safety_stock_day\": 3,\n        \"display_stock\": 1,\n        \"critical_stock_days\": 7,\n        \"super_stock_days\": 30,\n        \"critical_stock_units\": 300,\n        \"super_stock_units\": 1200,\n        \"delivery_method\": \"DISTRIBUTOR\",\n        \"last_purchase_date\": \"2025-03-15\",\n        \"buyer_user_integration_code\": \"USR_JOAO\",\n        \"minimum_stock\": 200,\n        \"is_purchase_disabled\": false\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v2/products/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 29 May 2025 21:08:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"156"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"[{'branch_integration_code': [ErrorDetail(string='This field is required.', code='required')]}]\",\n    \"status_code\": 500,\n    \"code\": \"internal_server_error\"\n}"}],"_postman_id":"f5146956-c716-4282-9299-a89a6e5c4030"},{"name":"Atualizar lote de produtos","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"e5c97949-5ca9-48e7-ae33-ca39c43414a8","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"branch_integration_code\": \"LJ01\", // Código de integração da filial (ex: CNPJ ou identificador da loja)\n    \"active\": true, // Indica se o produto está ativo na filial\n    \"status\": \"APPROVED\", // Status de aprovação do produto\n    \"sku\": \"98765432\", // Código SKU (identificador interno do produto)\n    \"ean\": \"7891234567890\", // Código de barras (EAN)\n    \"stock\": 875, // Quantidade atual em estoque\n    \"price\": 18.90, // Preço de venda\n    \"cost_price\": 11.25 // Preço de custo\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v2/products/","urlObject":{"path":["api","v2","products",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b4d770a3-2515-488b-9032-5d4252d8ab69","name":"200 - OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"branch_integration_code\": \"LJ01\", // Código de integração da filial (ex: CNPJ ou identificador da loja)\n    \"active\": true, // Indica se o produto está ativo na filial\n    \"status\": \"APPROVED\", // Status de aprovação do produto\n    \"sku\": \"98765432\", // Código SKU (identificador interno do produto)\n    \"ean\": \"7891234567890\", // Código de barras (EAN)\n    \"stock\": 875, // Quantidade atual em estoque\n    \"price\": 18.90, // Preço de venda\n    \"cost_price\": 11.25 // Preço de custo\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v2/products/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 29 May 2025 21:06:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"request_id\": \"858b6996-8098-4f90-8fc4-0b5998b8e207\"\n}"},{"id":"b42e9259-cbde-4837-9ec1-f497f1566673","name":"400 - Bad Request","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n    {\n        \"active\": true,\n        \"is_stocked\": true,\n        \"product_active\": true,\n        \"status\": \"APPROVED\",\n        \"sku\": \"98765432\",\n        \"ean\": \"7891234567890\",\n        \"name\": \"Shampoo Anticaspa 300ml\",\n        \"integration_code\": \"PRD-00123\",\n        \"packaging\": {\n            \"name\": \"UN\",\n            \"quantity\": 1\n        },\n        \"weight\": 0.35,\n        \"width\": 5.2,\n        \"height\": 17.0,\n        \"length\": 5.2,\n        \"creation_date\": \"2024-04-10T13:45:00.000Z\",\n        \"category\": {\n            \"integration_code\": \"CAT-SHP\",\n            \"name\": \"Higiene Pessoal\"\n        },\n        \"brand\": {\n            \"integration_code\": \"BRD-456\",\n            \"name\": \"ClearCare\"\n        },\n        \"manufacturer\": {\n            \"integration_code\": \"MNF-789\",\n            \"name\": \"Beleza & Cia Indústria\"\n        },\n        \"industry\": [\n            {\n                \"integration_code\": \"SUP-321\",\n                \"name\": \"Distribuidora Varejão\",\n                \"default\": true\n            }\n        ],\n        \"family\": {\n            \"integration_code\": \"FAM-001\",\n            \"name\": \"Shampoos\"\n        },\n        \"add_information\": \"Produto dermatologicamente testado. Ideal para uso diário.\",\n        \"stock\": 875,\n        \"price\": 18.90,\n        \"cost_price\": 11.25,\n        \"safety_stock_day\": 3,\n        \"display_stock\": 1,\n        \"critical_stock_days\": 7,\n        \"super_stock_days\": 30,\n        \"critical_stock_units\": 300,\n        \"super_stock_units\": 1200,\n        \"delivery_method\": \"DISTRIBUTOR\",\n        \"last_purchase_date\": \"2025-03-15\",\n        \"buyer_user_integration_code\": \"USR_JOAO\",\n        \"minimum_stock\": 200,\n        \"is_purchase_disabled\": false\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v2/products/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 29 May 2025 21:08:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"156"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"[{'branch_integration_code': [ErrorDetail(string='This field is required.', code='required')]}]\",\n    \"status_code\": 500,\n    \"code\": \"internal_server_error\"\n}"}],"_postman_id":"e5c97949-5ca9-48e7-ae33-ca39c43414a8"},{"name":"Obter lista de produtos","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c00dccd7-21de-42fa-a844-1e8c23d5b600","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v2/products/","urlObject":{"path":["api","v2","products",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"588a8bea-e148-407a-ad7b-3cff5e88e23f","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14254\",\n  \"name\": \"Parent category\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/category/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 29 May 2025 20:54:22 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"3169"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 12938,\n    \"page_size\": 100,\n    \"next\": \"https://integration.salesrun.io/api/v2/products/?page=2\",\n    \"previous\": null,\n    \"results\": [\n        {\n            \"sku\": \"98765432\",\n            \"name\": \"Shampoo Anticaspa 300ml\",\n            \"integration_code\": \"PRD-00123\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": null,\n            \"weight\": \"0.350\",\n            \"width\": \"5.20\",\n            \"height\": \"17.00\",\n            \"length\": \"5.20\",\n            \"category\": {\n                \"integration_code\": \"CAT-SHP\",\n                \"name\": \"Higiene Pessoal\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"BRD-456\",\n                \"name\": \"ClearCare\"\n            },\n            \"manufacturer\": {\n                \"integration_code\": \"MNF-789\",\n                \"name\": \"Beleza & Cia Indústria\"\n            },\n            \"family\": {\n                \"integration_code\": \"FAM-001\",\n                \"name\": \"Shampoos\"\n            },\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"SUP-321\",\n                    \"name\": \"Distribuidora Varejão\",\n                    \"branch\": \"Loja Itaim\"\n                }\n            ],\n            \"add_information\": \"Produto dermatologicamente testado. Ideal para uso diário.\",\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 875,\n                    \"cost_price\": 11.25,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 18.9\n                }\n            ],\n            \"critical_stock_days\": 7,\n            \"super_stock_days\": 30,\n            \"department\": null,\n            \"critical_stock_units\": 300,\n            \"super_stock_units\": 1200\n        },\n        {\n            \"sku\": \"4118672\",\n            \"name\": \"Refrig Sprite 350ml Original S/ Acucar Lata\",\n            \"integration_code\": null,\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": null,\n            \"weight\": \"0.560\",\n            \"width\": \"26.00\",\n            \"height\": \"12.00\",\n            \"length\": \"20.00\",\n            \"category\": {\n                \"integration_code\": \"043\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"SPRITE\",\n                \"name\": \"SPRITE\"\n            },\n            \"manufacturer\": {\n                \"integration_code\": \"1028804\",\n                \"name\": \"Spal Industria Brasileira De Bebidas S/A\"\n            },\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": \"CODIGO ERP: 118672\",\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.17,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 1.99\n                }\n            ],\n            \"critical_stock_days\": 0,\n            \"super_stock_days\": 0,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"118672\",\n            \"name\": \"Refrig Sprite 350ml Original S/ Acucar Lata\",\n            \"integration_code\": null,\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": null,\n            \"weight\": \"0.560\",\n            \"width\": \"26.00\",\n            \"height\": \"12.00\",\n            \"length\": \"20.00\",\n            \"category\": {\n                \"integration_code\": \"043\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"SPRITE\",\n                \"name\": \"SPRITE\"\n            },\n            \"manufacturer\": {\n                \"integration_code\": \"1028804\",\n                \"name\": \"Spal Industria Brasileira De Bebidas S/A\"\n            },\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": \"CODIGO ERP: 118672\",\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.17,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 1.99\n                }\n            ],\n            \"critical_stock_days\": 0,\n            \"super_stock_days\": 0,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"7898272945661\",\n            \"name\": \"Deci 50mg injetável 1 frasco-ampola + diluente 10ml\",\n            \"integration_code\": null,\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": null,\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"006\",\n                \"name\": \"Livre\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"PA\",\n                \"name\": \"Paradinhas\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 252,\n                    \"cost_price\": 5.24,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 29.9\n                },\n                {\n                    \"stock\": 252,\n                    \"cost_price\": 5.24,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 29.9\n                }\n            ],\n            \"critical_stock_days\": 30,\n            \"super_stock_days\": 65,\n            \"department\": null,\n            \"critical_stock_units\": 5125,\n            \"super_stock_units\": 7077\n        },\n        {\n            \"sku\": \"22222222allanm\",\n            \"name\": \"Product 2\",\n            \"integration_code\": null,\n            \"active\": true,\n            \"status\": \"HIDDEN\",\n            \"old_skus\": null,\n            \"packaging\": null,\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": null,\n            \"brand\": null,\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 115,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 19.9\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"22222222\",\n            \"name\": \"Product 2\",\n            \"integration_code\": null,\n            \"active\": true,\n            \"status\": \"HIDDEN\",\n            \"old_skus\": null,\n            \"packaging\": null,\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": null,\n            \"brand\": null,\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 1250,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 19.9\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"111111112\",\n            \"name\": \"Product 1\",\n            \"integration_code\": \"PJ2-DQ4\",\n            \"active\": true,\n            \"status\": \"HIDDEN\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": \"2.000\",\n            \"width\": \"2.10\",\n            \"height\": \"3.25\",\n            \"length\": \"7.80\",\n            \"category\": {\n                \"integration_code\": \"CT01\",\n                \"name\": \"Top Shampoo\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1\",\n                \"name\": \"MINERVA\"\n            },\n            \"manufacturer\": {\n                \"integration_code\": \"1\",\n                \"name\": \"Manufacturer 1\"\n            },\n            \"family\": {\n                \"integration_code\": \"1\",\n                \"name\": \"Family 1\"\n            },\n            \"industry\": null,\n            \"add_information\": \"Any information about the product\",\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 1250,\n                    \"cost_price\": 6.77,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 10.9\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": 1000,\n            \"super_stock_units\": 1800\n        },\n        {\n            \"sku\": \"00600835\",\n            \"name\": \"Sabão Po Tixan 2kg Maciez\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"811\",\n                \"name\": \"TIXAN\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 13.38,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 17.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 13.38,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 17.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 13.38,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 17.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00017251\",\n            \"name\": \"Maminha Reserva Friboi Bandeija Kg\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"521\",\n                \"name\": \"Açougue\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"908\",\n                \"name\": \"FRIBOI\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 45.4,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 33.32\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 44.9,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 33.32\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 38,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00662543\",\n            \"name\": \"Havaianas Top Max Herois\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2215\",\n                \"name\": \"HAVAIANAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 24.61,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 42.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 42.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00884433\",\n            \"name\": \"Sabão Palmolive Naturals 150g Frescor Nutritivo\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1468\",\n                \"name\": \"PALMOLIVE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 3.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00759236\",\n            \"name\": \"Ovo Pascoa Lacta 166g N15 Batman\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"502\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"266\",\n                \"name\": \"LACTA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 60.97,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 92.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 60.97,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 92.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 60.97,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 92.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00170628\",\n            \"name\": \"Alvejante Vanish 500ml White\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"443\",\n                \"name\": \"VANISH\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Centro\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Itaim\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 7,\n                    \"cost_price\": 6.77,\n                    \"display_stock\": 100,\n                    \"safety_stock_day\": 3,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 21\n                },\n                {\n                    \"stock\": 9,\n                    \"cost_price\": 11.33,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 20.99\n                },\n                {\n                    \"stock\": 5,\n                    \"cost_price\": 12.97,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 20.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00729185\",\n            \"name\": \"Faca Churrasco Tramontina Inox Polywood Verm\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1535\",\n                \"name\": \"TRAMONTINA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 21.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 21.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00061599\",\n            \"name\": \"Iorgut Batavo 120g Bob Esponja Morango\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"510\",\n                \"name\": \"Padaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"57\",\n                \"name\": \"BATAVO\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 3.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00822077\",\n            \"name\": \"Sabão Po Brilhante 800 Grs Sache Cuidado Total\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"441\",\n                \"name\": \"BRILHANTE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 10.2,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 10.2,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 10.2,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 13.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00652285\",\n            \"name\": \"Havaianas Aero Graphic 43 44 Branco Preto Amare\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2215\",\n                \"name\": \"HAVAIANAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 39.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 39.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00910590\",\n            \"name\": \"Linguiça Bovina Espanha 600g 4 Queijos\",\n            \"integration_code\": null,\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"521\",\n                \"name\": \"Açougue\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1770\",\n                \"name\": \"ESPANHA\"\n            },\n            \"manufacturer\": {\n                \"integration_code\": \"1\",\n                \"name\": \"Manufacturer 1\"\n            },\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": \"\",\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 2,\n                    \"cost_price\": 15.24,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 21.99\n                },\n                {\n                    \"stock\": -1,\n                    \"cost_price\": 15.24,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 21.99\n                },\n                {\n                    \"stock\": 1,\n                    \"cost_price\": 15.24,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 21.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"78985391\",\n            \"name\": \"Farinha Mandioca Kodilar Torrada 500g\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"FD\",\n                \"abbreviation\": \"FD\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"413\",\n                \"name\": \"KODILAR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 16,\n                    \"cost_price\": 4.59,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 6.99\n                },\n                {\n                    \"stock\": 5,\n                    \"cost_price\": 4.59,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 6.99\n                },\n                {\n                    \"stock\": 19,\n                    \"cost_price\": 4.59,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 6.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00017152\",\n            \"name\": \"Lagarto Reserva Kg\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"521\",\n                \"name\": \"Açougue\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"908\",\n                \"name\": \"FRIBOI\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 1.86,\n                    \"cost_price\": 36.3,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 49.99\n                },\n                {\n                    \"stock\": 15.67,\n                    \"cost_price\": 36.3,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 49.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 37.4,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 49.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"79075336\",\n            \"name\": \"Refrigerante 2l Pet Pepsi Twist\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"517\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"546\",\n                \"name\": \"PEPSI COLA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"1028804\",\n                    \"name\": \"Spal Industria Brasileira De Bebidas S/A\",\n                    \"branch\": \"Loja Centro\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"1028804\",\n                    \"name\": \"Spal Industria Brasileira De Bebidas S/A\",\n                    \"branch\": \"Loja Itaim\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"1028804\",\n                    \"name\": \"Spal Industria Brasileira De Bebidas S/A\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 9,\n                    \"cost_price\": 6.38,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 7.69\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.38,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 7.69\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.38,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 7.69\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00626620\",\n            \"name\": \"Havaianas Mood 41 42 Azul\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2215\",\n                \"name\": \"HAVAIANAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 45.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 45.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00672443\",\n            \"name\": \"Porta Sabão Liquido Trama Adulto Plasutil\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1507\",\n                \"name\": \"PLASUTIL\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 6.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 6.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 7,\n            \"super_stock_days\": 45,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00644686\",\n            \"name\": \"Havaianas Top Basic 39 40 Azul Indigo\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2215\",\n                \"name\": \"HAVAIANAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 29.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 16.36,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00473941\",\n            \"name\": \"Amaciante Comfort 2lt Violeta E Ylang\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"808\",\n                \"name\": \"COMFORT\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 8.06,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 5.82,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 9.69\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00757829\",\n            \"name\": \"Aparelho Feminino Gillette Venus 3 Sensitive\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1430\",\n                \"name\": \"GILLETTE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 10.89,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 16.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 10.41,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 16.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 10.55,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 16.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00596497\",\n            \"name\": \"Sabão Líquido Lux 220ml Refil Tentação Floral\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1248\",\n                \"name\": \"LUX\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.4,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.4,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00050395\",\n            \"name\": \"Suspiro Kg\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"524\",\n                \"name\": \"Confeitaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1993\",\n                \"name\": \"NOSSA CONFEITARIA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 19.1,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 49.9\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 20.93,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 49.9\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 13.59,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 29.9\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00682138\",\n            \"name\": \"Refrigerante Frisco 25g Laranja Com Acerola\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"517\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1964\",\n                \"name\": \"FRISCO\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"1028804\",\n                    \"name\": \"Spal Industria Brasileira De Bebidas S/A\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0.51,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 1.29\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0.51,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 11,\n                    \"cost_price\": 0.51,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 1.29\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00840613\",\n            \"name\": \"Salgadinho Torcida 38 Grs Costela Com Limão\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"870\",\n                \"name\": \"TORCIDA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.15,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 2.19\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.15,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 2.19\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.15,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 2.19\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00623407\",\n            \"name\": \"Flocos Milho Sem Massa 200grs Mãe Terra\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"531\",\n                \"name\": \"Produtos Naturais\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1705\",\n                \"name\": \"MAE TERRA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 8.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 8.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00362429\",\n            \"name\": \"Limpeza Cif Creme Limpeza Profunda 450ml Laranja\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"71\",\n                \"name\": \"CIF\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.54,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 20.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.54,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 20.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 11.99,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 20.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00765886\",\n            \"name\": \"Sabão Líquido Omo 300ml Peças Intimas E Biquinis\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"810\",\n                \"name\": \"OMO\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 9.94,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 9.94,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 9.94,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 13.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00765596\",\n            \"name\": \"Salgadinho Elma Chips Doritos 55 Grs Rainbow\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"869\",\n                \"name\": \"Elma Chips\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 3.89,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 5.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 3.89,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 5.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 3.89,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 5.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00339315\",\n            \"name\": \"Colgate Sensitive Pro Alivio 110gr\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1607\",\n                \"name\": \"COLGATE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 13.51,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 19.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 13.54,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 19.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00626941\",\n            \"name\": \"Havaianas Top Mix 33 34 Rosa Framboesa\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2215\",\n                \"name\": \"HAVAIANAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 31.25\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 31.25\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00230940\",\n            \"name\": \"Molho Tomate Pomarola Recom Pizza Sacom 300g\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"102\",\n                \"name\": \"POMAROLA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.78,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 4.79\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.11,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 4.79\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00869874\",\n            \"name\": \"Biscoito Recheio Bono 90g Doce De Leite\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"304\",\n                \"name\": \"Bono\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 42,\n                    \"cost_price\": 2.11,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 74,\n                    \"cost_price\": 2.07,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 63,\n                    \"cost_price\": 2.14,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 3.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00778046\",\n            \"name\": \"Biscoito Marilan 350 Grs Manteiga\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1007\",\n                \"name\": \"MARILAN\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 52,\n                    \"cost_price\": 4.59,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 6.79\n                },\n                {\n                    \"stock\": 71,\n                    \"cost_price\": 4.59,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 6.79\n                },\n                {\n                    \"stock\": 32,\n                    \"cost_price\": 4.59,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 6.79\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"78957220\",\n            \"name\": \"Arroz Rosalito 1kg Tp1\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"FD\",\n                \"abbreviation\": \"FD\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"502\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"251\",\n                \"name\": \"ROSALITO\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 3.5,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 4.29\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 3.5,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 4.29\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 3.5,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 4.29\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00335966\",\n            \"name\": \"Chocolate Lacta 25 Grs Tablete Shot\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"266\",\n                \"name\": \"LACTA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.07,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.07,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00654302\",\n            \"name\": \"Sabão Lux Botanicals 85 Grs Lavanda\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1248\",\n                \"name\": \"LUX\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Centro\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Itaim\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 67,\n                    \"cost_price\": 1.89,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 2.69\n                },\n                {\n                    \"stock\": 46,\n                    \"cost_price\": 2.07,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 2.69\n                },\n                {\n                    \"stock\": 1,\n                    \"cost_price\": 2.07,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 2.69\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00611800\",\n            \"name\": \"Condensado Pantene 170ml 3mm Restauração\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"701\",\n                \"name\": \"PANTENE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 17.99,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 29.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 16.8,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 29.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00875608\",\n            \"name\": \"Panettone Bauducco 400g Frutas\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"502\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"447\",\n                \"name\": \"Bauducco\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 15.41,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 1,\n                    \"cost_price\": 15.47,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 2,\n                    \"cost_price\": 15.41,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 13.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00249416\",\n            \"name\": \"Refrigerante 600ml Pet Coca Cola\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"517\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"548\",\n                \"name\": \"COCA COLA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"1028804\",\n                    \"name\": \"Spal Industria Brasileira De Bebidas S/A\",\n                    \"branch\": \"Loja Centro\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"1028804\",\n                    \"name\": \"Spal Industria Brasileira De Bebidas S/A\",\n                    \"branch\": \"Loja Itaim\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"1028804\",\n                    \"name\": \"Spal Industria Brasileira De Bebidas S/A\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 118,\n                    \"cost_price\": 4.04,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 4.79\n                },\n                {\n                    \"stock\": 321,\n                    \"cost_price\": 4.04,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 4.79\n                },\n                {\n                    \"stock\": 268,\n                    \"cost_price\": 4.04,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 4.79\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00139250\",\n            \"name\": \"Creme Kodilar 65g Ervas Finas\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"413\",\n                \"name\": \"KODILAR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.12,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.12,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.99,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00833608\",\n            \"name\": \"Refrigerante 310ml Lata Coca Cola Marshmallow Zero Açucar \",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"FD\",\n                \"abbreviation\": \"FD\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"517\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2283\",\n                \"name\": \"COCA COLA SEM AÇUCAR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.64,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.29\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.64,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.29\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.64,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 3.29\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00823661\",\n            \"name\": \"Cerveja Skol Puro Ma Lata E Lata Sleek 350ml\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"517\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"371\",\n                \"name\": \"SKOL\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.22,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 2.69\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 2.69\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 2.69\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00661058\",\n            \"name\": \"Milho Quero 170 Grs Sache\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1375\",\n                \"name\": \"QUERO\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 73,\n                    \"cost_price\": 3.19,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 4.99\n                },\n                {\n                    \"stock\": 68,\n                    \"cost_price\": 3.19,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 4.99\n                },\n                {\n                    \"stock\": 1,\n                    \"cost_price\": 3.19,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 4.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00044677\",\n            \"name\": \"Coxa Frango Seara 800g Assa Facil Ervas Finas\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"510\",\n                \"name\": \"Padaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"910\",\n                \"name\": \"SEARA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 11.62,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 18.99\n                },\n                {\n                    \"stock\": 8,\n                    \"cost_price\": 11.96,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 18.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 12.02,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 18.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00038201\",\n            \"name\": \"Rosca Frutas Cristalizadas Kg \",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"529\",\n                \"name\": \"Padaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2051\",\n                \"name\": \"NOSSA PADARIA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": -8.64,\n                    \"cost_price\": 21.13,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 35.9\n                },\n                {\n                    \"stock\": -1.92,\n                    \"cost_price\": 21.12,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 35.9\n                },\n                {\n                    \"stock\": -20.63,\n                    \"cost_price\": 21.12,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 35.9\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00612456\",\n            \"name\": \"Bisc Cookie Orgânico Mãe Terra 120 Grs Cacau Light\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"531\",\n                \"name\": \"Produtos Naturais\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1705\",\n                \"name\": \"MAE TERRA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 5.1,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 10.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 4.37,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.59,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"79132374\",\n            \"name\": \"Peneira Plasutil N2 12cm\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1507\",\n                \"name\": \"PLASUTIL\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 3.5,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 7.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 3.18,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 7.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 7,\n            \"super_stock_days\": 45,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00644365\",\n            \"name\": \"Havaianas Slim Geometrica 39 40 Azul Mineral\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2215\",\n                \"name\": \"HAVAIANAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 17.95,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 30.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 17.95,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 30.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00654760\",\n            \"name\": \"Refrigerante 310ml Lata Coca Cola Com 6 Sem Açucar\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"517\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2283\",\n                \"name\": \"COCA COLA SEM AÇUCAR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 10.86,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 10.86,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00147279\",\n            \"name\": \"Drops Halls 37 Grs Uva Verde\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1183\",\n                \"name\": \"Halls\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0.48,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 1.79\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0.95,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 1.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00246231\",\n            \"name\": \"Pate Whiskas 290g Lt Gatos Peixe\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"501\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2027\",\n                \"name\": \"WHISKAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 26,\n                    \"cost_price\": 9.98,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 16.99\n                },\n                {\n                    \"stock\": 6,\n                    \"cost_price\": 9.98,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 16.99\n                },\n                {\n                    \"stock\": 21,\n                    \"cost_price\": 9.1,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 16.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00672313\",\n            \"name\": \"Ração Umida Whiskas 85g Gatos Salmão\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"501\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2027\",\n                \"name\": \"WHISKAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 77,\n                    \"cost_price\": 2.28,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 74,\n                    \"cost_price\": 2.28,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 80,\n                    \"cost_price\": 2.28,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 3.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00014083\",\n            \"name\": \"Beijinho Kg\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"524\",\n                \"name\": \"Confeitaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1993\",\n                \"name\": \"NOSSA CONFEITARIA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 22.42,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 39.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 17.27,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 39.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00515894\",\n            \"name\": \"Guardanapo Mili 21x22 Com 50\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"501\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1448\",\n                \"name\": \"MILI\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 19,\n                    \"cost_price\": 1.41,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 2.49\n                },\n                {\n                    \"stock\": 49,\n                    \"cost_price\": 1.41,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 2.49\n                },\n                {\n                    \"stock\": 166,\n                    \"cost_price\": 1.41,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 2.49\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00836166\",\n            \"name\": \"Flan Vigor 95g Baunilha Com Calda De Caramelo\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"510\",\n                \"name\": \"Padaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"678\",\n                \"name\": \"VIGOR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 4,\n                    \"cost_price\": 5.74,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 10.99\n                },\n                {\n                    \"stock\": 4,\n                    \"cost_price\": 5.74,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 10.99\n                },\n                {\n                    \"stock\": 4,\n                    \"cost_price\": 5.74,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 10.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00050784\",\n            \"name\": \"Rocambole De Doce De Leite Kg\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"524\",\n                \"name\": \"Confeitaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1993\",\n                \"name\": \"NOSSA CONFEITARIA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": -1.44,\n                    \"cost_price\": 14.71,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 33.9\n                },\n                {\n                    \"stock\": -6.05,\n                    \"cost_price\": 14.71,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 33.9\n                },\n                {\n                    \"stock\": -7.75,\n                    \"cost_price\": 14.71,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 33.9\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00665858\",\n            \"name\": \"Lampada Ourolux Fluor 2u 6w 127v Branca\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"501\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2038\",\n                \"name\": \"OUROLUX\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 8.4,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 12.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 8.4,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 12.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00721622\",\n            \"name\": \"Ovo Bob 150 Grs Morango\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"502\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"613\",\n                \"name\": \"ARCOR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 24.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 24.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00359115\",\n            \"name\": \"Pente Corpus Tartaruga Uso Diario\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1573\",\n                \"name\": \"CORPUS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Centro\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Itaim\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 4,\n                    \"cost_price\": 4.73,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 8.99\n                },\n                {\n                    \"stock\": 1,\n                    \"cost_price\": 4.38,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 8.99\n                },\n                {\n                    \"stock\": 7,\n                    \"cost_price\": 4.73,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 8.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00056892\",\n            \"name\": \"Ovo Colher Bombom 500g\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"524\",\n                \"name\": \"Confeitaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1993\",\n                \"name\": \"NOSSA CONFEITARIA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 45,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 59.9\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 45,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 59.9\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 45,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 59.9\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00672658\",\n            \"name\": \"Cookies Adria 60 Grs Baunilha\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"637\",\n                \"name\": \"Adria\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.49,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 2.59\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.49,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 2.59\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.49,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 2.59\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00255684\",\n            \"name\": \"Amaciante Concentrado Ype 500ml Pink\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1168\",\n                \"name\": \"YPE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Centro\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Itaim\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 17,\n                    \"cost_price\": 7.23,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 10.99\n                },\n                {\n                    \"stock\": 10,\n                    \"cost_price\": 7.23,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 10.99\n                },\n                {\n                    \"stock\": 15,\n                    \"cost_price\": 7.23,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 10.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00458801\",\n            \"name\": \"Listerine 500ml Profissional Defesa Dos Dentes Menta\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"895\",\n                \"name\": \"LISTERINE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 16.18,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 21.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 16.09,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 21.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00352208\",\n            \"name\": \"Desodorante Bom Ar Freshmatic 250ml Apar Cheiro Limpeza \",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"68\",\n                \"name\": \"BOM AR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 23.23,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 20.66,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 34.11\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00260930\",\n            \"name\": \"Soluvel Dove 200ml Hidratação Intensa\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1428\",\n                \"name\": \"DOVE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 7.83,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 10.89\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 7.82,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 9.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00816946\",\n            \"name\": \"Salsa Kodilar 10g Frasco\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"413\",\n                \"name\": \"KODILAR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 4.49,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 4.49,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 7.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 4.49,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00181563\",\n            \"name\": \"Alimento Soja Ades 1 Lata Original\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"517\",\n                \"name\": \"Bebidas\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"12\",\n                \"name\": \"ADES\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 4.73,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 6.49\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 4.12,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 6.49\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 4.73,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 6.49\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00882026\",\n            \"name\": \"Bala Regaliz Fini 27g Desenrola Tutti Frutti\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1177\",\n                \"name\": \"Fini\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 1,\n                    \"cost_price\": 1.69,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 19,\n                    \"cost_price\": 1.69,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.99\n                },\n                {\n                    \"stock\": 26,\n                    \"cost_price\": 1.69,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 3.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00740937\",\n            \"name\": \"Capsula Starbucks 129g Latte Macchiato\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"527\",\n                \"name\": \"NESTLE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 24.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 24.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 18.39,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 24.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00193306\",\n            \"name\": \"Leite Po Ninho 800g Integral\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"502\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"790\",\n                \"name\": \"NINHO\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 20.7,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 23.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 24.77,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 23.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 23.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00687676\",\n            \"name\": \"Cookies Bauducco 36g Maxi\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"447\",\n                \"name\": \"Bauducco\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.22,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 1.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.22,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 1.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00807142\",\n            \"name\": \"Biscoito Cream Cracker Marilan 170g Tradicional\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1007\",\n                \"name\": \"MARILAN\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 4.39\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.96,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 4.39\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.96,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 4.39\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00558372\",\n            \"name\": \"Pascoattone Casa Suica 500g Gotas Chocolate \",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"502\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1463\",\n                \"name\": \"CASA SUICA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 13.47,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 18.9\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 13.47,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 18.9\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00667067\",\n            \"name\": \"Sabonete Líquido Dove 200ml Refogado Anti Stress Agua Micelar\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1428\",\n                \"name\": \"DOVE\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Centro\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Itaim\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 16,\n                    \"cost_price\": 8.44,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 7,\n                    \"cost_price\": 7.8,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 4,\n                    \"cost_price\": 7.76,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 13.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00687409\",\n            \"name\": \"Bolinho Bauducco 34 Grs Roll Leite\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"510\",\n                \"name\": \"Padaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"447\",\n                \"name\": \"Bauducco\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0.84,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0.84,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0.69\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0.84,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00248280\",\n            \"name\": \"Biscoito Recheio Renata 145 Grs Brigadeiro \",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"448\",\n                \"name\": \"RENATA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.29,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 1.69\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.29,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 1.69\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00816632\",\n            \"name\": \"Sabão Po Tixan Antibac Sch 2kg\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"811\",\n                \"name\": \"TIXAN\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 15.09,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 18.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 15.09,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 18.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 15.09,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 18.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00294997\",\n            \"name\": \"Mortadela Bolognella 200 Grs Fatiada\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"510\",\n                \"name\": \"Padaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"6\",\n                \"name\": \"PERDIGAO\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.83,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 4.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 2.83,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 4.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00637640\",\n            \"name\": \"Havaianas Brasil 39 40 Naval\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2215\",\n                \"name\": \"HAVAIANAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 17.2,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 45.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 17.2,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 39.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00740548\",\n            \"name\": \"Amaciante Concom Downy 900ml Sensitive\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"508\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"809\",\n                \"name\": \"DOWNY\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": [\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Centro\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Itaim\"\n                },\n                {\n                    \"default\": true,\n                    \"integration_code\": \"0001\",\n                    \"name\": \"Fornecedor Salesmarket 01\",\n                    \"branch\": \"Loja Jardins\"\n                }\n            ],\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 39,\n                    \"cost_price\": 17.89,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 23.99\n                },\n                {\n                    \"stock\": 32,\n                    \"cost_price\": 17.89,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 23.99\n                },\n                {\n                    \"stock\": 22,\n                    \"cost_price\": 17.89,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 23.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00714273\",\n            \"name\": \"Esmalte Colorama Creme 8ml Enfim Sexta\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1083\",\n                \"name\": \"NIVEA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 4.9,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 6.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 6.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00721516\",\n            \"name\": \"Chocolate Lacta 85 Grs Tablete Intense 60% Cacau Original\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"266\",\n                \"name\": \"LACTA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 18,\n                    \"cost_price\": 6.78,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 31,\n                    \"cost_price\": 6.78,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 13.99\n                },\n                {\n                    \"stock\": 9,\n                    \"cost_price\": 6.79,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 13.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"78985360\",\n            \"name\": \"Colorifico Kodilar 500g\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"FD\",\n                \"abbreviation\": \"FD\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"413\",\n                \"name\": \"KODILAR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 21,\n                    \"cost_price\": 7.19,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 11.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 7.19,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 11.99\n                },\n                {\n                    \"stock\": 29,\n                    \"cost_price\": 7.19,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 11.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00565035\",\n            \"name\": \"Porta Mix Decorado Plasutil\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1507\",\n                \"name\": \"PLASUTIL\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.98,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.49\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.98,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.49\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 7,\n            \"super_stock_days\": 45,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00380690\",\n            \"name\": \"Biscoito Mabel Rosquinha 800 Grs Coco\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"294\",\n                \"name\": \"MABEL\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.82,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 11.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.82,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 11.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00804516\",\n            \"name\": \"Havaianas Kids Max Marvel\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"2215\",\n                \"name\": \"HAVAIANAS\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 30.64,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 52.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 30.64,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 52.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 30.64,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 52.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00565868\",\n            \"name\": \"Sopão Knorr 194 Grs Feijão\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"519\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1395\",\n                \"name\": \"KNORR\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 5.02,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 9.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 5.02,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 9.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 5.02,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 9.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00658799\",\n            \"name\": \"Sabão Nivea 85g Talco\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1083\",\n                \"name\": \"NIVEA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.65,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.59\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.66,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.59\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 1.65,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 2.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00910651\",\n            \"name\": \"Bala Gelatina Fini 70g Edwirges\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"528\",\n                \"name\": \"Alimentos\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1177\",\n                \"name\": \"Fini\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 12,\n                    \"cost_price\": 4.68,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 9.99\n                },\n                {\n                    \"stock\": 10,\n                    \"cost_price\": 4.68,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 9.99\n                },\n                {\n                    \"stock\": 11,\n                    \"cost_price\": 4.68,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 9.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00203685\",\n            \"name\": \"Faca Tramontina Mesa Laguna\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1535\",\n                \"name\": \"TRAMONTINA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.54,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 11.22\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 6.54,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 11.22\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00015790\",\n            \"name\": \"Folhado De Fruta Kg\",\n            \"integration_code\": \"\",\n            \"active\": true,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"KG\",\n                \"abbreviation\": \"KG\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"524\",\n                \"name\": \"Confeitaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1993\",\n                \"name\": \"NOSSA CONFEITARIA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 34.48,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 58.9\n                },\n                {\n                    \"stock\": -2.73,\n                    \"cost_price\": 34.51,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 58.9\n                },\n                {\n                    \"stock\": -10.57,\n                    \"cost_price\": 34.51,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 58.9\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00896696\",\n            \"name\": \"Talco Po Johnsons Baby 100g Hora Do Sono Protetor\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"CX\",\n                \"abbreviation\": \"CX\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"511\",\n                \"name\": \"Limpeza\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"350\",\n                \"name\": \"JOHNSON'S\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 34.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 34.99\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 34.99\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00565004\",\n            \"name\": \"Copo Plasutil Ben 10\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"516\",\n                \"name\": \"Utilitários\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1507\",\n                \"name\": \"PLASUTIL\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 3.52\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 3.52\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 7,\n            \"super_stock_days\": 45,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        },\n        {\n            \"sku\": \"00669429\",\n            \"name\": \"Bolo Delicia De Morango Pequeno Kg\",\n            \"integration_code\": \"\",\n            \"active\": false,\n            \"status\": \"APPROVED\",\n            \"old_skus\": null,\n            \"packaging\": {\n                \"name\": \"Unit\",\n                \"abbreviation\": \"UN\",\n                \"quantity\": 1\n            },\n            \"weight\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"category\": {\n                \"integration_code\": \"524\",\n                \"name\": \"Confeitaria\",\n                \"subcategories\": []\n            },\n            \"brand\": {\n                \"integration_code\": \"1993\",\n                \"name\": \"NOSSA CONFEITARIA\"\n            },\n            \"manufacturer\": null,\n            \"family\": null,\n            \"industry\": null,\n            \"add_information\": null,\n            \"prices_and_stocks\": [\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000393\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000202\",\n                    \"price\": 0\n                },\n                {\n                    \"stock\": 0,\n                    \"cost_price\": 0,\n                    \"display_stock\": null,\n                    \"safety_stock_day\": null,\n                    \"branch_integration_code\": \"52437126000474\",\n                    \"price\": 0\n                }\n            ],\n            \"critical_stock_days\": 15,\n            \"super_stock_days\": 60,\n            \"department\": null,\n            \"critical_stock_units\": null,\n            \"super_stock_units\": null\n        }\n    ]\n}"}],"_postman_id":"c00dccd7-21de-42fa-a844-1e8c23d5b600"}],"id":"ecaeb78d-d085-4c33-a8ac-089334a3bbdc","description":"<p>A API de <strong>Produtos</strong> funciona no conceito <em>um SKU × filial</em>.</p>\n<ul>\n<li><p><strong>Envio inicial</strong>: cada requisição <strong>POST/PUT</strong> deve conter o <code>branch_integration_code</code> da loja ou CD que está reportando o SKU.</p>\n</li>\n<li><p><strong>Criação automática</strong>: se o SKU ainda <strong>não existir</strong> na conta, ele é criado como “produto global” na primeira chamada.</p>\n</li>\n<li><p><strong>Vínculo com a filial</strong>: a cada chamada subsequente (mesmo SKU, outra filial) a Salesrun cria ou atualiza o <strong>vínculo</strong> desse SKU com a nova loja, armazenando parâmetros específicos daquela filial.</p>\n</li>\n<li><p><strong>Parâmetros por loja</strong>: estoque atual, preço, estoque mínimo, data da última compra, tipo de aquisição, <code>is_purchase_disabled</code> e todas as variáveis operacionais são <strong>sempre</strong> gravados <em>por filial</em>. Atualize-os enviando novamente o objeto completo ou apenas os campos que mudaram.</p>\n</li>\n<li><p><strong>Campos gerais do SKU</strong>: atributos corporativos (nome, categoria, marca, família, unidade, embalagem, lista de EANs) são únicos para toda a conta; basta enviar a alteração em <strong>qualquer</strong> <code>branch_integration_code</code> e o cadastro principal será atualizado automaticamente.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"conceitochave\">Conceito‐chave</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Nível</th>\n<th>Quem controla</th>\n<th>Exemplo de campos</th>\n<th>Observações</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>SKU global</strong></td>\n<td>Corporativo (mesmo código em todas as lojas)</td>\n<td><code>sku</code>, <code>name</code>, atributos de embalagem, marca, categoria, fabricante, família, indústria</td>\n<td>Usados pelos algoritmos para consolidar demanda.</td>\n</tr>\n<tr>\n<td><strong>SKU por filial</strong></td>\n<td>Loja/filial</td>\n<td><code>branch_integration_code</code>, <code>stock</code>, <code>price</code>, <code>display_stock</code>, <code>safety_stock_day</code>, <code>minimum_stock</code>, <code>delivery_method</code>, <code>is_purchase_disabled</code></td>\n<td>Cada loja envia seus próprios níveis de estoque, preço, segurança etc.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"endpoints\">Endpoints</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Método</th>\n<th>Rota</th>\n<th>Lote máx</th>\n<th>Uso</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>POST</strong></td>\n<td><code>/api/v2/products/</code></td>\n<td>500</td>\n<td>Inserir novos SKUs <strong>por filial</strong>.</td>\n</tr>\n<tr>\n<td><strong>PUT</strong></td>\n<td><code>/api/v2/products/</code></td>\n<td>500</td>\n<td>Substituir registros existentes (idempotente).</td>\n</tr>\n<tr>\n<td><strong>GET</strong></td>\n<td><code>/api/v2/products/</code></td>\n<td>—</td>\n<td>Consultar cadastro enriquecido.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p><em>Envie</em> <em><strong>um objeto</strong></em> <em>por loja. Se o mesmo SKU existir em 20 lojas, mande 20 objetos, cada um com seu</em> <code>_branch_integration_code_</code> <em>e parâmetros.</em></p>\n<hr />\n<h2 id=\"campos-obrigatórios-por-loja\">Campos obrigatórios por loja</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>branch_integration_code</code></td>\n<td>string</td>\n<td>Código da filial no ERP.</td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>SKU corporativo (chave primária global).</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nome comercial.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>decimal</td>\n<td>Preço de venda vigente nessa loja.</td>\n</tr>\n<tr>\n<td><code>stock</code></td>\n<td>decimal</td>\n<td>Saldo atual na loja no momento da chamada.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"campos-recomendados-por-loja\">Campos recomendados por loja</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Por quê?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>display_stock</code>, <code>safety_stock_day</code>, <code>minimum_stock</code></td>\n<td>Melhoram cálculo de ruptura, frente de gôndola e dias de segurança.</td>\n</tr>\n<tr>\n<td><code>critical_stock_days</code>, <code>super_stock_days</code></td>\n<td>Ativam alertas de “estoque crítico” e “superestoque”.</td>\n</tr>\n<tr>\n<td><code>delivery_method</code></td>\n<td>Utilizado nos algoritmos de abastecimento (CD, cross-dock, entrega loja).</td>\n</tr>\n<tr>\n<td><code>is_purchase_disabled</code></td>\n<td>Impede que o motor recomende compra para o SKU nessa filial.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<ol>\n<li><p><strong>Idempotência</strong> – <code>POST</code> com o mesmo par <code>(branch_integration_code, sku)</code> retorna <em>409 Conflict</em>; use <code>PUT</code> para sobrescrever ou <code>PATCH</code> futuro.</p>\n</li>\n<li><p><strong>Limite de lote</strong> – Máx 500 itens por chamada (POST ou PUT).</p>\n</li>\n<li><p><strong>Curva A de performance</strong> – Envie campos de estoque <strong>uma vez ao dia</strong> ou quando houver movimentação relevante.</p>\n</li>\n<li><p><strong>Categorias &amp; marcas</strong> – Se não existirem, serão criadas “on-the-fly”; porém é <strong>fortemente recomendado</strong> cadastrar antes pelo menos as categorias para evitar problemas de hierarquia.</p>\n</li>\n<li><p><strong>Unicidade de SKU</strong> – Um SKU é único na companhia; mesma descrição mas outro código → use <code>modify-sku</code> se precisar renomear.</p>\n</li>\n</ol>\n<hr />\n<h2 id=\"checklist-de-envio-diário\">Checklist de envio diário</h2>\n<ol>\n<li><p><strong>Atualizar estoque/preço</strong> (stock, price, cost_price ) por filial.</p>\n</li>\n<li><p>Caso necessário: ajustar <strong>parâmetros de segurança</strong> (minimum_stock, safety_stock_day, display_stock).</p>\n</li>\n<li><p>Revisar <code>is_purchase_disabled</code> antes de ciclos automáticos de compra.</p>\n</li>\n</ol>\n<hr />\n<p>Com este modelo, você integra <strong>cadastro + estoques + preços</strong> em um único payload por filial, garantindo que a Salesrun enxergue cada loja de forma independente, mas ainda consolide a demanda pelo SKU global para projeções corporativas.</p>\n<h2 id=\"checklist-de-integração-obrigatório\">Checklist de Integração obrigatório</h2>\n<ol>\n<li><p><strong>Categorias</strong> ✅</p>\n</li>\n<li><p><strong>Produtos</strong> ✅</p>\n</li>\n<li><p><strong>Fornecedores</strong></p>\n</li>\n<li><p>Pedidos de compra</p>\n</li>\n<li><p>Vendas</p>\n</li>\n</ol>\n","_postman_id":"ecaeb78d-d085-4c33-a8ac-089334a3bbdc"}],"id":"4ea2643d-02af-496a-a063-dc046594da23","_postman_id":"4ea2643d-02af-496a-a063-dc046594da23","description":""},{"name":"Compras","item":[{"name":"1. Cadastro de Fornecedores","item":[{"name":"Criar fornecedor","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"2ae27099-62f3-4f44-ab2d-4be523c57c26","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"C1234567\", // Código único de integração do fornecedor\n    \"name\": \"ABC Supplies Ltd.\", // Nome completo do fornecedor\n    \"short_name\": \"ABC Supplies\", // Nome curto ou fantasia do fornecedor\n    \"registered_number\": \"12345678000190\", // CNPJ do fornecedor (ou equivalente)\n    \"document\": \"DOC12345\", // Documento interno ou código alternativo do fornecedor\n    \"postal_code\": \"12345-678\", // CEP do endereço\n    \"address\": \"Rua das Flores, 100\", // Logradouro (rua, avenida etc.)\n    \"address_number\": \"100\", // Número do endereço\n    \"complement\": \"Sala 201\", // Complemento do endereço\n    \"zone\": \"Centro\", // Bairro ou zona\n    \"city\": \"São Paulo\", // Cidade\n    \"state\": \"SP\", // Estado (UF)\n    \"country\": \"BR\", // País (código ISO)\n    \"active\": true // Indica se o fornecedor está ativo\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/","description":"<h3 id=\"request\">Request</h3>\n<p>This endpoint allows you to create a new category using the HTTP POST method.</p>\n","urlObject":{"path":["api","v1","suppliers",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7f21e33c-93b9-4edb-8333-f32ec6891ae2","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"C123456\",\n    \"name\": \"ABC Supplies Ltd.\",\n    \"short_name\": \"ABC Supplies\",\n    \"registered_number\": \"12345678000190\",\n    \"document\": \"DOC12345\",\n    \"postal_code\": \"12345-678\",\n    \"address\": \"Rua das Flores, 100\",\n    \"address_number\": \"100\",\n    \"complement\": \"Sala 201\",\n    \"zone\": \"Centro\",\n    \"city\": \"São Paulo\",\n    \"state\": \"SP\",\n    \"country\": \"BR\",\n    \"active\": true\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 11:45:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"bf11276b-3839-4d91-9a4b-9a61d83cc603","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"C123456\",\n    \"name\": \"ABC Supplies Ltd.\",\n    \"short_name\": \"ABC Supplies\",\n    \"registered_number\": \"12345678000190\",\n    \"document\": \"DOC12345\",\n    \"postal_code\": \"12345-678\",\n    \"address\": \"Rua das Flores, 100\",\n    \"address_number\": \"100\",\n    \"complement\": \"Sala 201\",\n    \"zone\": \"Centro\",\n    \"city\": \"São Paulo\",\n    \"state\": \"SP\",\n    \"country\": \"BR\",\n    \"active\": true\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 11:47:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"182"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error\": \"Any valid company supplier to insert. [{'company_supplier': \\\"Company supplier 'C123456' already exists in 'ABC Supplies Ltd.'\\\"}]\",\n    \"status_code\": 400,\n    \"code\": \"invalid_data\"\n}"}],"_postman_id":"2ae27099-62f3-4f44-ab2d-4be523c57c26"},{"name":"Atualizar fornecedor","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"2402ecf9-bfb2-4f3f-b772-24a711ca97a9","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"C1234567\", // Código único de integração do fornecedor\n    \"name\": \"ABC Supplies Ltd.\", // Nome completo do fornecedor\n    \"short_name\": \"ABC Supplies\", // Nome curto ou fantasia do fornecedor\n    \"registered_number\": \"12345678000190\", // CNPJ do fornecedor (ou equivalente)\n    \"document\": \"DOC12345\", // Documento interno ou código alternativo do fornecedor\n    \"postal_code\": \"12345-678\", // CEP do endereço\n    \"address\": \"Rua das Flores, 100\", // Logradouro (rua, avenida etc.)\n    \"address_number\": \"100\", // Número do endereço\n    \"complement\": \"Sala 201\", // Complemento do endereço\n    \"zone\": \"Centro\", // Bairro ou zona\n    \"city\": \"São Paulo\", // Cidade\n    \"state\": \"SP\", // Estado (UF)\n    \"country\": \"BR\", // País (código ISO)\n    \"active\": true // Indica se o fornecedor está ativo\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/","urlObject":{"path":["api","v1","suppliers",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"465d54f3-1282-4ceb-9bc2-25573665940a","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"C123456\",\n    \"name\": \"ABC Supplies Ltd.\",\n    \"short_name\": \"ABC Supplies\",\n    \"registered_number\": \"12345678000190\",\n    \"document\": \"DOC12345\",\n    \"postal_code\": \"12345-678\",\n    \"address\": \"Rua das Flores, 100\",\n    \"address_number\": \"100\",\n    \"complement\": \"Sala 201\",\n    \"zone\": \"Centro\",\n    \"city\": \"São Paulo\",\n    \"state\": \"SP\",\n    \"country\": \"BR\",\n    \"active\": true\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 11:45:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"85e9da2b-60d2-45da-8021-290ca2f9026f","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"C123456\",\n    \"name\": \"ABC Supplies Ltd.\",\n    \"short_name\": \"ABC Supplies\",\n    \"registered_number\": \"12345678000190\",\n    \"document\": \"DOC12345\",\n    \"postal_code\": \"12345-678\",\n    \"address\": \"Rua das Flores, 100\",\n    \"address_number\": \"100\",\n    \"complement\": \"Sala 201\",\n    \"zone\": \"Centro\",\n    \"city\": \"São Paulo\",\n    \"state\": \"SP\",\n    \"country\": \"BR\",\n    \"active\": true\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 11:47:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"182"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error\": \"Any valid company supplier to insert. [{'company_supplier': \\\"Company supplier 'C123456' already exists in 'ABC Supplies Ltd.'\\\"}]\",\n    \"status_code\": 400,\n    \"code\": \"invalid_data\"\n}"}],"_postman_id":"2402ecf9-bfb2-4f3f-b772-24a711ca97a9"},{"name":"Obter lista de fornecedores","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":["body = pm.response.json()\r","pm.environment.set('bearerToken', body.access_token)"],"type":"text/javascript","packages":{}}}],"id":"42a80ee5-9c50-4494-aa52-6d054560a53a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/","urlObject":{"path":["api","v1","suppliers",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bc5afb20-4cb7-42cc-a840-b498e3a473a6","name":"201 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"14254\",\n  \"name\": \"Parent category\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 May 2025 20:40:55 GMT"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 6,\n    \"page_size\": 100,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"integration_code\": \"C1234567\",\n            \"name\": \"ABC Supplies Ltd.\",\n            \"short_name\": \"ABC Supplies\",\n            \"registered_number\": \"12345678000190\",\n            \"document\": \"DOC12345\",\n            \"postal_code\": \"12345-678\",\n            \"address\": \"Rua das Flores, 100\",\n            \"address_number\": \"100\",\n            \"complement\": \"Sala 201\",\n            \"zone\": \"Centro\",\n            \"city\": \"São Paulo\",\n            \"state\": \"SP\",\n            \"country\": \"BR\",\n            \"active\": true\n        },\n        {\n            \"integration_code\": \"C123456\",\n            \"name\": \"ABC Supplies Ltd.\",\n            \"short_name\": \"ABC Supplies\",\n            \"registered_number\": \"12345678000190\",\n            \"document\": \"DOC12345\",\n            \"postal_code\": \"12345-678\",\n            \"address\": \"Rua das Flores, 100\",\n            \"address_number\": \"100\",\n            \"complement\": \"Sala 201\",\n            \"zone\": \"Centro\",\n            \"city\": \"São Paulo\",\n            \"state\": \"SP\",\n            \"country\": \"BR\",\n            \"active\": true\n        },\n        {\n            \"integration_code\": \"SUP-321\",\n            \"name\": \"Distribuidora Varejão\",\n            \"short_name\": null,\n            \"registered_number\": null,\n            \"document\": null,\n            \"postal_code\": null,\n            \"address\": null,\n            \"address_number\": null,\n            \"complement\": null,\n            \"zone\": null,\n            \"city\": null,\n            \"state\": null,\n            \"country\": null,\n            \"active\": true\n        },\n        {\n            \"integration_code\": \"1028804\",\n            \"name\": \"Spal Industria Brasileira De Bebidas S/A\",\n            \"short_name\": null,\n            \"registered_number\": null,\n            \"document\": null,\n            \"postal_code\": null,\n            \"address\": null,\n            \"address_number\": null,\n            \"complement\": null,\n            \"zone\": null,\n            \"city\": null,\n            \"state\": null,\n            \"country\": null,\n            \"active\": true\n        },\n        {\n            \"integration_code\": \"1\",\n            \"name\": \"Fornecedor 1\",\n            \"short_name\": null,\n            \"registered_number\": null,\n            \"document\": null,\n            \"postal_code\": null,\n            \"address\": null,\n            \"address_number\": null,\n            \"complement\": null,\n            \"zone\": null,\n            \"city\": null,\n            \"state\": null,\n            \"country\": null,\n            \"active\": true\n        },\n        {\n            \"integration_code\": \"0001\",\n            \"name\": \"Fornecedor Salesmarket 01\",\n            \"short_name\": \"Fornecedor Salesmarket 01\",\n            \"registered_number\": \"00.000.000/0000-00\",\n            \"document\": null,\n            \"postal_code\": null,\n            \"address\": null,\n            \"address_number\": null,\n            \"complement\": null,\n            \"zone\": null,\n            \"city\": null,\n            \"state\": null,\n            \"country\": null,\n            \"active\": true\n        }\n    ]\n}"}],"_postman_id":"42a80ee5-9c50-4494-aa52-6d054560a53a"}],"id":"3ed606b1-51c4-4716-b8e9-90715862cc49","description":"<h3 id=\"visão-geral\">Visão geral</h3>\n<p>Um forencedor representa qualquer parceiro que possa abastecer um SKU — indústria, distribuidor, atacadista, trading company.</p>\n<p>Ele precisa existir <strong>antes</strong> de enviarmos <strong>Parâmetros de Compra</strong> e <strong>Pedidos de Compra</strong>, pois esses recursos referenciam o campo <code>supplier_integration_code</code>.</p>\n<h3 id=\"endpoints\">Endpoints</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Método</th>\n<th>Rota</th>\n<th>Limite Lote</th>\n<th>Uso</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>GET</strong></td>\n<td><code>/api/v1/suppliers/</code></td>\n<td>—</td>\n<td>Listar fornecedores (paginado)</td>\n</tr>\n<tr>\n<td><strong>POST</strong></td>\n<td><code>/api/v1/suppliers/</code></td>\n<td>100</td>\n<td>Inserir novos fornecedores</td>\n</tr>\n<tr>\n<td><strong>PUT</strong></td>\n<td><code>/api/v1/suppliers/</code></td>\n<td>100</td>\n<td>Atualizar ou criar (upsert) fornecedores em lote</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"estrutura-do-objeto\">Estrutura do objeto</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>integration_code</code></td>\n<td>string</td>\n<td><strong>Sim</strong></td>\n<td>Identificador interno do seu ERP. Chave primária e de idempotência.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td><strong>Sim</strong></td>\n<td>Razão social ou nome fantasia principal.</td>\n</tr>\n<tr>\n<td><code>short_name</code></td>\n<td>string</td>\n<td>Não</td>\n<td>Nome abreviado (max 150 caracteres).</td>\n</tr>\n<tr>\n<td><code>registered_number</code></td>\n<td>string</td>\n<td>Não</td>\n<td>CNPJ ou documento oficial.</td>\n</tr>\n<tr>\n<td><code>document</code></td>\n<td>string</td>\n<td>Não</td>\n<td>Nº de inscrição estadual, municipal etc.</td>\n</tr>\n<tr>\n<td><code>postal_code</code></td>\n<td>string</td>\n<td>Não</td>\n<td>CEP.</td>\n</tr>\n<tr>\n<td><code>address</code>, <code>address_number</code>, <code>complement</code>, <code>zone</code>, <code>city</code>, <code>state</code>, <code>country</code></td>\n<td>string</td>\n<td>Não</td>\n<td>Dados completos de endereço (ver enum de estados).</td>\n</tr>\n<tr>\n<td><code>active</code></td>\n<td>boolean</td>\n<td>Não (default <code>true</code>)</td>\n<td>Indica se o fornecedor está apto a receber pedidos.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"regras-de-negócio\">Regras de Negócio</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Tema</th>\n<th>Regra</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Lote máximo</strong></td>\n<td><code>POST</code>/<code>PUT</code> em <code>/suppliers/</code> aceita até <strong>100</strong> registros por chamada.</td>\n</tr>\n<tr>\n<td><strong>Idempotência</strong></td>\n<td>Se um <code>integration_code</code> já existe, o <code>POST</code> devolve <strong>409</strong>; use <code>PUT</code> para sobrescrever.</td>\n</tr>\n<tr>\n<td><strong>Referencial</strong></td>\n<td><code>supplier_integration_code</code> deve existir antes de criar parâmetros ou pedidos de compra.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"checklist-de-integração-obrigatório\">Checklist de Integração obrigatório</h2>\n<ol>\n<li><p><strong>Categorias</strong> ✅</p>\n</li>\n<li><p><strong>Produtos</strong> ✅</p>\n</li>\n<li><p><strong>Fornecedores</strong> ✅</p>\n</li>\n<li><p>Pedidos de compra</p>\n</li>\n<li><p>Vendas</p>\n</li>\n</ol>\n","_postman_id":"3ed606b1-51c4-4716-b8e9-90715862cc49"},{"name":"2. Pedidos de Compra","item":[{"name":"Criar pedido","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"5553a269-2cb6-4331-b2c6-78aeb9ea2bd7","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"PO123456\", // Código único do pedido de compra para integração\n  \"branch_integration_code\": \"C001\", // Código da filial que está realizando o pedido\n  \"supplier_integration_code\": \"C123456\", // Código do fornecedor\n  \"number\": \"ORD-2024-001\", // Número do pedido (visível/operacional)\n  \"sales_rep_name\": \"João Barbosa\", // Nome do representante de vendas\n  \"issue_date\": \"2024-05-01T00:00:00Z\", // Data de emissão do pedido\n  \"estimated_delivery_date\": \"2024-05-15T00:00:00Z\", // Previsão de entrega\n  \"delivery_date\": \"2024-05-16\", // Data real da entrega (se já ocorreu)\n  \"status\": \"PENDING\", // Status do pedido: PENDING, APPROVED, DELIVERED etc.\n  \"total_value\": 10000, // Valor total do pedido (sem frete)\n  \"shipping_value\": 150, // Valor do frete\n  \"shipping_type\": \"CIF\", // Tipo de frete: CIF, FOB etc.\n  \"origin_integration_code\": \"PO122222\", // Código de origem, se o pedido for derivado de outro\n  \"observation\": \"High priority order.\", // Observações gerais do pedido\n  \"transaction_integration_code\": \"TXN-PO123456\", // Código de transação relacionado (financeiro, por exemplo)\n  \"invoice_integration_code\": \"35240412345678000123550010000000012345678901\", // Chave da nota fiscal eletrônica\n  \"items\": [ // Lista de itens do pedido\n    {\n      \"sku\": \"98765432\", // Código SKU do produto\n      \"product_name\": \"Example Product 1\", // Nome do produto\n      \"last_paid_price\": 95, // Último preço pago pelo item\n      \"total_price\": 950, // Valor total do item no pedido\n      \"average_price\": 95, // Preço médio negociado\n      \"negotiated_discount\": 0, // Desconto negociado em %\n      \"ordered_quantity\": 10, // Quantidade pedida\n      \"delivered_quantity\": 0, // Quantidade entregue (se parcial, pode ser menor)\n      \"delivery_prediction\": \"2024-05-15\", // Previsão de entrega do item\n      \"delivery_date\": \"2024-05-16\", // Data real de entrega do item\n      \"status\": \"PENDING\" // Status do item: PENDING, DELIVERED etc.\n    },\n    {\n      \"sku\": \"00170628\",\n      \"product_name\": \"Example Product 2\",\n      \"last_paid_price\": 20,\n      \"total_price\": 80,\n      \"average_price\": 20,\n      \"negotiated_discount\": 20,\n      \"ordered_quantity\": 5,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/purchase-orders/","urlObject":{"path":["api","v1","purchase-orders",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"0d8d1240-24fc-4057-bd49-59336aff54a1","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"PO123456\",\n  \"branch_integration_code\": \"C001\",\n  \"supplier_integration_code\": \"C123456\",\n  \"number\": \"ORD-2024-001\",\n  \"sales_rep_name\": \"João Barbosa\",\n  \"issue_date\": \"2024-05-01\",\n  \"estimated_delivery_date\": \"2024-05-15\",\n  \"delivery_date\": \"2024-05-16\",\n  \"status\": \"PENDING\", \n  \"total_value\": 10000,\n  \"shipping_value\": 150,\n  \"shipping_type\": \"CIF\",\n  \"origin_integration_code\": \"PO122222\",\n  \"observation\": \"High priority order.\",\n  \"transaction_integration_code\": \"TXN-PO123456\",\n  \"invoice_integration_code\": \"35240412345678000123550010000000012345678901\",\n  \"items\": [\n    {\n      \"sku\": \"98765432\",\n      \"product_name\": \"Example Product 1\",\n      \"last_paid_price\": 95,\n      \"total_price\": 950,\n      \"average_price\": 95,\n      \"negotiated_discount\": 0,\n      \"ordered_quantity\": 10,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\" \n    },\n    {\n      \"sku\": \"00170628\",\n      \"product_name\": \"Example Product 2\",\n      \"last_paid_price\": 20,\n      \"total_price\": 80,\n      \"average_price\": 20,\n      \"negotiated_discount\": 20,\n      \"ordered_quantity\": 5,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/purchase-orders/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 14:49:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"38"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"description\": \"success\"\n}"},{"id":"31bc425c-2fff-46cd-8e67-383e31c0f275","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"PO123456\",\n  \"branch_integration_code\": \"C01\",\n  \"supplier_integration_code\": \"C123456\",\n  \"number\": \"ORD-2024-001\",\n  \"sales_rep_name\": \"João Barbosa\",\n  \"issue_date\": \"2024-05-01\",\n  \"estimated_delivery_date\": \"2024-05-15\",\n  \"delivery_date\": \"2024-05-16\",\n  \"status\": \"PENDING\", \n  \"total_value\": 10000,\n  \"shipping_value\": 150,\n  \"shipping_type\": \"CIF\",\n  \"origin_integration_code\": \"PO122222\",\n  \"observation\": \"High priority order.\",\n  \"transaction_integration_code\": \"TXN-PO123456\",\n  \"invoice_integration_code\": \"35240412345678000123550010000000012345678901\",\n  \"items\": [\n    {\n      \"sku\": \"98765432\",\n      \"product_name\": \"Example Product 1\",\n      \"last_paid_price\": 95,\n      \"total_price\": 950,\n      \"average_price\": 95,\n      \"negotiated_discount\": 0,\n      \"ordered_quantity\": 10,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\" \n    },\n    {\n      \"sku\": \"00170628\",\n      \"product_name\": \"Example Product 2\",\n      \"last_paid_price\": 20,\n      \"total_price\": 80,\n      \"average_price\": 20,\n      \"negotiated_discount\": 20,\n      \"ordered_quantity\": 5,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/purchase-orders/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 14:27:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Company branch not found for 'branch_integration_code': 'C01'\",\n    \"status_code\": 400,\n    \"code\": \"invalid_data\"\n}"}],"_postman_id":"5553a269-2cb6-4331-b2c6-78aeb9ea2bd7"},{"name":"Atualizar pedido","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"38ce807a-225b-4f5a-b899-d5deb27be106","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"PO123456\", // Código único do pedido de compra para integração\n  \"branch_integration_code\": \"C001\", // Código da filial que está realizando o pedido\n  \"supplier_integration_code\": \"C123456\", // Código do fornecedor\n  \"number\": \"ORD-2024-001\", // Número do pedido (visível/operacional)\n  \"sales_rep_name\": \"João Barbosa\", // Nome do representante de vendas\n  \"issue_date\": \"2024-05-01T00:00:00Z\", // Data de emissão do pedido\n  \"estimated_delivery_date\": \"2024-05-15T00:00:00Z\", // Previsão de entrega\n  \"delivery_date\": \"2024-05-16\", // Data real da entrega (se já ocorreu)\n  \"status\": \"PENDING\", // Status do pedido: PENDING, APPROVED, DELIVERED etc.\n  \"total_value\": 10000, // Valor total do pedido (sem frete)\n  \"shipping_value\": 150, // Valor do frete\n  \"shipping_type\": \"CIF\", // Tipo de frete: CIF, FOB etc.\n  \"origin_integration_code\": \"PO122222\", // Código de origem, se o pedido for derivado de outro\n  \"observation\": \"High priority order.\", // Observações gerais do pedido\n  \"transaction_integration_code\": \"TXN-PO123456\", // Código de transação relacionado (financeiro, por exemplo)\n  \"invoice_integration_code\": \"35240412345678000123550010000000012345678901\", // Chave da nota fiscal eletrônica\n  \"items\": [ // Lista de itens do pedido\n    {\n      \"sku\": \"98765432\", // Código SKU do produto\n      \"product_name\": \"Example Product 1\", // Nome do produto\n      \"last_paid_price\": 95, // Último preço pago pelo item\n      \"total_price\": 950, // Valor total do item no pedido\n      \"average_price\": 95, // Preço médio negociado\n      \"negotiated_discount\": 0, // Desconto negociado em %\n      \"ordered_quantity\": 10, // Quantidade pedida\n      \"delivered_quantity\": 0, // Quantidade entregue (se parcial, pode ser menor)\n      \"delivery_prediction\": \"2024-05-15\", // Previsão de entrega do item\n      \"delivery_date\": \"2024-05-16\", // Data real de entrega do item\n      \"status\": \"PENDING\" // Status do item: PENDING, DELIVERED etc.\n    },\n    {\n      \"sku\": \"00170628\",\n      \"product_name\": \"Example Product 2\",\n      \"last_paid_price\": 20,\n      \"total_price\": 80,\n      \"average_price\": 20,\n      \"negotiated_discount\": 20,\n      \"ordered_quantity\": 5,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/purchase-orders/","urlObject":{"path":["api","v1","purchase-orders",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a3554596-e9b4-4698-9d4f-5bf37e9e9874","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"PO123456\",\n  \"branch_integration_code\": \"C001\",\n  \"supplier_integration_code\": \"C123456\",\n  \"number\": \"ORD-2024-001\",\n  \"sales_rep_name\": \"João Barbosa\",\n  \"issue_date\": \"2024-05-01\",\n  \"estimated_delivery_date\": \"2024-05-15\",\n  \"delivery_date\": \"2024-05-16\",\n  \"status\": \"PENDING\", \n  \"total_value\": 10000,\n  \"shipping_value\": 150,\n  \"shipping_type\": \"CIF\",\n  \"origin_integration_code\": \"PO122222\",\n  \"observation\": \"High priority order.\",\n  \"transaction_integration_code\": \"TXN-PO123456\",\n  \"invoice_integration_code\": \"35240412345678000123550010000000012345678901\",\n  \"items\": [\n    {\n      \"sku\": \"98765432\",\n      \"product_name\": \"Example Product 1\",\n      \"last_paid_price\": 95,\n      \"total_price\": 950,\n      \"average_price\": 95,\n      \"negotiated_discount\": 0,\n      \"ordered_quantity\": 10,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\" \n    },\n    {\n      \"sku\": \"00170628\",\n      \"product_name\": \"Example Product 2\",\n      \"last_paid_price\": 20,\n      \"total_price\": 80,\n      \"average_price\": 20,\n      \"negotiated_discount\": 20,\n      \"ordered_quantity\": 5,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/purchase-orders/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 14:49:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"38"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"description\": \"success\"\n}"},{"id":"c05086fa-b807-4786-92ab-52eff39b60d1","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"PO123456\",\n  \"branch_integration_code\": \"C01\",\n  \"supplier_integration_code\": \"C123456\",\n  \"number\": \"ORD-2024-001\",\n  \"sales_rep_name\": \"João Barbosa\",\n  \"issue_date\": \"2024-05-01\",\n  \"estimated_delivery_date\": \"2024-05-15\",\n  \"delivery_date\": \"2024-05-16\",\n  \"status\": \"PENDING\", \n  \"total_value\": 10000,\n  \"shipping_value\": 150,\n  \"shipping_type\": \"CIF\",\n  \"origin_integration_code\": \"PO122222\",\n  \"observation\": \"High priority order.\",\n  \"transaction_integration_code\": \"TXN-PO123456\",\n  \"invoice_integration_code\": \"35240412345678000123550010000000012345678901\",\n  \"items\": [\n    {\n      \"sku\": \"98765432\",\n      \"product_name\": \"Example Product 1\",\n      \"last_paid_price\": 95,\n      \"total_price\": 950,\n      \"average_price\": 95,\n      \"negotiated_discount\": 0,\n      \"ordered_quantity\": 10,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\" \n    },\n    {\n      \"sku\": \"00170628\",\n      \"product_name\": \"Example Product 2\",\n      \"last_paid_price\": 20,\n      \"total_price\": 80,\n      \"average_price\": 20,\n      \"negotiated_discount\": 20,\n      \"ordered_quantity\": 5,\n      \"delivered_quantity\": 0,\n      \"delivery_prediction\": \"2024-05-15\",\n      \"delivery_date\": \"2024-05-16\",\n      \"status\": \"PENDING\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/purchase-orders/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 14:27:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Company branch not found for 'branch_integration_code': 'C01'\",\n    \"status_code\": 400,\n    \"code\": \"invalid_data\"\n}"}],"_postman_id":"38ce807a-225b-4f5a-b899-d5deb27be106"},{"name":"Obter lista de pedidos","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"d5ad1ffe-37ed-4fb0-87e8-f48f391a9f40","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/purchase-orders/","urlObject":{"path":["api","v1","purchase-orders",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"6b903d9e-74f8-43c5-b0ed-3a5f5f1086c5","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/api/v1/purchase-orders/","host":["{{base_url}}"],"path":["api","v1","purchase-orders",""],"query":[{"key":"page","value":"1","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 16:52:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"68"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 0,\n    \"page_size\": 100,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"integration_code\": \"PO123477\",\n            \"branch_integration_code\": \"00000000000000\",\n            \"supplier_integration_code\": \"1028804\",\n            \"status\": \"PENDING\",\n            \"number\": \"TES-2025-089\",\n            \"sales_rep_name\": \"João da Silva\",\n            \"issue_date\": \"2025-02-17T00:00:00\",\n            \"estimated_delivery_date\": null,\n            \"delivery_date\": null,\n            \"total_value\": \"100.90\",\n            \"shipping_value\": \"0.00\",\n            \"shipping_type\": \"CIF\",\n            \"origin\": \"INTEGRATION\",\n            \"items\": [\n                {\n                    \"sku\": \"4490177\",\n                    \"product_name\": \"vinho\",\n                    \"last_paid_price\": \"62.40\",\n                    \"average_price\": \"62.40\",\n                    \"status\": \"PENDING\",\n                    \"delivery_date\": \"2025-02-13\",\n                    \"total_price\": \"62.40\",\n                    \"negotiated_discount\": \"0.00\",\n                    \"ordered_quantity\": \"12.00\",\n                    \"delivered_quantity\": \"0.00\",\n                    \"delivery_prediction\": \"2025-02-13\"\n                },\n                {\n                    \"sku\": \"812153\",\n                    \"product_name\": \"queijo\",\n                    \"last_paid_price\": \"327.70\",\n                    \"average_price\": \"327.70\",\n                    \"status\": \"PENDING\",\n                    \"delivery_date\": \"2025-02-13\",\n                    \"total_price\": \"327.70\",\n                    \"negotiated_discount\": \"0.00\",\n                    \"ordered_quantity\": \"60.00\",\n                    \"delivered_quantity\": \"0.00\",\n                    \"delivery_prediction\": \"2025-02-13\"\n                },\n                {\n                    \"sku\": \"576247\",\n                    \"product_name\": \"Refrig Coca-Cola 1l  Retornavel\",\n                    \"last_paid_price\": \"0.00\",\n                    \"average_price\": \"0.00\",\n                    \"status\": \"PENDING\",\n                    \"delivery_date\": null,\n                    \"total_price\": \"0.00\",\n                    \"negotiated_discount\": \"0.00\",\n                    \"ordered_quantity\": \"0.00\",\n                    \"delivered_quantity\": \"0.00\",\n                    \"delivery_prediction\": null\n                },\n                {\n                    \"sku\": \"4469690\",\n                    \"product_name\": \"Refrig Fanta 350ml Misterio Beetlejuice Lata\",\n                    \"last_paid_price\": \"0.00\",\n                    \"average_price\": \"0.00\",\n                    \"status\": \"PENDING\",\n                    \"delivery_date\": null,\n                    \"total_price\": \"0.00\",\n                    \"negotiated_discount\": \"0.00\",\n                    \"ordered_quantity\": \"0.00\",\n                    \"delivered_quantity\": \"0.00\",\n                    \"delivery_prediction\": null\n                },\n                {\n                    \"sku\": \"4460863\",\n                    \"product_name\": \"Refrig Coca-Cola 310ml S/Acucar Fizzy Cookie Oreo\",\n                    \"last_paid_price\": \"0.00\",\n                    \"average_price\": \"0.00\",\n                    \"status\": \"PENDING\",\n                    \"delivery_date\": null,\n                    \"total_price\": \"0.00\",\n                    \"negotiated_discount\": \"0.00\",\n                    \"ordered_quantity\": \"0.00\",\n                    \"delivered_quantity\": \"0.00\",\n                    \"delivery_prediction\": null\n                },\n                {\n                    \"sku\": \"3986896\",\n                    \"product_name\": \"Zzcerveja Tiger 350ml Puro Malte Lata\",\n                    \"last_paid_price\": \"0.00\",\n                    \"average_price\": \"0.00\",\n                    \"status\": \"PENDING\",\n                    \"delivery_date\": null,\n                    \"total_price\": \"0.00\",\n                    \"negotiated_discount\": \"0.00\",\n                    \"ordered_quantity\": \"0.00\",\n                    \"delivered_quantity\": \"0.00\",\n                    \"delivery_prediction\": null\n                },\n                {\n                    \"sku\": \"2008297\",\n                    \"product_name\": \"Refrig Coca-Cola 1l  C/Casco\",\n                    \"last_paid_price\": \"0.00\",\n                    \"average_price\": \"0.00\",\n                    \"status\": \"PENDING\",\n                    \"delivery_date\": null,\n                    \"total_price\": \"0.00\",\n                    \"negotiated_discount\": \"0.00\",\n                    \"ordered_quantity\": \"0.00\",\n                    \"delivered_quantity\": \"0.00\",\n                    \"delivery_prediction\": null\n                }\n            ],\n            \"origin_integration_code\": null,\n            \"observation\": null,\n            \"transaction_integration_code\": null,\n            \"invoice_integration_code\": null\n        }\n    ]\n}"}],"_postman_id":"d5ad1ffe-37ed-4fb0-87e8-f48f391a9f40"},{"name":"Excluir pedido","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"848b2692-6450-4f71-9e1c-dff0e330bbf6","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/purchase-orders/:integration_code/","urlObject":{"path":["api","v1","purchase-orders",":integration_code",""],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"PO123456","key":"integration_code"}]}},"response":[{"id":"61e07f8c-cfcc-4626-b665-dfd090e8ce4a","name":"404 - Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/api/v1/purchase-orders/:integration_code/","host":["{{base_url}}"],"path":["api","v1","purchase-orders",":integration_code",""],"variable":[{"key":"integration_code","value":"234234"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 19:32:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Purchase order not found\",\n    \"status_code\": 404,\n    \"code\": \"internal_server_error\"\n}"},{"id":"ca251837-3d9a-4182-990e-bf0b7921bdfe","name":"200 - OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/api/v1/purchase-orders/:integration_code/","host":["{{base_url}}"],"path":["api","v1","purchase-orders",":integration_code",""],"variable":[{"key":"integration_code","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 19:34:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"38"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"description\": \"success\"\n}"}],"_postman_id":"848b2692-6450-4f71-9e1c-dff0e330bbf6"}],"id":"370f18f4-7d78-446c-a306-c6142fbb5eb9","description":"<p>Os <strong>Pedidos de Compra</strong> representam compromissos formais de reposição junto a cada fornecedor. Eles são</p>\n<p>essenciais para que a Salesrun:</p>\n<ul>\n<li><p>projete a <strong>cobertura futura de estoque</strong>,</p>\n</li>\n<li><p>evite recomendações duplicadas,</p>\n</li>\n<li><p>monitore atrasos e sugerir expedições emergenciais.</p>\n</li>\n</ul>\n<p><strong>Pré-requisitos</strong> Fornecedores e parâmetros de compra já devem estar integrados.</p>\n<hr />\n<h3 id=\"endpoints\">Endpoints</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Método</th>\n<th>Rota</th>\n<th>Uso</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>GET</strong></td>\n<td><code>/api/v1/purchase-orders/</code></td>\n<td>Lista paginada</td>\n</tr>\n<tr>\n<td><strong>POST</strong></td>\n<td><code>/api/v1/purchase-orders/</code></td>\n<td>Cria novo pedido</td>\n</tr>\n<tr>\n<td><strong>PUT</strong></td>\n<td><code>/api/v1/purchase-orders/</code></td>\n<td>Atualizar pedido</td>\n</tr>\n<tr>\n<td><strong>DELETE</strong></td>\n<td><code>/api/v1/purchase-orders/{integration_code}/</code></td>\n<td>Excluir pedido</td>\n</tr>\n</tbody>\n</table>\n</div><p>Autenticação: <strong>Bearer Token</strong> (scope <em>write</em> para POST/PUT/DELETE, <em>read</em> para GET).</p>\n<hr />\n<h2 id=\"estrutura-do-pedido\">Estrutura do Pedido</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th><strong>Obrigatório</strong></th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>integration_code</code></td>\n<td>string</td>\n<td>✔</td>\n<td>Chave única no ERP.</td>\n</tr>\n<tr>\n<td><code>branch_integration_code</code></td>\n<td>string</td>\n<td>✔*</td>\n<td>Filial remetente.</td>\n</tr>\n<tr>\n<td><code>supplier_integration_code</code></td>\n<td>string</td>\n<td>✔*</td>\n<td>Fornecedor destino.</td>\n</tr>\n<tr>\n<td><code>number</code></td>\n<td>string</td>\n<td>✔</td>\n<td>Número do pedido no ERP.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>enum</td>\n<td>✔</td>\n<td><code>PENDING</code> · <code>DELAYED</code> · <code>CANCELED</code> · <code>FINISHED</code></td>\n</tr>\n<tr>\n<td><code>issue_date</code></td>\n<td>datetime ISO-8601</td>\n<td>✔</td>\n<td>Data de emissão.</td>\n</tr>\n<tr>\n<td><code>estimated_delivery_date</code></td>\n<td>datetime</td>\n<td>—</td>\n<td>Previsão de entrega.</td>\n</tr>\n<tr>\n<td><code>delivery_date</code></td>\n<td>date</td>\n<td>—</td>\n<td>Data real quando finalizado.</td>\n</tr>\n<tr>\n<td><code>total_value</code></td>\n<td>decimal</td>\n<td>✔</td>\n<td>Valor total do pedido.</td>\n</tr>\n<tr>\n<td><code>shipping_value</code></td>\n<td>decimal</td>\n<td>✔</td>\n<td>Frete.</td>\n</tr>\n<tr>\n<td><code>shipping_type</code></td>\n<td>enum</td>\n<td>✔</td>\n<td><code>CIF</code> ou <code>FOB</code></td>\n</tr>\n<tr>\n<td><code>sales_rep_name</code></td>\n<td>string</td>\n<td>✔</td>\n<td>Comprador / vendedor responsável.</td>\n</tr>\n<tr>\n<td><code>origin</code></td>\n<td>enum</td>\n<td>—</td>\n<td>Origem do pedido (default <code>INTEGRATION</code>)</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td>array</td>\n<td>✔</td>\n<td>Itens (veja 4.3).</td>\n</tr>\n<tr>\n<td><code>origin_integration_code</code></td>\n<td>string</td>\n<td>—</td>\n<td>Para duplicação/revisão de pedidos.</td>\n</tr>\n<tr>\n<td><code>observation</code></td>\n<td>string</td>\n<td>—</td>\n<td>Observações livres.</td>\n</tr>\n<tr>\n<td><code>transaction_integration_code</code></td>\n<td>string</td>\n<td>—</td>\n<td>ID de transação financeira (opcional).</td>\n</tr>\n<tr>\n<td><code>invoice_integration_code</code></td>\n<td>string</td>\n<td>—</td>\n<td>Chave XML da NF-e.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"itens-do-pedido\">Itens do Pedido</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th><strong>Obrigatório</strong></th>\n<th>Observações</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>✔</td>\n<td>SKU corporativo.</td>\n</tr>\n<tr>\n<td><code>product_name</code></td>\n<td>string</td>\n<td>—</td>\n<td>Descrição (facilita logs).</td>\n</tr>\n<tr>\n<td><code>ordered_quantity</code></td>\n<td>decimal</td>\n<td>✔</td>\n<td>Quantidade pedida.</td>\n</tr>\n<tr>\n<td><code>delivered_quantity</code></td>\n<td>decimal</td>\n<td>✔</td>\n<td>Inicialmente <code>0</code>; atualize conforme recebimento.</td>\n</tr>\n<tr>\n<td><code>last_paid_price</code></td>\n<td>decimal</td>\n<td>—</td>\n<td>Preço da última compra.</td>\n</tr>\n<tr>\n<td><code>average_price</code></td>\n<td>decimal</td>\n<td>—</td>\n<td>Preço médio histórico.</td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>decimal</td>\n<td>—</td>\n<td>Valor de linha (= quantidade × preço).</td>\n</tr>\n<tr>\n<td><code>negotiated_discount</code></td>\n<td>decimal</td>\n<td>—</td>\n<td>Desconto por item.</td>\n</tr>\n<tr>\n<td><code>delivery_prediction</code></td>\n<td>date</td>\n<td>—</td>\n<td>Previsão por item (se difere do cabeçalho).</td>\n</tr>\n<tr>\n<td><code>delivery_date</code></td>\n<td>date</td>\n<td>—</td>\n<td>Data real.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>enum</td>\n<td>—</td>\n<td>Usa o mesmo conjunto <code>PENDING/…</code> (default <code>PENDING</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Regras</strong> – Para POST cada item exige: <code>sku</code>, <code>ordered_quantity</code> e <code>delivered_quantity</code> (mesmo que seja <code>0</code>).</p>\n<hr />\n<h2 id=\"boas-práticas\">Boas práticas</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Dica</th>\n<th>Benefício</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Envie assim que o pedido é criado</strong></td>\n<td>O motor já considera a futura entrega nos cálculos de ruptura.</td>\n</tr>\n<tr>\n<td><strong>Atualize</strong> <strong><code>status</code></strong> <strong>e</strong> <strong><code>delivered_quantity</code></strong> via <strong>PUT</strong> conforme recebimentos parciais</td>\n<td>Permite pistas de atraso (<code>DELAYED</code>) e estoque em trânsito.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"fluxo-recomendado\">Fluxo recomendado</h2>\n<ol>\n<li><p><strong>Pedido criado no ERP</strong> → <code>POST /purchase-orders/</code> (status <code>PENDING</code>).</p>\n</li>\n<li><p><strong>Fornecedor confirma entrega parcial</strong> → <code>PUT /purchase-orders/</code> atualizando itens (<code>delivered_quantity</code>) e, se aplicável, cabeçalho (<code>status</code> <code>DELAYED</code>).</p>\n</li>\n<li><p><strong>Pedido 100 % entregue</strong> → <code>PUT</code> marcando <code>status</code> <code>FINISHED</code> e preenchendo <code>delivery_date</code>.</p>\n</li>\n<li><p><strong>Erro de digitação?</strong> → <code>DELETE /purchase-orders/{integration_code}/</code> e re-crie corretamente.</p>\n</li>\n</ol>\n<h2 id=\"checklist-de-integração-obrigatório\">Checklist de Integração obrigatório</h2>\n<ol>\n<li><p><strong>Categorias</strong> ✅</p>\n</li>\n<li><p><strong>Produtos</strong> ✅</p>\n</li>\n<li><p><strong>Fornecedores</strong> ✅</p>\n</li>\n<li><p><strong>Pedidos de compra</strong> ✅</p>\n</li>\n<li><p>Vendas</p>\n</li>\n</ol>\n","_postman_id":"370f18f4-7d78-446c-a306-c6142fbb5eb9"},{"name":"3. Parâmetros de Compra","item":[{"name":"Criar novo parâmetro","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"250a959e-454c-4d24-9145-3a337230e6d3","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"3\", // Código de integração único do parâmetro de compra\n  \"supplier_integration_code\": \"1028804\", // Código de integração do fornecedor\n  \"branch_integration_code\": \"00000000000191\", // Código de integração da filial\n  \"lead_time\": 5, // Dias necessários entre o pedido e a entrega\n  \"interval\": 2, // Intervalo entre os pedidos conforme o tipo definido (ex: a cada 2 semanas)\n  \"categories\": [ // Categorias de produtos que serão considerados nesse parâmetro\n    \"CAT-SHP\",\n    \"P00100\"\n  ],\n  \"interval_type\": \"WEEK\", // Tipo do intervalo: DAY, WEEK ou MONTH\n  \"week_days\": [ // Dias da semana em que o pedido pode ser gerado (usado quando interval_type é WEEK)\n    \"MONDAY\" // Pode conter múltiplos: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY\n  ],\n  \"delivery_type\": \"DISTRIBUTED\", // Tipo de entrega: CENTRALIZED (único local) ou DISTRIBUTED (entrega por loja)\n  \"create_purchase_order\": true // Se true, o sistema irá gerar automaticamente o pedido de compra\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/purchasing-params/","urlObject":{"path":["api","v1","suppliers","purchasing-params",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a51b35a6-00c0-441b-9780-47c8648efc2f","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"2\",\n  \"supplier_integration_code\": \"1028804\",\n  \"branch_integration_code\": \"00000000000191\",\n  \"lead_time\": 5,\n  \"interval\": 2,\n  \"categories\": [\n    \"CAT-SHP\",\n    \"P001\"\n  ],\n  \"interval_type\": \"WEEK\",\n  \"week_days\": [\n    \"MONDAY\"\n  ],\n  \"delivery_type\": \"DISTRIBUTED\",\n  \"create_purchase_order\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/purchasing-params/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 19:24:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"0941ce91-683a-4676-85f1-55518a69fab4","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"2\",\n  \"supplier_integration_code\": \"1028804\",\n  \"branch_integration_code\": \"00000000000191\",\n  \"lead_time\": 5,\n  \"interval\": 2,\n  \"categories\": [\n    \"CAT-SHP\",\n    \"P00100\"\n  ],\n  \"interval_type\": \"WEEK\",\n  \"week_days\": [\n    \"MONDAY\"\n  ],\n  \"delivery_type\": \"DISTRIBUTED\",\n  \"create_purchase_order\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/purchasing-params/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 19:25:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"83"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error\": \"Category P00100 not found\",\n    \"status_code\": 400,\n    \"code\": \"category_not_found\"\n}"}],"_postman_id":"250a959e-454c-4d24-9145-3a337230e6d3"},{"name":"Atualizar parâmetro","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"3471fee6-c2df-4afe-9cf9-baa5b869d6b6","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"2\", // Código de integração único do parâmetro de compra\n  \"supplier_integration_code\": \"1028804\", // Código de integração do fornecedor\n  \"branch_integration_code\": \"00000000000191\", // Código de integração da filial\n  \"lead_time\": 5, // Dias necessários entre o pedido e a entrega\n  \"interval\": 2, // Intervalo entre os pedidos conforme o tipo definido (ex: a cada 2 semanas)\n  \"categories\": [ // Categorias de produtos que serão considerados nesse parâmetro\n    \"CAT-SHP\",\n    \"P001\"\n  ],\n  \"interval_type\": \"WEEK\", // Tipo do intervalo: DAY, WEEK ou MONTH\n  \"week_days\": [ // Dias da semana em que o pedido pode ser gerado (usado quando interval_type é WEEK)\n    \"MONDAY\" // Pode conter múltiplos: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY\n  ],\n  \"delivery_type\": \"DISTRIBUTED\", // Tipo de entrega: CENTRALIZED (único local) ou DISTRIBUTED (entrega por loja)\n  \"create_purchase_order\": true // Se true, o sistema irá gerar automaticamente o pedido de compra\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/purchasing-params/","urlObject":{"path":["api","v1","suppliers","purchasing-params",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"79dcc490-591a-4e47-968f-4035b30ef75e","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"2\",\n  \"supplier_integration_code\": \"1028804\",\n  \"branch_integration_code\": \"00000000000191\",\n  \"lead_time\": 5,\n  \"interval\": 2,\n  \"categories\": [\n    \"CAT-SHP\",\n    \"P001\"\n  ],\n  \"interval_type\": \"WEEK\",\n  \"week_days\": [\n    \"MONDAY\"\n  ],\n  \"delivery_type\": \"DISTRIBUTED\",\n  \"create_purchase_order\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/purchasing-params/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 19:24:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"b5702539-8108-4f73-91f1-02a91d05e00c","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"integration_code\": \"2\",\n  \"supplier_integration_code\": \"1028804\",\n  \"branch_integration_code\": \"00000000000191\",\n  \"lead_time\": 5,\n  \"interval\": 2,\n  \"categories\": [\n    \"CAT-SHP\",\n    \"P00100\"\n  ],\n  \"interval_type\": \"WEEK\",\n  \"week_days\": [\n    \"MONDAY\"\n  ],\n  \"delivery_type\": \"DISTRIBUTED\",\n  \"create_purchase_order\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/purchasing-params/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 19:25:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"83"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error\": \"Category P00100 not found\",\n    \"status_code\": 400,\n    \"code\": \"category_not_found\"\n}"}],"_postman_id":"3471fee6-c2df-4afe-9cf9-baa5b869d6b6"},{"name":"Excluir parâmetro","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"aefe91fd-5d81-4a05-bdb7-fb3edae4fd24","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/suppliers/purchasing-params/:integration_code/","urlObject":{"path":["api","v1","suppliers","purchasing-params",":integration_code",""],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"2","key":"integration_code"}]}},"response":[{"id":"a3cd1bb8-2e49-4adc-bddb-64ce676d9812","name":"404 - Not Found","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/api/v1/suppliers/purchasing-params/:integration_code/","host":["{{base_url}}"],"path":["api","v1","suppliers","purchasing-params",":integration_code",""],"variable":[{"key":"integration_code","value":"234234"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 19:32:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"72"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Params not found\",\n    \"status_code\": 404,\n    \"code\": \"params_not_found\"\n}"},{"id":"816fa2ef-96bf-4770-8f48-3eb3da18d0a3","name":"200 - OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{base_url}}/api/v1/suppliers/purchasing-params/:integration_code/","host":["{{base_url}}"],"path":["api","v1","suppliers","purchasing-params",":integration_code",""],"variable":[{"key":"integration_code","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 19:34:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"38"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"description\": \"success\"\n}"}],"_postman_id":"aefe91fd-5d81-4a05-bdb7-fb3edae4fd24"}],"id":"10610b20-d756-40d7-99b7-4e89f8964770","description":"<h2 id=\"visão-geral\">Visão geral</h2>\n<p>Os parâmetros de compra descrevem <em>como</em> cada filial compra de cada fornecedor:</p>\n<ul>\n<li><p><strong>Lead time</strong> (dias entre pedido e entrega)</p>\n</li>\n<li><p><strong>Frequência</strong> (ex.: toda 2ª feira, quinzenal, mensal)</p>\n</li>\n<li><p><strong>Categorias elegíveis</strong></p>\n</li>\n<li><p>Opção de criar pedido automático quando chegar a data programada</p>\n</li>\n</ul>\n<p>Esses parâmetros alimentam os algoritmos que geram <strong>recomendações de pedido</strong> e as datas previstas de reposição.</p>\n<h2 id=\"endpoints\">Endpoints</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Método</th>\n<th>Rota</th>\n<th>Limite Lote</th>\n<th>Uso</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>GET</strong></td>\n<td><code>/api/v1/suppliers/purchasing-params/</code></td>\n<td>—</td>\n<td>Listar parâmetros (paginado)</td>\n</tr>\n<tr>\n<td><strong>POST</strong></td>\n<td><code>/api/v1/suppliers/purchasing-params/</code></td>\n<td>—</td>\n<td>Criar novos parâmetros</td>\n</tr>\n<tr>\n<td><strong>PUT</strong></td>\n<td><code>/api/v1/suppliers/purchasing-params/</code></td>\n<td>—</td>\n<td>Atualizar (upsert) parâmetros</td>\n</tr>\n<tr>\n<td><strong>DELETE</strong></td>\n<td><code>/api/v1/suppliers/purchasing-params/{integration_code}/</code></td>\n<td>—</td>\n<td>Remover um conjunto de parâmetros</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"estrutura-do-objeto-purchasing-params\">Estrutura do objeto Purchasing Params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obr.</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>integration_code</code></td>\n<td>string</td>\n<td><strong>Sim</strong></td>\n<td>ID único do conjunto de parâmetros.</td>\n</tr>\n<tr>\n<td><code>supplier_integration_code</code></td>\n<td>string</td>\n<td><strong>Sim</strong></td>\n<td>Deve existir em <code>/suppliers/</code>.</td>\n</tr>\n<tr>\n<td><code>branch_integration_code</code></td>\n<td>string</td>\n<td><strong>Sim</strong></td>\n<td>Filial à qual o parâmetro se aplica.</td>\n</tr>\n<tr>\n<td><code>lead_time</code></td>\n<td>integer</td>\n<td><strong>Sim</strong></td>\n<td>Dias entre emissão do pedido e entrega.</td>\n</tr>\n<tr>\n<td><code>interval</code></td>\n<td>integer</td>\n<td>Não</td>\n<td>Número do intervalo (ex.: “2” em “cada 2 semanas”).</td>\n</tr>\n<tr>\n<td><code>interval_type</code></td>\n<td>enum `DAY</td>\n<td>WEEK</td>\n<td>MONTH`</td>\n</tr>\n<tr>\n<td><code>week_days</code></td>\n<td>array</td>\n<td>Cond.²</td>\n<td>Dias da semana aceitos (se <code>interval_type=WEEK</code>). Valores: MONDAY…SUNDAY.</td>\n</tr>\n<tr>\n<td><code>categories</code></td>\n<td>array</td>\n<td>Não</td>\n<td>Limita pedidos às categorias listadas (<code>integration_code</code> de categoria).</td>\n</tr>\n<tr>\n<td><code>delivery_type</code></td>\n<td>enum `CENTRALIZED</td>\n<td>DISTRIBUTED`</td>\n<td>Não</td>\n</tr>\n<tr>\n<td><code>create_purchase_order</code></td>\n<td>boolean</td>\n<td>Não (default <code>false</code>)</td>\n<td>Gera automaticamente um PO quando <code>next_order_date</code> chega.</td>\n</tr>\n</tbody>\n</table>\n</div><p>¹ Obrigatório se quiser usar <code>interval</code>. ² Obrigatório quando <code>interval_type</code> = <code>WEEK</code>.</p>\n<p>Campos obrigatórios marcados no esquema: <code>branch_integration_code</code>, <code>supplier_integration_code</code>, <code>integration_code</code>, <code>lead_time</code>.</p>\n<h2 id=\"regras-de-negócio\">Regras de negócio</h2>\n<p>Embora <strong>opcionais</strong>, os <strong>parâmetros de compra</strong> são <strong>altamente recomendados</strong>, pois desempenham um papel crucial na <strong>auditoria dos pedidos de compra</strong> e no funcionamento eficaz da reposição automatizada.</p>\n","_postman_id":"10610b20-d756-40d7-99b7-4e89f8964770"},{"name":"4. Pooling de Pedidos","item":[],"id":"4f7ec43c-0e8a-4cbc-a02f-6883efb3c14a","description":"<h2 id=\"visão-geral\"><strong>Visão Geral</strong></h2>\n<p>Este endpoint implementa uma estratégia de <em>polling</em> para consumo de <strong>eventos de novos pedidos de compra sugeridos</strong> gerados pela plataforma Salesrun. Ele é utilizado para monitorar continuamente a criação de novos pedidos sugeridos e garantir que o ERP parceiro possa reagir em tempo real.</p>\n<p>Sempre que a Salesrun gerar um novo pedido de compra com base nos dados integrados e nos algoritmos de previsão de demanda, um evento será disponibilizado nesse endpoint.</p>\n<hr />\n<ul>\n<li>TODO: Subir endpoints e desenhar fluxo</li>\n</ul>\n<h2 id=\"fluxo-esperado-de-integração\"><strong>Fluxo esperado de integração</strong></h2>\n<ol>\n<li><p>O ERP realiza chamadas periódicas ao <code>GET /v1/purchase-orders/events</code> para verificar se há novos eventos.</p>\n</li>\n<li><p>Caso um ou mais eventos sejam retornados, o ERP deve:</p>\n<ul>\n<li><p>Realizar um <code>GET /v1/purchase-orders/{id}</code> utilizando o <code>purchase_order_id</code> retornado no evento, para obter os detalhes completos do pedido sugerido.</p>\n</li>\n<li><p>Processar o pedido conforme sua lógica interna (criar no ERP, analisar, etc).</p>\n</li>\n<li><p>Finalizar o ciclo com um <code>POST /v1/purchase-orders/events/ack</code>, informando que o evento foi processado com sucesso. Isso evita reprocessamentos.</p>\n</li>\n</ul>\n</li>\n</ol>\n","_postman_id":"4f7ec43c-0e8a-4cbc-a02f-6883efb3c14a"}],"id":"9bfafd7b-73fe-4a72-9caa-5fd98475bf3c","_postman_id":"9bfafd7b-73fe-4a72-9caa-5fd98475bf3c","description":""},{"name":"Vendas","item":[{"name":"1. Envio em lote","item":[{"name":"Criar lote de itens","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"eef6e47a-dffc-4e19-981f-bf777551d71f","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"ORDERITEMID124\",\n    \"branch_integration_code\": \"BRANCH02\",\n    \"sale_number\": \"S-20240601\",\n    \"sale_date\": \"2024-06-01\",\n    \"sku\": \"SKU-002\",\n    \"quantity_ordered\": 1,\n    \"quantity_delivered\": 2,\n    \"value\": 100,\n    \"status\": \"FINISHED\"\n  },\n  {\n    \"integration_code\": \"ORDERITEMID125\",\n    \"branch_integration_code\": \"BRANCH02\",\n    \"sale_number\": \"S-20240601\",\n    \"sale_date\": \"2024-06-01\",\n    \"sku\": \"SKU-003\",\n    \"quantity_ordered\": 5,\n    \"quantity_delivered\": 5,\n    \"value\": 97.5,\n    \"status\": \"FINISHED\"\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/sales-orders/items/batch/","description":"<h3 id=\"request\">Request</h3>\n<p>This endpoint allows you to create a new category using the HTTP POST method.</p>\n","urlObject":{"path":["api","v1","sales-orders","items","batch",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"735f4331-f5d1-42ac-bd25-a91840d75703","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"PO123456\",\n    \"sale_number\": \"ORD-2024-001\",\n    \"branch_integration_code\": \"C01\",\n    \"sale_date\": \"2024-05-01\",\n    \"order_status\": \"PENDING\",\n    \"total\": 10000.00,\n    \"total_discount\": 500.00,\n    \"total_addition\": 150.00,\n    \"delivery_fee\": 100.00,\n    \"invoiced_amount\": 9600.00,\n    \"payment_method\": \"Credit Card\",\n    \"payment_condition\": \"30 days\",\n    \"payment_integration_code\": \"PAY123\",\n    \"customer_id\": \"CUST123\",\n    \"customer_name\": \"Customer XYZ\",\n    \"address\": \"Rua das Flores, 123\",\n    \"neighborhood\": \"Centro\",\n    \"postal_code\": \"12345-678\",\n    \"state\": \"SP\",\n    \"city\": \"Metropolis\",\n    \"channel\": \"Online\",\n    \"salesman\": \"João da Silva\",\n    \"salesman_integration_code\": \"SAL123\",\n    \"order_add_information\": \"No additional info\",\n    \"sku\": \"SKU123\",\n    \"ean\": \"EAN234\",\n    \"product_name\": \"Produto Exemplo 1\",\n    \"quantity_ordered\": 10.000,\n    \"quantity_delivered\": 0.000,\n    \"value\": 90.00,\n    \"discount\": 10.00,\n    \"addition\": 0.00,\n    \"add_information\": \"Handle with care\",\n    \"status\": \"PENDING\",\n    \"tags\": [\n        {\n          \"key\": \"key1\",\n          \"value\": \"value1\"\n        },\n        {\n          \"key\": \"key2\",\n          \"value\": \"value2\"\n        }\n      ]\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/sales-orders/items/batch/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Jun 2025 13:37:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Company branch not found for 'branch_integration_code': 'C01'\",\n    \"status_code\": 400,\n    \"code\": \"invalid_data\"\n}"},{"id":"40b8b8cb-92c8-48c8-9a5a-0c50bd5e53f4","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"integration_code\": \"ORDERITEMID124\",\n    \"branch_integration_code\": \"BRANCH02\",\n    \"sale_number\": \"S-20240601\",\n    \"sale_date\": \"2024-06-01\",\n    \"sku\": \"SKU-002\",\n    \"quantity_ordered\": 1,\n    \"quantity_delivered\": 2,\n    \"value\": 100,\n    \"status\": \"FINISHED\"\n  },\n  {\n    \"integration_code\": \"ORDERITEMID125\",\n    \"branch_integration_code\": \"BRANCH02\",\n    \"sale_number\": \"S-20240601\",\n    \"sale_date\": \"2024-06-01\",\n    \"sku\": \"SKU-003\",\n    \"quantity_ordered\": 5,\n    \"quantity_delivered\": 5,\n    \"value\": 97.5,\n    \"status\": \"FINISHED\"\n  }\n]\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/sales-orders/items/batch/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Jun 2025 13:44:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"63"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"description\": \"Batch items created successfully\"\n}"}],"_postman_id":"eef6e47a-dffc-4e19-981f-bf777551d71f"}],"id":"5ee19d7a-7aeb-418b-9ca4-08c87672d644","description":"<h2 id=\"visão-geral\"><strong>Visão Geral</strong></h2>\n<p>Os pedidos de venda registram toda saída de mercadoria e são a base dos modelos de demanda da Salesrun.</p>\n<p>A API de vendas permite o envio de vendas em formato <strong>linha a linha</strong>, onde cada item vendido representa um registro único contendo os dados do cabeçalho da venda e do item vendido.</p>\n<p>Este modelo facilita integrações com sistemas que exportam vendas a partir de estruturas tabulares (como planilhas ou tabelas SQL), além de permitir <strong>batches de até 500 linhas por requisição</strong>.</p>\n<hr />\n<h2 id=\"endpoints\">Endpoints</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Método</th>\n<th>Rota</th>\n<th>Lote máx.</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>POST</strong></td>\n<td><code>/api/v1/sales-orders/items/batch/</code></td>\n<td>500</td>\n<td>Envia vendas por item (estrutura flatten)</td>\n</tr>\n</tbody>\n</table>\n</div><p>Autenticação: <code>Authorization: Bearer</code></p>\n<hr />\n<h2 id=\"estrutura-da-linha-de-venda\">Estrutura da Linha de Venda</h2>\n<p>Cada objeto representa um <strong>item vendido</strong> junto com os metadados do pedido.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_integration_code</code></td>\n<td>string</td>\n<td>✔</td>\n<td>Identificador único do item da venda</td>\n</tr>\n<tr>\n<td><code>sale_number</code></td>\n<td>string</td>\n<td>✔</td>\n<td>Número fiscal ou cupom</td>\n</tr>\n<tr>\n<td><code>branch_integration_code</code></td>\n<td>string</td>\n<td>✔</td>\n<td>Código da filial</td>\n</tr>\n<tr>\n<td><code>sale_date</code></td>\n<td>date</td>\n<td>✔</td>\n<td>Data da venda</td>\n</tr>\n<tr>\n<td><code>order_status</code></td>\n<td>enum</td>\n<td>—</td>\n<td><code>PENDING</code>, <code>FINISHED</code>, <code>CANCELED</code>, <code>DELAYED</code></td>\n</tr>\n<tr>\n<td><code>total</code></td>\n<td>decimal(10,2)</td>\n<td>—</td>\n<td>Valor bruto da venda</td>\n</tr>\n<tr>\n<td><code>total_discount</code></td>\n<td>decimal(10,2)</td>\n<td>—</td>\n<td>Desconto total no cabeçalho</td>\n</tr>\n<tr>\n<td><code>total_addition</code></td>\n<td>decimal(10,2)</td>\n<td>—</td>\n<td>Adicional no cabeçalho</td>\n</tr>\n<tr>\n<td><code>delivery_fee</code></td>\n<td>decimal(10,2)</td>\n<td>—</td>\n<td>Taxa de entrega</td>\n</tr>\n<tr>\n<td><code>invoiced_amount</code></td>\n<td>decimal(10,2)</td>\n<td>—</td>\n<td>Valor líquido cobrado</td>\n</tr>\n<tr>\n<td><code>payment_method</code></td>\n<td>string</td>\n<td>—</td>\n<td>Forma de pagamento</td>\n</tr>\n<tr>\n<td><code>payment_condition</code></td>\n<td>string</td>\n<td>—</td>\n<td>Ex: \"30 dias\"</td>\n</tr>\n<tr>\n<td><code>payment_integration_code</code></td>\n<td>string</td>\n<td>—</td>\n<td>Código externo do meio de pagamento</td>\n</tr>\n<tr>\n<td><code>customer_id</code></td>\n<td>string</td>\n<td>—</td>\n<td>Dados do cliente (opcional)</td>\n</tr>\n<tr>\n<td><code>customer_name</code></td>\n<td>string</td>\n<td>—</td>\n<td>Dados do cliente (opcional)</td>\n</tr>\n<tr>\n<td><code>address</code></td>\n<td>string</td>\n<td>—</td>\n<td>Dados de entrega (opcional)</td>\n</tr>\n<tr>\n<td><code>neighborhood</code></td>\n<td>string</td>\n<td>—</td>\n<td>Dados de entrega (opcional)</td>\n</tr>\n<tr>\n<td><code>postal_code</code></td>\n<td>string</td>\n<td>—</td>\n<td>Dados de entrega (opcional)</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>string</td>\n<td>—</td>\n<td>Dados de entrega (opcional)</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>string</td>\n<td>—</td>\n<td>Dados de entrega (opcional)</td>\n</tr>\n<tr>\n<td><code>channel</code></td>\n<td>string</td>\n<td>—</td>\n<td>Canal da venda (<code>Online</code>, <code>LojaFisica</code>, etc.)</td>\n</tr>\n<tr>\n<td><code>salesman</code></td>\n<td>string</td>\n<td>—</td>\n<td>Vendedor responsável</td>\n</tr>\n<tr>\n<td><code>salesman_integration_code</code></td>\n<td>string</td>\n<td>—</td>\n<td>Código do vendedor</td>\n</tr>\n<tr>\n<td><code>order_add_information</code></td>\n<td>string</td>\n<td>—</td>\n<td>Observações adicionais</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>object</td>\n<td>—</td>\n<td>tags para clusterização de modelos</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campos-do-item\">Campos do Item:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>✔</td>\n<td>Código do produto</td>\n</tr>\n<tr>\n<td><code>ean</code></td>\n<td>string/null</td>\n<td>—</td>\n<td>GTIN (opcional)</td>\n</tr>\n<tr>\n<td><code>product_name</code></td>\n<td>string</td>\n<td>—</td>\n<td>Nome do produto</td>\n</tr>\n<tr>\n<td><code>quantity_ordered</code></td>\n<td>decimal(10,3)</td>\n<td>✔</td>\n<td>Quantidade vendida</td>\n</tr>\n<tr>\n<td><code>quantity_delivered</code></td>\n<td>decimal(10,3)</td>\n<td>✔</td>\n<td>Entregue até o momento</td>\n</tr>\n<tr>\n<td><code>value</code></td>\n<td>decimal(10,2)</td>\n<td>✔</td>\n<td>Valor unitário bruto</td>\n</tr>\n<tr>\n<td><code>discount</code></td>\n<td>decimal(10,2)</td>\n<td>—</td>\n<td>Desconto no item</td>\n</tr>\n<tr>\n<td><code>addition</code></td>\n<td>decimal(10,2)</td>\n<td>—</td>\n<td>Adicional no item</td>\n</tr>\n<tr>\n<td><code>add_information</code></td>\n<td>string</td>\n<td>—</td>\n<td>Ex: \"manuseio especial\"</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>✔</td>\n<td>Status do item (<code>PENDING</code>, <code>FINISHED</code>, ...)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"regras-de-negócio\">Regras de Negócio</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Regra</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Limite de batch</strong></td>\n<td>Máx. 500 linhas por requisição</td>\n</tr>\n<tr>\n<td><strong>Status válidos</strong></td>\n<td><code>PENDING</code>, <code>FINISHED</code>, <code>CANCELED</code>, <code>DELAYED</code></td>\n</tr>\n<tr>\n<td><strong>Campos obrigatórios</strong></td>\n<td><code>order_integration_code</code>, <code>branch_integration_code</code>, <code>sale_date</code>, <code>order_status</code>, <code>total</code>, <code>sku</code>, <code>quantity_ordered</code>, <code>quantity_delivered</code></td>\n</tr>\n<tr>\n<td><strong>SKU válido</strong></td>\n<td>O SKU deve estar cadastrado previamente</td>\n</tr>\n<tr>\n<td><strong>Idempotência</strong></td>\n<td>A chave única na linha do registro é o campo <code>order_integration_code</code>, sempre é considerado o último registro enviado.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"boas-práticas\">Boas Práticas</h2>\n<ol>\n<li><p>Envie as vendas em <strong>tempo próximo ao real, no máximo D-1</strong></p>\n</li>\n<li><p>Para devoluções ou cancelamentos, utilize <code>order_status: CANCELED</code> enviando o mesmo id da venda no campo <code>order_integration_code</code>.</p>\n</li>\n</ol>\n<hr />\n<h2 id=\"exemplo-completo-de-payload\">Exemplo completo de Payload</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"integration_code\": \"ORDER123\",\n    \"sale_number\": \"S-20240601\",\n    \"branch_integration_code\": \"BRANCH01\",\n    \"sale_date\": \"2024-06-01\",\n    \"order_status\": \"PENDING\",\n    \"order_total\": 250.5,\n    \"order_total_discount\": 10,\n    \"order_total_addition\": 5,\n    \"delivery_fee\": 15,\n    \"order_invoiced_amount\": 240.5,\n    \"payment_method\": \"credit_card\",\n    \"payment_condition\": \"30 days\",\n    \"payment_integration_code\": \"PMT001\",\n    \"customer_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n    \"customer_name\": \"João da Silva\",\n    \"address\": \"Rua das Laranjeiras, 123\",\n    \"neighborhood\": \"Centro\",\n    \"postal_code\": \"12345-678\",\n    \"state\": \"SP\",\n    \"city\": \"São Paulo\",\n    \"channel\": \"Online\",\n    \"salesman\": \"Carlos V.\",\n    \"salesman_integration_code\": \"SLSM001\",\n    \"order_add_information\": \"No order additional information\",\n    \"sku\": \"SKU-001\",\n    \"ean\": \"7891234567890\",\n    \"product_name\": \"Test Product\",\n    \"quantity_ordered\": 2,\n    \"quantity_delivered\": 2,\n    \"value\": 100,\n    \"discount\": 5,\n    \"addition\": 2,\n    \"add_information\": \"No observations\",\n    \"status\": \"PENDING\",\n    \"tags\": [\n      {\n        \"key\": \"section\",\n        \"value\": \"promo\"\n      }\n    ]\n  }\n]\n\n</code></pre>\n<h2 id=\"exemplo-de-payload-com-campos-obrigatórios\">Exemplo de Payload com campos obrigatórios</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"integration_code\": \"ORDERITEMID124\",\n    \"branch_integration_code\": \"BRANCH02\",\n    \"sale_number\": \"S-20240601\",\n    \"sale_date\": \"2024-06-01\",\n    \"sku\": \"SKU-002\",\n    \"quantity_ordered\": 1,\n    \"quantity_delivered\": 2,\n    \"value\": 100,\n    \"status\": \"FINISHED\"\n  },\n  {\n    \"integration_code\": \"ORDERITEMID125\",\n    \"branch_integration_code\": \"BRANCH02\",\n    \"sale_number\": \"S-20240601\",\n    \"sale_date\": \"2024-06-01\",\n    \"sku\": \"SKU-003\",\n    \"quantity_ordered\": 5,\n    \"quantity_delivered\": 5,\n    \"value\": 97.5,\n    \"status\": \"FINISHED\"\n  }\n]\n\n</code></pre>\n<h2 id=\"checklist-de-integração-obrigatório\">Checklist de Integração obrigatório</h2>\n<ol>\n<li><p><strong>Categorias</strong> ✅</p>\n</li>\n<li><p><strong>Produtos</strong> ✅</p>\n</li>\n<li><p><strong>Fornecedores</strong> ✅</p>\n</li>\n<li><p><strong>Pedidos de compra</strong> ✅</p>\n</li>\n<li><p><strong>Vendas</strong> ✅</p>\n</li>\n</ol>\n","_postman_id":"5ee19d7a-7aeb-418b-9ca4-08c87672d644"}],"id":"e38fa849-c918-485c-ac6e-081c10ddc146","_postman_id":"e38fa849-c918-485c-ac6e-081c10ddc146","description":""},{"name":"Promoções","item":[{"name":"Criar promoção","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9a0f14e1-4933-4718-b741-48076fcd5e34","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"branch_integration_code\": \"C01\",               // Código da filial\n  \"name\": \"PROMO\",                                // Nome da promoção\n  \"integration_code\": \"P001\",                     // Código de integração da promoção\n  \"type\": \"SALE\",                                 // Tipo da promoção: \"SALE\" ou \"BUY_AND_PAY\"\n  \"media_type\": \"TV\",                             // Meio de divulgação: \"TV\", \"FLYER\", \"WHATSAPP\", \"SOCIAL_MEDIA\"\n  \"products\": [\n    {\n      \"sku\": \"11111111\",                          // SKU do produto\n      \"integration_code\": \"01\",                   // Código de integração do produto na promoção\n      \"current_price\": 150,                       // Preço atual do produto\n      \"promotional_price\": 150,                   // Preço promocional (mesmo que atual nesse exemplo)\n      \"buy_quantity\": null,                       // Quantidade necessária para comprar (usado em BUY_AND_PAY)\n      \"pay_quantity\": null,                       // Quantidade a pagar (usado em BUY_AND_PAY)\n      \"start_date\": \"2025-01-17T21:00:52.113Z\",   // Início da promoção (UTC)\n      \"end_date\": \"2025-01-17T21:00:52.113Z\",     // Fim da promoção (UTC)\n      \"tags\": [                                   // Tags customizadas\n        {\n          \"key\": \"key1\",\n          \"value\": \"value1\"\n        },\n        {\n          \"key\": \"key2\",\n          \"value\": \"value2\"\n        }\n      ]\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/campaign/","description":"<h3 id=\"request\">Request</h3>\n<p>This endpoint allows you to create a new category using the HTTP POST method.</p>\n","urlObject":{"path":["api","v1","campaign",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b7da8230-a6de-4c97-93de-58eceade2f5f","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"branch_integration_code\": \"C01\",\n  \"name\": \"PROMO\",\n  \"integration_code\": \"P001\",\n  \"type\": \"SALE\",\n  \"media_type\": \"TV\",\n  \"products\": [\n    {\n      \"sku\": \"11111111\",\n      \"integration_code\": \"01\",\n      \"current_price\": 150,\n      \"promotional_price\": 150,\n      \"buy_quantity\": null,\n      \"pay_quantity\": null,\n      \"start_date\": \"2025-01-17T21:00:52.113Z\",\n      \"end_date\": \"2025-01-17T21:00:52.113Z\",\n      \"tags\": [\n        {\n          \"key\": \"key1\",\n          \"value\": \"value1\"\n        },\n        {\n          \"key\": \"key2\",\n          \"value\": \"value2\"\n        }\n      ]\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/campaign/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 17:49:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"115"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"request_id\": \"96fa30e8-4ad8-452d-83d4-22f838011c5f\",\n    \"description\": \"Campaign saved. Processing products in queue.\"\n}"},{"id":"471ca8a3-c246-43fa-83f3-348f16e6b5e2","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"branch_integration_code\": \"C01\",\n  \"name\": \"PROMO\",\n  \"integration_code\": \"P001\",\n  \"type\": \"SALE\",\n  \"media_type\": \"TV\",\n  \"products\": [\n    {\n      \"sku\": \"11111111\",\n      \"integration_code\": \"01\",\n      \"current_price\": 150,\n      \"promotional_price\": 150,\n      \"buy_quantity\": null,\n      \"pay_quantity\": null,\n      \"start_date\": \"2025-01-17T21:00:52.113Z\",\n      \"end_date\": \"2025-01-17T21:00:52.113Z\",\n      \"tags\": [\n        {\n          \"key\": \"key1\",\n          \"value\": \"value1\"\n        },\n        {\n          \"key\": \"key2\",\n          \"value\": \"value2\"\n        }\n      ]\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/campaign/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 17:51:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"107"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Branch not found. (branch_integration_code = 'C01')\",\n    \"status_code\": 400,\n    \"code\": \"branch_not_found\"\n}"}],"_postman_id":"9a0f14e1-4933-4718-b741-48076fcd5e34"},{"name":"Atualizar promoção","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"b6884b75-e03c-4983-a4e8-bca86290c158","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"branch_integration_code\": \"C01\",               // Código da filial\n  \"name\": \"PROMO\",                                // Nome da promoção\n  \"integration_code\": \"P001\",                     // Código de integração da promoção\n  \"type\": \"SALE\",                                 // Tipo da promoção: \"SALE\" ou \"BUY_AND_PAY\"\n  \"media_type\": \"TV\",                             // Meio de divulgação: \"TV\", \"FLYER\", \"WHATSAPP\", \"SOCIAL_MEDIA\"\n  \"products\": [\n    {\n      \"sku\": \"11111111\",                          // SKU do produto\n      \"integration_code\": \"01\",                   // Código de integração do produto na promoção\n      \"current_price\": 150,                       // Preço atual do produto\n      \"promotional_price\": 150,                   // Preço promocional (mesmo que atual nesse exemplo)\n      \"buy_quantity\": null,                       // Quantidade necessária para comprar (usado em BUY_AND_PAY)\n      \"pay_quantity\": null,                       // Quantidade a pagar (usado em BUY_AND_PAY)\n      \"start_date\": \"2025-01-17T21:00:52.113Z\",   // Início da promoção (UTC)\n      \"end_date\": \"2025-01-17T21:00:52.113Z\",     // Fim da promoção (UTC)\n      \"tags\": [                                   // Tags customizadas\n        {\n          \"key\": \"key1\",\n          \"value\": \"value1\"\n        },\n        {\n          \"key\": \"key2\",\n          \"value\": \"value2\"\n        }\n      ]\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/campaign/","description":"<h3 id=\"request\">Request</h3>\n<p>This endpoint allows you to create a new category using the HTTP POST method.</p>\n","urlObject":{"path":["api","v1","campaign",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4939a82a-6fd4-4909-b755-b7ec8391f78c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"branch_integration_code\": \"C01\",\n  \"name\": \"PROMO\",\n  \"integration_code\": \"P001\",\n  \"type\": \"SALE\",\n  \"media_type\": \"TV\",\n  \"products\": [\n    {\n      \"sku\": \"11111111\",\n      \"integration_code\": \"01\",\n      \"current_price\": 150,\n      \"promotional_price\": 150,\n      \"buy_quantity\": null,\n      \"pay_quantity\": null,\n      \"start_date\": \"2025-01-17T21:00:52.113Z\",\n      \"end_date\": \"2025-01-17T21:00:52.113Z\",\n      \"tags\": [\n        {\n          \"key\": \"key1\",\n          \"value\": \"value1\"\n        },\n        {\n          \"key\": \"key2\",\n          \"value\": \"value2\"\n        }\n      ]\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/campaign/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 17:49:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"115"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"request_id\": \"96fa30e8-4ad8-452d-83d4-22f838011c5f\",\n    \"description\": \"Campaign saved. Processing products in queue.\"\n}"},{"id":"8a0a3b2f-4b7d-408c-9968-d91c5ec1e6a2","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"branch_integration_code\": \"C01\",\n  \"name\": \"PROMO\",\n  \"integration_code\": \"P001\",\n  \"type\": \"SALE\",\n  \"media_type\": \"TV\",\n  \"products\": [\n    {\n      \"sku\": \"11111111\",\n      \"integration_code\": \"01\",\n      \"current_price\": 150,\n      \"promotional_price\": 150,\n      \"buy_quantity\": null,\n      \"pay_quantity\": null,\n      \"start_date\": \"2025-01-17T21:00:52.113Z\",\n      \"end_date\": \"2025-01-17T21:00:52.113Z\",\n      \"tags\": [\n        {\n          \"key\": \"key1\",\n          \"value\": \"value1\"\n        },\n        {\n          \"key\": \"key2\",\n          \"value\": \"value2\"\n        }\n      ]\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/campaign/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 17:51:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"107"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Branch not found. (branch_integration_code = 'C01')\",\n    \"status_code\": 400,\n    \"code\": \"branch_not_found\"\n}"}],"_postman_id":"b6884b75-e03c-4983-a4e8-bca86290c158"},{"name":"Excluir promoção","id":"a64903ed-f9e8-4a38-b065-c12bdff08ee1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{base_url}}/api/v1/campaign/:integration_code/","urlObject":{"path":["api","v1","campaign",":integration_code",""],"host":["{{base_url}}"],"query":[],"variable":[{"type":"any","value":"P001","key":"integration_code"}]}},"response":[{"id":"9088de0b-47b2-491e-acc9-a5238420191e","name":"204 - No Content","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{base_url}}/api/v1/campaign/:integration_code/","host":["{{base_url}}"],"path":["api","v1","campaign",":integration_code",""],"variable":[{"key":"integration_code","value":"P001"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Fri, 30 May 2025 17:57:42 GMT"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":null},{"id":"02912991-374e-4c50-8883-96eda1ed4b7a","name":"404 - Not Found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{base_url}}/api/v1/campaign/:integration_code/","host":["{{base_url}}"],"path":["api","v1","campaign",":integration_code",""],"variable":[{"key":"integration_code","value":"P0012"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 May 2025 17:56:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"76"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, PUT, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Campaign not found\",\n    \"status_code\": 404,\n    \"code\": \"campaign_not_found\"\n}"}],"_postman_id":"a64903ed-f9e8-4a38-b065-c12bdff08ee1"}],"id":"be8b86a4-ea79-46bd-b074-4398bf76f5dd","description":"<h2 id=\"por-que-integrar\">Por que integrar?</h2>\n<ul>\n<li><p>Converte <strong>promoções</strong> em <strong>eventos de demanda</strong> que treinam os modelos de ML da Salesrun.</p>\n</li>\n<li><p>Impede que picos promocionais sejam confundidos com tendência orgânica.</p>\n</li>\n<li><p>Permite simular impacto futuro (ex.: Black Friday) nas recomendações de compra.</p>\n</li>\n</ul>\n<p>Use sempre <strong><code>/api/v1/campaign/</code></strong>. Cada payload descreve <strong>uma</strong> promoção e <strong>todas</strong> as regras de produto dentro dela.</p>\n<hr />\n<h2 id=\"endpoints\">Endpoints</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Método</th>\n<th>Rota</th>\n<th>Uso</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>POST</strong></td>\n<td><code>/api/v1/campaign/</code></td>\n<td>Criar nova promoção</td>\n</tr>\n<tr>\n<td><strong>PUT</strong></td>\n<td><code>/api/v1/campaign/</code></td>\n<td>Atualizar / upsert(<strong>sempre</strong> envie o array <code>products</code>, pois ele <strong>substitui</strong> o anterior)</td>\n</tr>\n<tr>\n<td><strong>DELETE</strong></td>\n<td><code>/api/v1/campaign/{integration_code}/</code></td>\n<td>Excluir promoção</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"estrutura-do-cabeçalho\">Estrutura do Cabeçalho</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th><strong>Obrigatório</strong></th>\n<th>Notas</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>integration_code</code></td>\n<td>string</td>\n<td><strong>✔</strong></td>\n<td>Chave única da promoção no ERP.</td>\n</tr>\n<tr>\n<td><code>branch_integration_code</code></td>\n<td>string</td>\n<td><strong>✔</strong></td>\n<td>Filial que executa a promoção.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string(≤150)</td>\n<td><strong>✔</strong></td>\n<td>Nome curto (ex.: “Natal Shampoo 10 %”).</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>enum</td>\n<td><strong>✔</strong></td>\n<td><code>SALE</code> (desconto) ou <code>BUY_AND_PAY</code> (leve X pague Y)</td>\n</tr>\n<tr>\n<td><code>media_type</code></td>\n<td>enum</td>\n<td>—</td>\n<td>Onde é divulgada: <code>TV</code>, <code>FLYER</code>, <code>WHATSAPP</code>, <code>SOCIAL_MEDIA</code>, …</td>\n</tr>\n<tr>\n<td><code>products</code></td>\n<td>array</td>\n<td><strong>✔</strong></td>\n<td>Até 500 itens por chamada.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"produtos-da-promoção\">Produtos da Promoção</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th><strong>Obrigatório</strong></th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td><strong>✔</strong></td>\n<td>SKU global.</td>\n</tr>\n<tr>\n<td><code>integration_code</code></td>\n<td>string</td>\n<td><strong>✔</strong></td>\n<td>ID da regra no ERP (um SKU pode ter várias regras).</td>\n</tr>\n<tr>\n<td><code>current_price</code></td>\n<td>decimal(2)</td>\n<td><strong>✔</strong></td>\n<td>Preço de venda <strong>antes</strong> da oferta.</td>\n</tr>\n<tr>\n<td><code>promotional_price</code></td>\n<td>decimal(2)</td>\n<td>Cond.¹</td>\n<td>Preço com desconto (se <code>type=SALE</code>).</td>\n</tr>\n<tr>\n<td><code>buy_quantity</code></td>\n<td>int</td>\n<td>Cond.²</td>\n<td>Qtd. a comprar no leve X pague Y.</td>\n</tr>\n<tr>\n<td><code>pay_quantity</code></td>\n<td>int</td>\n<td>Cond.²</td>\n<td>Qtd. paga (Y).</td>\n</tr>\n<tr>\n<td><code>start_date</code>, <code>end_date</code></td>\n<td>datetime ISO-8601</td>\n<td><strong>✔</strong></td>\n<td>Janela da oferta.</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>objeto</td>\n<td>—</td>\n<td>Metadados (ex.: <code>{ \"mechanic\":\"combo\" }</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><p>1️⃣ <em>Obrigatório quando</em> <code>_type = SALE_</code> (desconto).</p>\n<p>2️⃣ <em>Obrigatório quando</em> <code>_type = BUY_AND_PAY_</code> (leve X pague Y).</p>\n<p>Campos requeridos confirmados no schema: <code>current_price</code>, <code>start_date</code>, <code>end_date</code>.</p>\n<hr />\n<h2 id=\"regras-de-negócio\">Regras de Negócio</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Regra</th>\n<th>Explicação</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Idempotência</strong></td>\n<td><code>POST</code> repetido com o mesmo <code>integration_code</code> → <strong>409 Conflict</strong>; use <code>PUT</code> para atualizar.</td>\n</tr>\n<tr>\n<td><strong>Substituição total</strong></td>\n<td>No <strong>PUT</strong>, o array <code>products</code> substitui 100 % das regras antigas (não envia = remove).</td>\n</tr>\n<tr>\n<td><strong>Limite de lote</strong></td>\n<td>Até <strong>500</strong> produtos por promoção.</td>\n</tr>\n<tr>\n<td><strong>Datas</strong></td>\n<td><code>start_date</code> <strong>≤</strong> <code>end_date</code>; máximo 365 dias de duração.</td>\n</tr>\n<tr>\n<td><strong>Multicanal</strong></td>\n<td>A promoção vale <strong>apenas</strong> para a <code>branch_integration_code</code> indicada. Crie outra promoção para filiais diferentes.</td>\n</tr>\n<tr>\n<td><strong>Treinamento de modelos</strong></td>\n<td>Promoções encerradas alimentam eventos de ML; mantenha <code>end_date</code> correto para evitar viés.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"boas-práticas\">Boas Práticas</h2>\n<ol>\n<li><p>Confirme que <strong>Produtos</strong> das ofertas já estão cadastrados.</p>\n</li>\n<li><p><strong>Crie antes de começar</strong> – envie a promo,cão pelo menos 24 h antes de <code>start_date</code> para que o modelo ajuste a previsão.</p>\n</li>\n<li><p><strong>Atualize preços reais</strong> – ao final da promoção, mantenha <code>current_price</code> sincronizado via /products ou nova promoção.</p>\n</li>\n<li><p><strong>Remova promoções canceladas</strong> com <strong>DELETE</strong>; não deixe ofertas fantasmas no histórico.</p>\n</li>\n</ol>\n<p>Com essa integração, a Salesrun reconhecerá cada promoção, ajustará previsões de demanda e recomendará compras suficientes para cobrir o aumento (ou queda) esperado de vendas.</p>\n","_postman_id":"be8b86a4-ea79-46bd-b074-4398bf76f5dd"},{"name":"Tags","item":[{"name":"Criar tag","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"f6bfd8b1-8cb7-42cd-b4fd-8bcfabe4bb65","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"mechanic\",\n    \"value\": \"combo\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/tags/","description":"<h3 id=\"request\">Request</h3>\n<p>This endpoint allows you to create a new category using the HTTP POST method.</p>\n","urlObject":{"path":["api","v1","tags",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"40622eb6-1908-4947-a0cb-cc1f68cfe857","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"mechanic\",\n    \"value\": \"combo\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/tags/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Jun 2025 14:49:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"f6bfd8b1-8cb7-42cd-b4fd-8bcfabe4bb65"},{"name":"Listar tags","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{}}}],"id":"4c322196-338f-4970-bbc2-5d0649fed104","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/tags/","urlObject":{"path":["api","v1","tags",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"973fe4c7-60fb-425e-a655-1b4c0b7cd46b","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/tags/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Jun 2025 14:50:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"105"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"page_size\": 100,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"key\": \"section\",\n            \"values\": [\n                \"offers\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"4c322196-338f-4970-bbc2-5d0649fed104"}],"id":"ca14d9cf-24c2-4e30-b4a2-aaa554c2731e","description":"<h2 id=\"por-que-integrar\">Por que integrar?</h2>\n<p>As tags são metadados utilizados para enriquecer o histórico de vendas e campanhas, permitindo a geração de <strong>modelos de previsão customizados</strong> na Salesrun.</p>\n<p>Com a integração:</p>\n<ul>\n<li><p>Permite análises detalhadas por tipo de promoção, canal de divulgação e outras mecânicas.</p>\n</li>\n<li><p>Enriquece os eventos de campanha e venda com contexto adicional.</p>\n</li>\n<li><p>Ajuda os modelos de ML a entender melhor o impacto de diferentes estratégias promocionais e gerar previsões mais precisas por cluster, canal ou tipo de estímulo.</p>\n</li>\n</ul>\n<p>Use sempre <code>/api/v1/tags/</code>. Cada tag é composta por uma chave (<code>key</code>) e um valor (<code>value</code>). Exemplo: <code>{ \"key\": \"mechanic\", \"value\": \"combo\" }</code>.</p>\n<hr />\n<h2 id=\"endpoints\">Endpoints</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Método</th>\n<th>Rota</th>\n<th>Uso</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>GET</td>\n<td>/api/v1/tags/</td>\n<td>Listar tags existentes</td>\n</tr>\n<tr>\n<td>POST</td>\n<td>/api/v1/tags/</td>\n<td>Inserir novas tags</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"estrutura-do-payload\">Estrutura do Payload</h2>\n<h3 id=\"post-apiv1tags\">POST <code>/api/v1/tags/</code></h3>\n<p>Envia um array de objetos com a seguinte estrutura:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"key\": \"mechanic\",\n    \"value\": \"combo\"\n  },\n  {\n    \"key\": \"channel\",\n    \"value\": \"whatsapp\"\n  }\n]\n\n</code></pre>\n","_postman_id":"ca14d9cf-24c2-4e30-b4a2-aaa554c2731e"},{"name":"Consultas de produtos","item":[{"name":"Registrar consulta","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"9f055148-83d3-441d-83da-817b98a465e5","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n   {\n    \"integration_code\": \"SEARCH-2024-001\",\n    \"sku\": \"123456\",\n    \"search_date\": \"2024-11-25T10:30:00\",\n    \"user_name\": \"Vendedor Teste 1\",\n    \"user_integration_code\": \"Seller-001\",\n    \"branch_integration_code\": \"52437126000202\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/product-search/","description":"<h3 id=\"request\">Request</h3>\n<p>This endpoint allows you to create a new category using the HTTP POST method.</p>\n","urlObject":{"path":["api","v1","product-search",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"551eb8c6-05a6-4f27-a1f1-7a6822416f90","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"[\n  {\n    \"key\": \"mechanic\",\n    \"value\": \"combo\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/tags/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Jun 2025 14:49:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"9f055148-83d3-441d-83da-817b98a465e5"},{"name":"Listar Consultas","event":[{"listen":"test","script":{"id":"deaccb85-5b5c-4e10-88e8-721d27426393","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"387ec36b-94a1-40a5-994a-583c42ff9a05","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/product-search/","urlObject":{"path":["api","v1","product-search",""],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"55fbd584-2d10-4491-acf5-50e7e93d063b","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"multipart/form-data","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/v1/tags/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Jun 2025 14:50:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"105"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"page_size\": 100,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"key\": \"section\",\n            \"values\": [\n                \"offers\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"387ec36b-94a1-40a5-994a-583c42ff9a05"}],"id":"485033ef-c33d-42a6-8bf0-cd30e39a639a","description":"<h2 id=\"por-que-integrar\">Por que integrar?</h2>\n<p>As tags são metadados utilizados para enriquecer o histórico de vendas e campanhas, permitindo a geração de <strong>modelos de previsão customizados</strong> na Salesrun.</p>\n<p>Com a integração:</p>\n<ul>\n<li><p>Permite análises detalhadas por tipo de promoção, canal de divulgação e outras mecânicas.</p>\n</li>\n<li><p>Enriquece os eventos de campanha e venda com contexto adicional.</p>\n</li>\n<li><p>Ajuda os modelos de ML a entender melhor o impacto de diferentes estratégias promocionais e gerar previsões mais precisas por cluster, canal ou tipo de estímulo.</p>\n</li>\n</ul>\n<p>Use sempre <code>/api/v1/tags/</code>. Cada tag é composta por uma chave (<code>key</code>) e um valor (<code>value</code>). Exemplo: <code>{ \"key\": \"mechanic\", \"value\": \"combo\" }</code>.</p>\n<hr />\n<h2 id=\"endpoints\">Endpoints</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Método</th>\n<th>Rota</th>\n<th>Uso</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>GET</td>\n<td>/api/v1/tags/</td>\n<td>Listar tags existentes</td>\n</tr>\n<tr>\n<td>POST</td>\n<td>/api/v1/tags/</td>\n<td>Inserir novas tags</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"estrutura-do-payload\">Estrutura do Payload</h2>\n<h3 id=\"post-apiv1tags\">POST <code>/api/v1/tags/</code></h3>\n<p>Envia um array de objetos com a seguinte estrutura:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"key\": \"mechanic\",\n    \"value\": \"combo\"\n  },\n  {\n    \"key\": \"channel\",\n    \"value\": \"whatsapp\"\n  }\n]\n\n</code></pre>\n","_postman_id":"485033ef-c33d-42a6-8bf0-cd30e39a639a"}],"event":[{"listen":"prerequest","script":{"id":"52335f71-705e-41e6-a653-91d50372032a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d303d9bb-886c-4f1d-bdfd-8b64b21ec312","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://integration.salesrun.io","type":"string"},{"key":"clientId","value":"Yh9gOt5jRrmKVGYpvNvgJRqApb5tuKMLuSdp7LZX","type":"string"},{"key":"clientSecret","value":"<jROHS2wq0jbTD0B5lIcXyToz7DV3g6EL0iVEGchSpz3FQJmGiA1fXj5rA5OtTk5a3Xs0nnGaG7VSqmq4lYJGcNb4YSJrwD6tlxNYOr1mJoAaQjt1NquLAsfcsBu4ckNY>","type":"string"},{"key":"bearerToken","value":"<token>","type":"string"}]}