Webhook
Create a webhook
Create a webhook subscription's topic or address URIs
post/admin/webhooks.json
Request body
Example request
{
"webhook": {
"address": "https://apple.com/uninstall",
"created_at": 901431826,
"fields": [
"id",
"updated_at"
],
"format": "json",
"id": 901431826,
"metafield_namespaces": [
"google",
"inventory"
],
"topic": "app/uninstalled",
"updated_at": 901431826
}
}Response
OK
Example response
{
"webhook": {
"address": "https://apple.com/uninstall",
"created_at": 901431826,
"fields": [
"id",
"updated_at"
],
"format": "json",
"id": 901431826,
"metafield_namespaces": [
"google",
"inventory"
],
"topic": "app/uninstalled",
"updated_at": 901431826
}
}