Overview
The Offergrid Reseller API lets you browse services, place orders, and track fulfillment programmatically, enabling seamless integration with your existing platforms.Getting Started
1. Get Your API Key
- Sign in to offergrid.io
- Go to Settings → API Keys
- Click Generate New Key
- Save the key securely
2. Choose Your Integration Approach
Option A: Real-Time API Calls- Search catalog on-demand
- Place orders immediately
- Best for interactive applications
- Receive order status updates automatically
- Event-driven architecture
- Best for automation
- Cache catalog data locally
- Refresh periodically
- Best for high-volume or offline-capable apps
Common Integration Patterns
Pattern 1: Property Management Software
Integrate Offergrid into property management platforms:Pattern 2: Real Estate Platform
Add service ordering to real estate workflows:Pattern 3: Lead Generation Website
Capture and convert service leads:Core API Operations
Browsing Catalog
Viewing Offer Details
Placing Orders
Tracking Orders
Canceling Orders
Error Handling
Caching Strategies
Catalog Caching
Cache catalog data to reduce API calls:Order Status Caching
Cache order status with shorter TTL:Webhooks for Real-Time Updates
Instead of polling, use webhooks:Rate Limiting
- Burst: 100 requests per minute
- Sustained: 10,000 requests per hour
Best Practices
Cache catalog data
Cache catalog data
Catalog changes infrequently. Cache for 1-6 hours to reduce API calls.
Use webhooks for order updates
Use webhooks for order updates
Don’t poll for order status. Use webhooks for real-time notifications.
Implement retry logic
Implement retry logic
Handle temporary failures with exponential backoff. Retry 429 and 5xx errors.
Validate data before submitting
Validate data before submitting
Check customer info and addresses locally before making API calls.
Store order IDs
Store order IDs
Map Offergrid order IDs to your internal order/lead IDs for tracking.
Handle errors gracefully
Handle errors gracefully
Provide clear error messages to users. Don’t expose technical details.
Testing
Use Test Mode
Create test orders without real fulfillment:Monitor Integration Health
Track:- API success rate
- Average response time
- Error rates by endpoint
- Order acceptance rate