How do people feel about WebHooks from third parti...
# suitescript
c
How do people feel about WebHooks from third parties not supporting any AUTH methods that NetSuite supports which means the WebHook will have to send it's data to a Suitelet with Available Without Login enabled?
They are signing the payload with a hash though so I can verify it's from them.
i
As long there's some way to verify the sender then I am okay with it. Since webhooks are just posting data I don't see it as too big of a deal outside of that criteria.
👍 1
b
its pretty rare that you can actually use a webhook with a suitelet
netsuite requires a header that identifies the request as being from a browser
c
This will be the fourth warehouse management system where I can't use their webhooks then.
They have no way to authenticate with NS.
i
Yeah I've definitely ran into that header issue too. I ended up creating a google cloud function that manipulates the header
c
I've done similar with something in the middle but I can't introduce new systems to their existing landscape
I'll just write a scheduled script to check for order status updates instead.
🙌 1
b
if you are desperate, the suitecommerce version of suitelets (services), do not require the the browser user agent