Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
We are currently working on a dev app and we are receiving this response on trying to createthe CHECKOUTS_CREATE webhook
checkoutHookResponse CHECKOUTS_CREATE
{ success: false,
result: { data: { webhookSubscriptionCreate: [Object] },
extensions: { cost: [Object] }
}
}
report id: e68acf50-7174-40d8-b700-a74373e4759b
Hello,
I'd suggest that you add the "userErrors" in your GraphQL query to give you a bit more context about what failed. You can refer to this doc for the specific query you're doing https://shopify.dev/api/admin-graphql/2022-10/mutations/webhookSubscriptionCreate#field-webhooksubsc... and this doc for the more general error handling: https://shopify.dev/api/admin-graphql#status_and_error_codes
I hope this helps you.
Cheers,
Cedric | Developer @ Shopify
To learn more visit the Shopify Help Center or the Community Blog.