{
"data": {
"id": "xYZkjABcde",
"type": "webhooks",
"links": {
"self": "https://yourdomain.commercelayer.io/api/webhooks/xYZkjABcde"
},
"attributes": {
"callback_url": "https://yourapp.com/webhooks",
"created_at": "2018-01-01T12:00:00.000Z",
"disabled_at": "2018-01-01T12:00:00.000Z",
"include_resources": [
"customer",
"shipping_address",
"billing_address"
],
"metadata": {
"foo": "bar"
},
"name": "myorg-orders.place",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"shared_secret": "1c0994cc4e996e8c6ee56a2198f66f3c",
"topic": "orders.place",
"updated_at": "2018-01-01T12:00:00.000Z"
},
"relationships": {
"last_event_callbacks": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/webhooks/xYZkjABcde/relationships/last_event_callbacks",
"related": "https://yourdomain.commercelayer.io/api/webhooks/xYZkjABcde/last_event_callbacks"
}
},
"versions": {
"links": {
"self": "https://yourdomain.commercelayer.io/api/webhooks/xYZkjABcde/relationships/versions",
"related": "https://yourdomain.commercelayer.io/api/webhooks/xYZkjABcde/versions"
}
}
},
"meta": {
"mode": "test"
}
}
}