Jump to content

Request Error when creating a webhook subscription in Zapier

Recommended Posts

Site URL: https://stylebyilana.com

POST /1.0/webhook_subscriptions/ HTTP/1.1
Host: api.squarespace.com
Authorization: Bearer MYAPIKEY
User-Agent: ZapierIntegration
Content-Type: application/json
Content-Length: 106

  "endpointUrl" : "ZAPIERCATCHHOOKURL",
  "topics" : "order.create"

I'm using the above to try and initiate a webhook subscription for orders from my store to a Zapier function per the Commerce API documentation but continually receive the error "The value at JSON path 'topics' did not match the required type."

Any help would be appreciated


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.