I would like to request that Global Webhooks and Model Webhooks have the same payload.
Both payloads have common properties which are: newValue
and previousValue
But model payloads also have `operation`
and `modelName`
. Would be nice to have these properties in Global Webhooks too.
It’s simple and is not a breaking change.
just implemented this in production!
It would definitely be nice to have the model name on the global webhook payload. It's strange to me that the global webhook payload includes the model id but not the model name. I guess it would be possible to query the Admin graphQL api to get the model name based on a webhook payload's model ID, but that seems unnecessarily complicated.