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.

how to verify place order

how to verify place order

shalukumari
Tourist
14 0 2

I have ordered the rest API in dev.
I needed data for placing orders to verify place order or not in order to rest API.

Rest Api: https://alliedbrass.myshopify.com/admin/api/2022-07/orders.json
thanks

Replies 3 (3)

ShopifyDevSup
Shopify Staff
1453 239 534

Hey @shalukumari - thank you for reaching out. The question here is a little unclear, but we're happy to try and help. If I'm understanding correctly - you want to confirm if an order has been placed through the API or through another method? There is a way to do this through the API by fetching the order you want to double check through a GET request in REST and looking for the "source_name" field in the response body for the API call.

 

It would look like this:



If the order is processed by your app, it would show your app's API Client ID as the value for the source_name field. Hope this helps - let us know if we can help out further or clarify anything. 
 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

shalukumari
Tourist
14 0 2

Hi @ShopifyDevSup ,
I needed the placed order rest API. How to get place order data?

Thanks

shalukumari
Tourist
14 0 2

Hi, any update on configuring the placed order data in order json .