NEODATA_Cesar Posted October 1, 2021 Posted October 1, 2021 I'm trying to obtain/send the "order ID" from my site's shopping orders in the new "Customer Email Notifications" editor, but so far its impossible...i require said IDs to attach them in the notification email in order to use the Squarespace API to obtain each order's data (purchase information: article, price, customer-email, etc) and store them in our database. I used to be able to do it by simply adding a command <<{order.id}>> on the confirmation email code in the old editor: Is there a way to achieve this now that the editor is changing?
paul2009 Posted October 1, 2021 Posted October 1, 2021 1 hour ago, NEODATA_Cesar said: I'm trying to obtain/send the "order ID" from my site's shopping orders in the new "Customer Email Notifications" editor The fields are added a little differently but it's not immediately obvious how to do this. I find it easier to add some letters where you want the field to go, then click the word and the toolbar appears. You can then select the field that you require (see below): If this post has helped you, please click an icon below ⬇️ creedon and NEODATA_Cesar 1 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
NEODATA_Cesar Posted October 19, 2021 Author Posted October 19, 2021 On 10/1/2021 at 1:27 PM, paul2009 said: If this post has helped you, please click an icon below ⬇️ We tried (in different ways) to use this "Order Number" but it doesn't work the same way the Order ID used to. Before, said id came like this: order.id = 6128a285c58be30cbfbd4600, instead of the Display Order, which is the one you get the way you explained above, ie: #01234. Is there ANY way to obtain the id I refer to?
Leo_Lou Posted November 4, 2021 Posted November 4, 2021 @NEODATA_Cesar to help me understand the use case, do you mainly want to use the `order.id = 6128a285c58be30cbfbd4600` info to programmatically access the order data to sync to your own database? Have you looked into directly using our public Orders API to achieve that? Ex-Squarespace Engineer. 👋 circle community!
adnathanail Posted April 26, 2022 Posted April 26, 2022 Hi, I am having a similar issue In my emails I used to generate a link to my server, which included the order ID in it so that I could access the Orders API It seems Squarespace removed that old style of template which is quite frustrating. In this new system, is there a way to get Order ID? Thanks, Alex
Leo_Lou Posted May 2, 2022 Posted May 2, 2022 On 4/26/2022 at 3:35 PM, adnathanail said: In my emails I used to generate a link to my server, which included the order ID in it so that I could access the Orders API Hi @adnathanail I believe you are referring to the email store managers (merchants) receive right? Can you elaborate on your use case of Order ID? Ex-Squarespace Engineer. 👋 circle community!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment