Jump to content

Retrieve Order By Order Number with Orders API

Recommended Posts

Is there a way to retrieve a specific order by order number, not order ID? I'm trying to implement a way for customers to look up their orders and they wouldn't have access to the order ID - only their order number. It looks like you can only retrieve all orders and then filter by modified date. I'd rather not retrieve ALL orders and sift through them every time I need to make an API call. I was surprised to see there's not a way to just look up an order based on order number in the docs. Any insight would be appreciated!

Link to comment
  • 2 months later...
  • Replies 1
  • Views 950
  • Created
  • Last Reply
On 12/9/2020 at 12:00 AM, kahlstrom said:

Is there a way to retrieve a specific order by order number, not order ID? I'm trying to implement a way for customers to look up their orders and they wouldn't have access to the order ID - only their order number. It looks like you can only retrieve all orders and then filter by modified date. I'd rather not retrieve ALL orders and sift through them every time I need to make an API call. I was surprised to see there's not a way to just look up an order based on order number in the docs. Any insight would be appreciated!

There is no such feature so I guess we need to retrieve and update old orders on a database such as Google Spreadsheet and then lookup order number from there

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.