Development discussions around Shopify APIs
i need to get a list of the Completed transactions , in a json format, if it is possible. How can i do that?
The following api call shows only the non-completed transactions
Thanks for getting in touch! So, transactions belong to the Orders resource. Check out the Order transaction docs here to see how you'd GET those transactions in REST. It's possible via GraphQL Admin API too (docs). Hope that helps!
thank you for your reply
I need also to get the email address of the client who did the order/payment, for every completed order.
How can i do that?
You can get the contact email that is associated to the order with a GET to the Orders.json endpoint in REST. Feel free to check out our documentation - there will be some example requests (in REST here) and some example queries in GraphQL here. In GraphQL it's Order.email that exists on the Order GraphQL object. Hope that helps!
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...By Jacqui May 30, 2023
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...By Ollie May 25, 2023
Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...By Trevor May 15, 2023