Shopify Order Counter Endpoint

Customer: AI | Published: 02.02.2026
Бюджет: 250 $

I want a lightweight JSON endpoint that returns one number: the total orders placed in my Shopify store. My goal is to feed that figure into a “Shopify supply counter” I already use for visitors, so the response must be accessible on the storefront without requiring admin credentials. What I need built • A small Liquid snippet, theme app extension, or minimal custom app that exposes a public URL such as /counter/orders.json. • The JSON payload should be as simple as: { "total_orders": 1234 }. No daily or per-product breakdown—just total orders, updated in near-real-time (a short cache of a few minutes is fine). • Clear setup instructions so I can install it in my Theme or through the Shopify Apps area in just a few steps. Acceptance criteria • Visiting the endpoint in any browser shows the correct total that matches the figure in Shopify Admin > Orders. • The URL works on both my live store and any theme preview I test. • All code is handed over with a brief README. If Liquid alone can’t expose the data, feel free to leverage the Shopify Admin API or Storefront API—whatever achieves the clean JSON output while keeping the storefront secure.