How can i get Orders details in Etsy?

5,397 views
Skip to first unread message

Chirag

unread,
Jan 21, 2014, 6:17:22 AM1/21/14
to etsy-...@googlegroups.com
Hi,

Till now i have completed Oauth process and now looking for the way to get orders Details.

I have went through documentation for orders.

What i need is to do is get list of orders between given time frame.
But as per Etsy documentation, orders can be only retrieved using 'order_id' or 'user_id',and i have none of this.

How can i get list of orders that are created between given date range ?     


Thanks,
Chirag

Antons

unread,
Jan 23, 2014, 2:29:00 AM1/23/14
to etsy-...@googlegroups.com
Hi,
Take a look about

findAllShopReceipts method https://www.etsy.com/developers/documentation/reference/receipt#method_findallshopreceipts

there you can use min_created and max_created or min_last_modified and max_last_modified

Chirag

unread,
Jan 30, 2014, 8:03:44 AM1/30/14
to etsy-...@googlegroups.com
Thanks Anton,

That solution did the trick, most of the data i needed is present, but i can not get cart details like products in that order, their quantity, variations etc.

Any way to get cart details in receipts call?

Matt Graham

unread,
Jan 30, 2014, 5:32:19 PM1/30/14
to Etsy API Mailing List
Hi,
is the information that you're looking for in the Transaction resource. That data is accessible from a receipts call.

Thanks,
Matt




--
You received this message because you are subscribed to the Google Groups "Etsy API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etsy-api-v2...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Chirag

unread,
Jan 31, 2014, 6:34:12 AM1/31/14
to etsy-...@googlegroups.com
Hi Matt,

So i would need to make 2 calls right?
First make a receipt resource call to get order related data and then using Receipt id make call to transactions resource to get cart item related data ?

Aren't there any resource which can pull all order related details together ?

Thanks.

Antons

unread,
Feb 2, 2014, 2:53:24 AM2/2/14
to etsy-...@googlegroups.com
Hi Chirag,

Take a look on https://www.etsy.com/developers/documentation/reference/receipt#section_associations
when you pulling receipts, you can request all needed information related to this receipt like Listings,Transactions...


On Tuesday, January 21, 2014 1:17:22 PM UTC+2, Chirag wrote:

Raj

unread,
Feb 2, 2014, 3:26:32 AM2/2/14
to etsy-...@googlegroups.com
Hi Chirag ,
    I need a small script that makes the request with oauth in python.If possible can you please share the script if its in python .

Chirag

unread,
Feb 11, 2014, 4:19:11 AM2/11/14
to etsy-...@googlegroups.com
Sorry, i did it in PHP.

Samuel Benolol

unread,
Feb 11, 2014, 1:59:38 PM2/11/14
to etsy-...@googlegroups.com
Hi Chirag,
I have been struggling to do the same as you for over 2 months! But I cannot get passed the OAuth because my host server doesnt have the library integrated and I was using this library (https://github.com/Lusitanian/PHPoAuthLib) to access.
Would you have a working OAuth library that I could use to retrieve receipt's info?
Thanks so much in advance!

Chirag

unread,
Feb 14, 2014, 2:25:51 AM2/14/14
to etsy-...@googlegroups.com
Even i struggled a bit when i started implementation. as my WAMP server did not had oauth extension.

I got it from here(for windows): http://windows.php.net/downloads/pecl/releases/oauth/1.2.3/

Hope this helps you 

Samuel Benolol

unread,
Feb 14, 2014, 9:46:03 AM2/14/14
to etsy-...@googlegroups.com
Thanks a lot! I am also stuck with some other issue: https://groups.google.com/forum/#!topic/etsy-api-v2/dMzVmK8Q-cw
Would you know the answer? Or maybe we can gchat in case you can give me a hand...! Thanks!

Chirag

unread,
Feb 17, 2014, 2:25:57 AM2/17/14
to etsy-...@googlegroups.com
Hey,

Once the OAuth process is completed, you will need to save outh_token and outh_secret in Database, for future calls to Etsy for that user.
You can ping me on my gmail.

wanttolearn10001

unread,
Aug 26, 2014, 5:23:49 PM8/26/14
to etsy-...@googlegroups.com
Hi Chairg,
can i reffer to you with the same problem on gmail?
Message has been deleted
Message has been deleted

Chirag

unread,
Aug 28, 2014, 6:39:05 AM8/28/14
to etsy-...@googlegroups.com
Yes i will try my best.


On Thu, Aug 28, 2014 at 3:59 PM, wanttolearn10001 <wanttole...@gmail.com> wrote:
hi can you help me too on this post

On Tuesday, January 21, 2014 1:17:22 PM UTC+2, Chirag wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Etsy API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/etsy-api-v2/g7NyMYtuzBw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to etsy-api-v2...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Regards,
Chirag.Banjan

wantto learn

unread,
Aug 31, 2014, 3:22:16 AM8/31/14
to etsy-...@googlegroups.com
hi
thanks for the reply
2 questions
1.how do i get latest orders?
2.how do i get crediantiles for OAUTH, in the emaildeve...@esty.com no one replys 😞

yasir....@xsellco.com

unread,
Aug 30, 2016, 3:33:31 PM8/30/16
to Etsy API
Hi Chirag,

I am going to start a same process. Would it be possible to share your code? I am looking for PHP code

hamza ajaz

unread,
Nov 7, 2017, 2:27:06 PM11/7/17
to Etsy API
Can anyone please tell me how to get user full details (details should have include email) who purchased my product. (etsy api PHP) 
Reply all
Reply to author
Forward
0 new messages