Skip to content

Blocked on getting receipts + listings #1000

Answered by Gareth064
bijoutrouvaille asked this question in Q&A
Discussion options

You must be logged in to vote

OK, not knowing how many orders a single use might have, that you would want to sync on go. Lets just big a large number of 9000.

So you have 9000 Receipts to get, that is 90 requests to Etsy.

You said that you have no way of associating the listing to the Receipt, if you were to get the listings separately, but the Receipt has transactions on it, and the transactions have the ListingId to allow you to match the receipts items to the listings.

So you can either use getListingsByShop to get all the shops listings, including ones that aren't related to any receipts. Or you can get all your receipts first, then gather all the ListingId's from the transactions, get a distinct list of IDs, bat…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Gareth064
Comment options

Answer selected by bijoutrouvaille
@bijoutrouvaille
Comment options

@Gareth064
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants