1
votes

I have followed the instructions for setting up Square Connect web hooks.

I entered my Notification URL in the developer portal and enabled web hooks. I then sent a test notification. I verified that is working correctly.

I subscribed to "INVENTORY_UPDATED" with the Update Webhooks endpoint.

I verified that worked by calling /v1/{{location_id}}/webhooks. The response is

["INVENTORY_UPDATED"]

So I know that my location is properly subscribed to INVENTORY_UPDATED notifications.

But when I sign into the dashboard and create new items or update the inventory count on those items, I don't receive any notifications.

I'm stumped.

Do inventory updates in the dashboard trigger INVENTORY_UPDATED webhook events? If so, did I miss a step?

Any suggestions of how to troubleshoot this?

1
Do you use slack? It might be easier to do some back and forth trouble shooting there. You can get an invite at squ.re/slack - tristansokol
Oh awesome. Thanks for the invite. - kingbrendann
@tristansokol when should I expect the Slack invite after submitting my email in the form? - kingbrendann
You should have your invite already. Maybe check spam? - tristansokol
Got it. Thanks! - kingbrendann

1 Answers

0
votes

You need to subscribe to the webhook notification by:

  1. open your terminal or cmd (on your PC).

  2. Run (curl -X PUT -H "Authorization: Bearer YOUR_ACCESS_TOKEN" -H "Content-Type: application/json" -d "[\"INVENTORY_UPDATED\"]" https://connect.squareup.com/v1/YOUR_LOCATION_ID/webhooks)

NOTE: Your Access token and Location are found on the dashboard of your square account.