fragment OrderCancelledSubscription on Order {
  id
  avataxId: metafield(key: "avataxId")
  channel {
    id
    slug
  }
}

fragment OrderCancelledEventSubscription on Event {
  __typename
  ... on OrderCancelled {
    order {
      ...OrderCancelledSubscription
    }
    recipient {
      privateMetadata {
        key
        value
      }
    }
  }
}

subscription OrderCancelledSubscription {
  event {
    ...OrderCancelledEventSubscription
  }
}
