Jump to content

Commerce API - Create Subscription error: "OAUTH_TOKEN_REQUIRED"

Recommended Posts

Posted

I've generated an API key with the proper permissions to use Commerce Webhooks API.

I'd like to create a subscription using the Webhooks API.

I receive authorization error: "OAUTH_TOKEN_REQUIRED"

How do you get OAuth token?

  • Replies 4
  • Views 1.1k
  • Created
  • Last Reply
Posted
29 minutes ago, teddy2x said:

I've generated an API key with the proper permissions to use Commerce Webhooks API.

I'd like to create a subscription using the Webhooks API.

I receive authorization error: "OAUTH_TOKEN_REQUIRED"

How do you get OAuth token?

To create webhook using api you have to submit application to Squarespace to get your oauth2.0 credentials

Authentication and permissions — Squarespace Developers

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
11 minutes ago, bangank36 said:

To create webhook using api you have to submit application to Squarespace to get your oauth2.0 credentials

Authentication and permissions — Squarespace Developers

I saw that. The form fields for that application don't make sense though. The application asks for "Link to app logo", "Link to privacy policy", "Link to terms and conditions", "Initiate URL", etc. I just want to subscribe to my own order notifications.

 

Have you been through this process before? Got any tips?

Posted
11 minutes ago, teddy2x said:

I saw that. The form fields for that application don't make sense though. The application asks for "Link to app logo", "Link to privacy policy", "Link to terms and conditions", "Initiate URL", etc. I just want to subscribe to my own order notifications.

 

Have you been through this process before? Got any tips?

It's their condition to get the credentials, there is no work around. 

If you want your own order notification, consider to use integromat, they has several automation rule for Squarespace that is helpful, it's not cheap but the free plan has generous quota as 1000 operations per months

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
22 minutes ago, bangank36 said:

To create webhook using api you have to submit application to Squarespace to get your oauth2.0 credentials

Authentication and permissions — Squarespace Developers

 

1 minute ago, bangank36 said:

It's their condition to get the credentials, there is no work around. 

If you want your own order notification, consider to use integromat, they has several automation rule for Squarespace that is helpful, it's not cheap but the free plan has generous quota as 1000 operations per months

I will check that out, thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.