Web hook configuration

It seems that a lot of config of the applications have changed.

There used to be a configuration page where you could configure what web-hooks you were interested in along with the URL of your endpoint receiving it.

I tried to add them to the application.toml:

[[webhooks.subscriptions]]
topics = [ “orders/create” ]
uri = “https:/myserver.com/api/webhooks/order-created”

This gave the following error:
16:59:51 │ app-config │ App config updated
16:59:52 │ app-preview │ :cross_mark: Error
16:59:52 │ app-preview │ └ This app is not approved to subscribe to webhook topics containing protected customer data. See
Work with protected customer data for more details.

Are there any other ways I can add/delete/modify these now?

You can still use the REST API or GraphQL APIs to register webhooks. The toml version is just a convienent way to register the same webhook across all current and future merchants using your app.

However, the error message you shared is trying to tell you that this webhook needs Customer Protected Data access, and you haven’t submitted the form in the Partner dashboard for this app to access that data.

If the app isn’t published yet, then access is granted immediately.

1 Like

Thanks for the clarification!
I’ll go ahead and submit the form :+1:

Stupid follow up question :slight_smile:

I’ve filled out the form for access, but it seems to be in draft and I can’t find how to actually submit it.

Any pointers?