{"id":2868,"date":"2021-07-22T15:21:48","date_gmt":"2021-07-22T18:21:48","guid":{"rendered":"https:\/\/help.roicommerce.com.br\/?p=2868"},"modified":"2024-06-25T17:41:46","modified_gmt":"2024-06-25T20:41:46","slug":"conectando-na-api-roi-commerce-via-postman","status":"publish","type":"post","link":"https:\/\/help.roicommerce.com.br\/index.php\/2021\/07\/22\/conectando-na-api-roi-commerce-via-postman\/","title":{"rendered":"Conectando na API ROI COMMERCE via POSTMAN"},"content":{"rendered":"\n<p class=\"eplus-48pqIm\">Para utiliza\u00e7\u00e3o dos m\u00e9todos POST, PUT e DELETE da API ROI COMMERCE, utilize da seguinte forma:<\/p>\n\n\n\n<p class=\"eplus-MzWhQU\"><strong>Headers:<\/strong><br>token -&gt; tokendasuaaplicacao<br>Accept -&gt; application\/json<br>Content-Type -&gt; application\/json<\/p>\n\n\n\n<p class=\"eplus-pNfkVt\"><strong>Body:<\/strong><br>Passar as informa\u00e7\u00f5es referente a cada endpoint conforme <a rel=\"noreferrer noopener\" href=\"https:\/\/app.swaggerhub.com\/apis-docs\/wjr-digital\/roi-commerce\/1.0.0#\/\" data-type=\"URL\" data-id=\"https:\/\/app.swaggerhub.com\/apis-docs\/wjr-digital\/roi-commerce\/1.0.0#\/\" target=\"_blank\">documenta\u00e7\u00e3o<\/a>.  <\/p>\n\n\n\n<p class=\"eplus-6R9gAa\"><strong>URL: <\/strong><br>URL da aplica\u00e7\u00e3o + \/api\/ + endpoint<br>Ex.:  <br>Desenvolvimento: https:\/\/sandbox.roicommerce.com.br\/api\/produtos<br>Produ\u00e7\u00e3o: https:\/\/app.roicommerce.com.br\/api\/produtos<\/p>\n\n\n\n<figure class=\"wp-block-image size-large eplus-Ij3ocv\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10-1024x300.png\" alt=\"\" class=\"wp-image-2869\" srcset=\"https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10-1024x300.png 1024w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10-300x88.png 300w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10-768x225.png 768w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10-370x108.png 370w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10-270x79.png 270w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10-570x167.png 570w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10-740x216.png 740w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-10.png 1087w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"eplus-NC7Seg\"><\/p>\n\n\n\n<p class=\"eplus-9ZVgaE\">Para utiliza\u00e7\u00e3o do m\u00e9todo GET da API ROI COMMERCE em caso de fila, utilize da seguinte forma:<\/p>\n\n\n\n<p class=\"eplus-XcIM5Y\"><strong>Headers:<\/strong><br>Token -&gt; tokendasuaaplicacao<br>Accept -&gt; application\/json<br>Content-Typ -&gt; application\/json<\/p>\n\n\n\n<p class=\"eplus-vpSoTi\"><strong>Par\u00e2metros:<\/strong><br>PerPage -&gt; Quantidade de registros por p\u00e1gina<br>Page-&gt; Qual a p\u00e1gina<br>Ex.: <br>PerPage = 10<br>Page = 1<br>https:\/\/sandbox.roicommerce.com.br\/api\/fila-produtos?PerPage=10&amp;Page=1<br>Nesse caso, vai retornar 10 resultados da primeira p\u00e1gina.<\/p>\n\n\n\n<p class=\"eplus-aMFByg\"><strong>URL: <\/strong><br>URL da aplica\u00e7\u00e3o + \/api\/ + endpoint + par\u00e2metros<\/p>\n\n\n\n<p class=\"eplus-g9FNjI\">Ex.:<br>Desenvolvimento: https:\/\/sandbox.roicommerce.com.br\/api\/fila-produtos?PerPage=10&amp;Page=1<br>Produ\u00e7\u00e3o: https:\/\/app.roicommerce.com.br\/api\/fila-produtos?PerPage=10&amp;Page=1<\/p>\n\n\n\n<figure class=\"wp-block-image size-large eplus-trSpuS\"><img decoding=\"async\" width=\"1001\" height=\"352\" src=\"https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-11.png\" alt=\"\" class=\"wp-image-2873\" srcset=\"https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-11.png 1001w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-11-300x105.png 300w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-11-768x270.png 768w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-11-370x130.png 370w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-11-270x95.png 270w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-11-570x200.png 570w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-11-740x260.png 740w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" \/><\/figure>\n\n\n\n<p class=\"eplus-ZSQ9je\"><br>Para utiliza\u00e7\u00e3o do m\u00e9todo GET da API ROI COMMERCE para consultar um item espec\u00edfico atrav\u00e9s do ID, utilize da seguinte forma:<\/p>\n\n\n\n<p class=\"eplus-tgEf4a\"><strong>Headers:<\/strong><br>Token -&gt; tokendasuaaplicacao<br>Accept -&gt; application\/json<br>Content-Typ -&gt; application\/json<\/p>\n\n\n\n<p class=\"eplus-1lksTb\"><strong>URL: <\/strong><br>URL da aplica\u00e7\u00e3o + \/api\/ + endpoint + id<br>Desenvolvimento: https:\/\/sandbox.roicommerce.com.br\/api\/produtos\/124<br>Produ\u00e7\u00e3o: https:\/\/app.roicommerce.com.br\/api\/produtos\/124<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large eplus-nz8Xtq\"><img decoding=\"async\" width=\"1024\" height=\"333\" src=\"https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13-1024x333.png\" alt=\"\" class=\"wp-image-2881\" srcset=\"https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13-1024x333.png 1024w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13-300x98.png 300w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13-768x250.png 768w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13-370x120.png 370w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13-270x88.png 270w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13-570x185.png 570w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13-740x241.png 740w, https:\/\/help.roicommerce.com.br\/wp-content\/uploads\/2021\/07\/image-13.png 1061w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"eplus-TFtnoI\"><\/p>\n\n\n\n<p class=\"eplus-fNFULx\">Para acessar a documenta\u00e7\u00e3o no app swaggerhub, <a href=\"https:\/\/app.swaggerhub.com\/apis-docs\/wjr-digital\/ROI_COMMERCE\/1.0.0\" data-type=\"URL\" data-id=\"https:\/\/app.swaggerhub.com\/apis-docs\/wjr-digital\/roi-commerce\/1.0.0#\/\" target=\"_blank\" rel=\"noreferrer noopener\">clique aqui<\/a><a href=\"https:\/\/app.swaggerhub.com\/apis-docs\/wjr-digital\/roi-commerce\/1.0.0#\/\" data-type=\"URL\" data-id=\"https:\/\/app.swaggerhub.com\/apis-docs\/wjr-digital\/roi-commerce\/1.0.0#\/\">.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nesse artigo voc\u00ea vai encontrar orienta\u00e7\u00f5es para fazer a conex\u00e3o na API ROI COMMERCE via POSTMAN<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[147,49,128],"tags":[148,191,194,193,29,190,192],"_links":{"self":[{"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2868"}],"collection":[{"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=2868"}],"version-history":[{"count":11,"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2868\/revisions"}],"predecessor-version":[{"id":4240,"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2868\/revisions\/4240"}],"wp:attachment":[{"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=2868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=2868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.roicommerce.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=2868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}