Order Created Webhook - changes to Schema?

I have a custom webhook notification set up to hit my service.

However, I just received an error when reading the customer tags. This field used to be returned with the order:

{
  ... order fields ...
  "customer": {
    "tags": "tag1,tag2,tag3"
    ... other customer fields ...
  }
}

But now the tags are not included?

On a related note, it’s very hard to know the structure of the body that is sent along with a webhook for a given topic. Are there are tools or resources that Shopify has for this?

I can easily grab the schemas for all the GraphQL operations, except the webhooks are treated more like the deprecated REST objects, which also makes it confusing and clunky to type properly in my project.

It would be awesome to have the schema provided to developers for the webhooks

1 Like