Skip to main content
POST
Create webhook

Autorizações

Authorization
string
header
obrigatório

Send an API key or an OAuth access token in the Authorization header as a Bearer token. See Authentication for details.

Corpo

application/json
url
string<uri>
obrigatório
Exemplo:

"https://minhaloja.example.com/webhooks/lojou"

name
string | null
Exemplo:

"Novo pedido"

events

order_refund is offered as an option but is not currently fired by any real event — see the Webhooks guide.

Opções disponíveis:
order_approved,
order_cancelled,
order_refund
Exemplo:
product_details
event_success
string | null
event_error
string | null

Resposta

Webhook created

The response is of type object.