Order API

Topic summary

A user inquires about using Shopify’s API to fetch order and contact details by order number to integrate with their WATI chatbot for order tracking.

Solution Provided:

  • Shopify Admin API can retrieve order and customer information
  • Orders can be fetched using the orders.json endpoint with filters like order name/number or customer email
  • Customer data can be searched by email or phone via customers/search.json
  • Orders for specific customers accessible through customers/{customer_id}/orders.json

Integration Approach:

  • Data from Shopify API can be passed to WATI’s API for sending order updates and triggering chatbot messages
  • Requires setting up a server, middleware, or custom app to connect Shopify and WATI

Status: The original poster requests visual guidance (screenshots or video) and asks how to get the Shopify Admin API working. The discussion remains open with implementation questions unanswered.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

Can shopify provide API to fetch order detail or contact details using order number or contact details , so that I can share it with my WATI account to carry out order tracking with their chatbot.

Hi @RahaTech ,

Yes, Shopify provides APIs that can be used to fetch order details or customer (contact) details using the order number or contact details. Here’s how it can work with your WATI chatbot integration:

Using Shopify Admin API
You can use the Shopify Admin API to fetch order and customer information:

1. Get Order by Order Number
Shopify doesn’t allow direct retrieval by order number via API, but you can:

Use the orders.json endpoint and filter using query parameters like name (which contains the order number) or customer email.

Example endpoint:
GET /admin/api/2023-10/orders.json?name=#1001
Replace #1001 with the order name/number.

2. Get Customer by Email or Phone
You can query customers based on email or phone:

GET [email removed]

3. Get Orders by Customer ID
Once you get the customer ID, you can retrieve their orders:

GET /admin/api/2023-10/customers/{customer_id}/orders.json

WATI Integration:
Once you have this data from Shopify, you can pass it to WATI’s API to:

  • Send order updates
  • Track delivery status
  • Trigger chatbot messages

WATI supports integrations with external APIs, so you will need to set up a server or middleware/custom app to fetch the data from Shopify and push it to WATI.

Hope this will help. Let me know if you need more help.

Regards,

okay sounds good , but can u share some kind of screenshots or a small
video explaining this

How can I get this shopify admin api working