What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

completed transactions list

completed transactions list

net2020gr
Visitor
2 0 0

Hello

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 

GET https://<my-shop>.myshopify.com/admin/checkouts/<id>.json

 thanks

Marios Filippas

Replies 3 (3)

Luke_K
Shopify Staff
402 66 102

Hey @net2020gr 

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!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
net2020gr
Visitor
2 0 0

Hello,

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?

regards

Marios

Luke_K
Shopify Staff
402 66 102

Hey @net2020gr 

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!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!