Hello everyone,
I’m currently working with the ORDERS_UPDATED webhook and am running into an issue where the returns field is not being returned, even though I’ve explicitly included it in the includeFields array. When I add other fields, they appear as expected, but the returns field remains missing.
Here is my current configuration:
includeFields: [
"id",
"admin_graphql_api_id",
"app_id",
"location_id",
"line_items",
"shipping_lines",
"discount_applications",
"refunds",
"returns",
"fulfillments",
"updated_at",
"cancelled_at",
"processed_at",
"name",
"customer",
"currency",
"billing_address",
"shipping_address",
"payment_gateway_names",
"tax_lines",
"tags",
"note",
"taxes_included",
"financial_status",
"total_price_set",
"created_at",
"updated_at",
"note_attributes",
"metafields",
]
Has anyone encountered this issue before or can advise on what might be preventing the returns field from appearing in the webhook payload? Any guidance or insights would be greatly appreciated.
Thank you!