Envato APi issue not finding sold items

It doesn’t look like you have any items for sale yet, is that right? Which means you won’t be able to test that endpoint (/author/sale) because it only works for your own items, not items you’ve purchased from other authors.

You have two options to test in this case:

  • You can replace the /author/sale endpoint with /buyer/purchase to use a code for one of your purchases. The response should be identical, except the buyer field will be missing. This will require the purchase:verify permission on the personal token, which is labeled on build.envato.com as “Verify purchases the user has made.”

  • You can also use my unofficial sandbox to test a realistic response from /author/sale, see my documentation on that here: How to verify a purchase code using the Envato API

4 Likes