Webhook Request
The company that wants to use Webhook must provide the following information:
...
The HTTP POST request has a header that contains parameters informing the type of the request body and an authorization “token”. Below is a table with the relationship of these parameters:
Cabeçalho da requisição HTTP | |
Parâmetro | Descrição |
Content-type | Tipo do corpo da requisição “application/json” |
Authorization | Token para autorizar a requisição |
...
The HTTP POST request has a body where parameters will be sent that inform which order is accessed, which store has the order, a code to identify the webhook integration and two API access tokens. Below is a table with the parameters present in the request body:
Corpo da requisição HTTP | |
Parâmetro | Descrição |
ref | Identificador da integração com o Webhook (ID) na base de dados da Neemo |
order_id | Identificador do pedido (ID) da loja na base de dados da Neemo |
account_id | Identificador da loja (ID) na base de dados da Neemo |
account_access_token | Token de acesso a API que identifica a loja |
master_access_token | Token de acesso a API que identifica a franquia |
...