Skip to main content

Overview

The Offergrid Provider API lets you automate offer management and order fulfillment by integrating directly with your existing systems.

Getting Started

1. Get Your API Key

Generate a Team API Key from your dashboard:
  1. Sign in to offergrid.io
  2. Navigate to SettingsAPI Keys
  3. Click Generate New Key
  4. Save the key securely
See Authentication for detailed instructions.

2. Choose Your Integration Approach

Option A: Direct API Calls
  • Use HTTP requests from your application
  • Full control and flexibility
  • Best for custom integrations
Option B: Webhooks
  • Receive real-time notifications
  • Event-driven architecture
  • Best for order automation
Option C: Scheduled Sync
  • Poll API periodically
  • Simple to implement
  • Best for batch processing

Common Integration Patterns

Pattern 1: Automated Offer Sync

Sync your internal product catalog to Offergrid:
Run this sync:
  • Daily: For frequently changing catalogs
  • Hourly: For dynamic pricing
  • On-demand: When products update in your system

Pattern 2: Real-Time Order Processing

Use webhooks to process orders immediately:

Pattern 3: Status Sync from Fulfillment System

Update Offergrid when your internal status changes:

Core API Operations

Managing Offers

Returns the created offer with assigned ID.
Returns array of all offers for your team.
Updates only the fields provided.
Permanently removes the offer.

Managing Orders

Filter by status to get orders needing attention.
Returns full order details including customer info and service address.
Updates order status and adds notes for reseller.

Error Handling

Implement robust error handling:

Rate Limiting

Be mindful of rate limits:
  • Burst: 100 requests per minute
  • Sustained: 10,000 requests per hour
Best practices:
  • Implement exponential backoff
  • Cache responses when appropriate
  • Batch operations where possible
  • Use webhooks instead of polling

Security Best Practices

Use environment variables or secure key management:
Always use https:// endpoints, never http://.
Verify webhook requests actually come from Offergrid:
Don’t let API calls hang indefinitely:

Testing Your Integration

1. Use Draft Offers

Test with status: "draft" offers that won’t be visible to resellers:

2. Create Test Orders

Work with support to create test orders for validation.

3. Monitor Logs

Watch your integration logs for errors:

Example Integration

Full example of a provider integration:

Next Steps

API Reference

Complete API documentation

Webhooks

Set up real-time notifications

Authentication

API key management

Order Fulfillment

Learn about order processing