Appearance
Quickstart
Base URL
All supplier HTTP routes share this prefix:
/public-api/shop/v1/Append it to the host the Ask Ayurveda team gives you (for example https://api.ask-ayurveda.com/public-api/shop/v1/).
First authenticated request
- Contact the Ask Ayurveda team for an API key tied to your supplier account. You receive the secret once; store it like any other credential.
- Call GET
/public-api/shop/v1/variants/?limit=1with either header:
http
Authorization: Bearer <your_api_key>or
http
X-Supplier-Token: <your_api_key>curl
bash
curl -sS -H "Authorization: Bearer YOUR_KEY" \
"https://api.ask-ayurveda.com/public-api/shop/v1/variants/?limit=1"Python
python
import requests
BASE = "https://api.ask-ayurveda.com/public-api/shop/v1"
headers = {"Authorization": "Bearer YOUR_KEY"}
r = requests.get(f"{BASE}/variants/", params={"limit": 1}, headers=headers, timeout=60)
r.raise_for_status()
print(r.json())Next steps
- Authentication — how to send the key, optional extra headers, and optional request signing.
- Limits & errors — pagination and common HTTP status codes.
- Outgoing webhooks — JSON we POST to your HTTPS URLs after payment.