API reference
Auto-generated OpenAPI 3.1 reference for the public Storefront and Admin APIs.
This API reference is generated directly from the devhelp shop OpenAPI 3.1 contract (https://api.devhelp.pk).
| Surface | Base path | Authentication |
|---|---|---|
| Storefront API | /storefront/v1/* | Publishable key (x-api-key: dh_pk_live_…) — safe in browsers from allowed origins |
| Admin API | /admin/v1/* | Secret key (x-api-key: dh_sk_live_…) or OAuth 2.1 Bearer JWT — server-side only |
Storefront API
Store & Site
Public store profile, site documents, navigation menus, pages, redirects, and sitemap.
Catalog
Browse published products, variants, and collections.
Carts & Checkout
Create and update shopper carts, apply discounts, quote delivery, and place orders.
Orders
Look up shopper orders and complete online payment handoffs.
Customer Portal
Passwordless Email OTP sign-in, sessions, profile, saved addresses, preferences, and self-serve order edits.
Bookings & Enquiries
Check bookable service availability and submit enquiries.
Community & Engagement
Blog posts, product reviews, contact messages, newsletter sign-ups, and back-in-stock alerts.
Admin API
Catalog
Create and manage products, variants, collections, and media.
Inventory & Locations
Track stock levels across locations and record stock adjustments.
Orders
Manage orders, COD confirmation, notes, holds, exchanges, refunds, and saved views.
Fulfillments & Shipping
Fulfillments, courier handovers, delivery problems, claims, shipping zones, and COD remittances.
Customers & Discounts
Customer records, discount codes, and automatic sale campaigns.
Bookings & Enquiries
Manage bookable services, staff, rooms, schedules, reminders, and customer enquiries.
Content & Reviews
Blog posts, FAQs, product reviews, buyer messages, and URL redirects.
Online Store & Site
Site documents, releases, publishing, rollbacks, and templates.
Webhooks
Webhook endpoint subscriptions, delivery logs, and secret rotation.
Store & Settings
Store profile, domains, checkout and order settings, tax classes, and dashboard overview.