Settings
Manage your API keys for automated inventory sync
API Keys
Use these keys to authenticate API requests for inventory sync
Quick Start
How to use the API for inventory synchronization
Authentication Header
x-api-key: your_api_key_here
Add Single Slab
// POST https://surprise-granite-email-api.onrender.com/api/distributor/inventory { "product_name": "White Ice Granite", "material_type": "granite", "brand": "MSI", "color_family": "White", "length_inches": 120, "width_inches": 72, "thickness_cm": 3, "price_per_sqft": 45.00, "status": "available", "images": ["https://example.com/slab.jpg"], "external_id": "YOUR-SKU-123" }
Bulk Import
// POST https://surprise-granite-email-api.onrender.com/api/distributor/inventory/bulk { "slabs": [ { "product_name": "White Ice Granite", "material_type": "granite", "external_id": "SKU-001" }, { "product_name": "Calacatta Gold Marble", "material_type": "marble", "external_id": "SKU-002" } ] }