Hello,
I am currently using the Product Update Webhook (PRODUCTS_UPDATE) and have configured the webhook to include the fields product_category and collections in the includeFields array, as shown in the example below:
json
"includeFields": [
"id", "title", "body_html", "vendor", "product_type", "handle",
"created_at", "updated_at", "tags", "status",
"published_scope", "variants", "options", "images", "image",
"published_at", "total_inventory", "media", "metafields", "collections", "product_category"
]
graphql_query = '''
mutation webhookSubscriptionCreate($topic: WebhookSubscriptionTopic!, $webhookSubscription: WebhookSubscriptionInput!) {
webhookSubscriptionCreate(topic: $topic, webhookSubscription: $webhookSubscription) {
webhookSubscription {
id
topic
format
endpoint {
__typename
... on WebhookHttpEndpoint {
callbackUrl
}
}
}
userErrors {
field
message
}
}
}
'''
However, I am not receiving the product_category and collections fields in the webhook response. I have checked the configuration, and everything appears to be set up correctly, but these fields are still missing in the payload when the webhook is triggered.