From b9eef8ba7493eb1cf9f46574c9c9787371c77adc Mon Sep 17 00:00:00 2001 From: Bruno Roeder Date: Thu, 11 Oct 2018 14:45:35 -0300 Subject: [PATCH] Correcao da URL para /V1 da API rest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit O arquivo exemplificava a chamada à API REST com v1 minúsculo, quando a API Rest do Magento usa V1 maiúsculo. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 492bff3..48d9209 100644 --- a/README.md +++ b/README.md @@ -151,10 +151,10 @@ O módulo contempla uma tabela de Notas Fiscais (intelipost_invoice). Os campos Para consultar e inserir dados nessa tabela via API, você pode utilizar as seguintes métodos: -**GET** - http://{{url_da_loja}}/rest/v1/push/list +**GET** - http://{{url_da_loja}}/rest/V1/push/list Retornará uma lista com todas as notas salvas até o momento. -**POST** - http://{{url_da_loja}}/rest/v1/push/save +**POST** - http://{{url_da_loja}}/rest/V1/push/save Adicionará a nota fiscal à tabela. Request_body: