DigitalWares (digitalwares.pk) is a Pakistan-based ecommerce store for POS systems, barcode scanners, biometric devices, and business hardware. This page lists resources that automated agents and integration partners can use without accessing private admin systems.
Machine-readable discovery
- llms.txt — agent guide with when-to-use guidance and private path exclusions
- sitemap.xml — XML sitemap of indexable public storefront URLs
- robots.txt — crawl rules including AI crawler allowances
- openapi.json — OpenAPI 3 resource map (ERP paths require a partner token; not a public sandbox)
Markdown content negotiation
Public storefront pages listed in config/agent.php support
Accept: text/markdown content negotiation.
Browsers receive HTML; agents requesting Markdown receive a clean text body with the same canonical URL.
curl -H "Accept: text/markdown" https://digitalwares.pk
HTML and Markdown variants both include Vary: Accept, Accept-Encoding for CDN-safe caching.
Public status endpoint
No authentication required:
GET https://digitalwares.pk/api/erp/status— ERP integration configuration status (JSON)
curl https://digitalwares.pk/api/erp/status
ERP partner API (token required)
Order and product pull/push endpoints exist for approved ERP integration partners.
These are not public APIs — access requires a server-side token configured as
ERP_PULL_API_TOKEN on the DigitalWares deployment.
GET /api/orders— list orders (query:limit,since_id,status)GET /api/orders/{id}— single order payloadGET /api/products— product catalog for syncGET /api/erp/orders/{id}/preview— preview ERP webhook payloadPOST /api/erp/orders/{id}/push— push order to configured ERP webhook
Authentication
Send the partner token using either header (same value):
Authorization: Bearer <ERP_PULL_API_TOKEN>X-Ecom-Api-Token: <ERP_PULL_API_TOKEN>
Token values are issued by DigitalWares operations — contact sales@digitalwares.pk for partner onboarding. There is no public API key signup, sandbox environment, CLI tool, or MCP server. A machine-readable map of these paths is published at /openapi.json.
Not available publicly
- CMS admin API (
/cms/api/*) — private - WhatsApp AI tool endpoints (
/cms/api/whatsapp-ai/*) — private - Customer cart, checkout, and order flows — session-based, not agent APIs
Contact
Integration questions: sales@digitalwares.pk · +92 321 8666 209 · Contact page