Reseller API v1
Reseller API Documentation
Integrate HempWholesales directly into your shop. Retrieve products, place dropship orders, and manage white-label — all via API.
Base URL:
http://localhost:9000Auth:
x-reseller-api-key: rk_xxxQuick Start
1
Register
Create an account on our platform.
2
Generate API Key
Log in and create an API key under Profile → API Keys.
3
Get Started
Use your key in the x-reseller-api-key header for all API calls.
POST
/api/reseller/authLogin — Receive JWT Token
curl -X POST http://localhost:9000/api/reseller/auth \
-H "Content-Type: application/json" \
-d '{"email":"reseller@example.com","password":"xxx"}'
# Response: {"token":"eyJhbG..."}POST
/api/reseller/api-keysGenerate API Key (Bearer Token required)
curl -X POST http://localhost:9000/api/reseller/api-keys \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Mein Shopify Store"}'
# Response: {"api_key":"rk_a1b2c3d4...","name":"Mein Shopify Store"}