Jump to content

Get orders from orders API error 403 forbidden

Recommended Posts

Hi,I'm trying to sent a request to get orders from Commerce API and it return error 403 Forbidden.

This is my url:

https://api.squarespace.com/1.0/commerce/orders?modifiedAfter=2019-08-01T12:00:00Z&modifiedBefore=2019-08-11T12:00:00Z

but I use:

https://api.squarespace.com/1.0/commerce/orders

It return sucessful and get the orders.

The both with 2 Headers

"Authorization: Bearer API_KEY"

"User-Agent: Mozilla/5.0"

Why it return error when I use the time filter? Thanks.

Link to comment
  • Replies 0
  • Views 966
  • Created
  • Last Reply

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.