Partner API
Your catalog.
Your connection.
Pull the inventory assigned to your integration and send orders to Medidenta. Simple HTTP endpoints, JSON responses, and consumer-key authentication.
HTTP Basic AuthRead & write permissionsScoped inventorySync inventory
Fetch your full assigned catalog or look up specific SKUs. Receive stock, price, status, images, dimensions, category, and brand.
Explore inventory →POSTSend orders
Submit an order using your external order ID. Your credentials determine the receiving source, with duplicate protection on retries.
Explore orders →Start in three steps
- Receive your credentials
Medidenta will email your consumer key and consumer secret directly. Your permissions and inventory scope are configured for your integration.
- Configure HTTP Basic Auth
Use the consumer key as the username and the consumer secret as the password. Make requests from your server over HTTPS.
- Make your first inventory request
Call the inventory URL without parameters to retrieve every product your key is allowed to read.
curl --silent --show-error --fail-with-body \
--user "$MEDIDENTA_CONSUMER_KEY:$MEDIDENTA_CONSUMER_SECRET" \
--header "Accept: application/json" \
"https://hub.medidenta.com/api/inventory.php"Connection details
| Setting | Value |
|---|---|
| API base URL | https://hub.medidenta.com/api |
| Authentication | HTTP Basic Auth using your consumer key and consumer secret |
| Response format | JSON; all request timestamps are UTC |
| Inventory permissions | Read or Read/Write |
| Order permissions | Write or Read/Write |
Endpoint reference
| Method | Path | Purpose |
|---|---|---|
| GET | /api/inventory.php | Read your assigned inventory; optionally filter by SKU. |
| POST | /api/orders.php | Queue a new order or safely recognize a duplicate. |