DIY Developer Guide: Building Custom Integrations for Brightpearl
Developer guide for building custom Brightpearl integrations. Covers REST API patterns, authentication, order and inventory sync, and automation strategies for retail operations.

Overview
Brightpearl (by Sage) is a retail operations platform covering orders, inventory, purchasing, accounting, and warehouse management. Its REST API enables deep integrations with ecommerce platforms, marketplaces, and fulfillment systems.
Authentication
Brightpearl uses a custom authentication scheme:
- Register as a Brightpearl developer
- Create a private app in the target account
- Obtain your app reference and account token
- Include authentication headers in all API requests
Key API Resources
- Orders:
GET/POST /order— sales orders, purchase orders, and credits - Products:
GET/POST /product— catalog management - Inventory:
GET /warehouse-service/product-availability— stock levels - Contacts:
GET/POST /contact— customers and suppliers - Accounting:
GET /accounting— journals, invoices, payments
Common Integration Patterns
Ecommerce Order Sync
- Receive new orders from Shopify, BigCommerce, or WooCommerce
- Map customer data to Brightpearl contacts
- Create sales orders with correct product SKU mappings
- Allocate inventory and trigger fulfillment workflows
- Post back tracking information to the sales channel
Inventory Availability Sync
- Poll Brightpearl's product availability endpoint
- Aggregate across warehouses if multi-location
- Push available quantities to all connected sales channels
- Run on a 5-15 minute schedule for near-real-time accuracy
Purchase Order Automation
- Monitor inventory levels against reorder points
- Generate purchase order payloads for suppliers
- Create POs in Brightpearl via the orders API
- Track receipts and update inventory on goods-in
Webhook and Event Handling
Brightpearl supports event-based triggers:
- Subscribe to order, product, and inventory change events
- Process events in a queue to handle volume spikes
- Implement deduplication to handle repeated notifications
Rate Limits and Best Practices
- Brightpearl enforces request rate limits per account
- Use batch endpoints where available
- Cache reference data (products, warehouses) to reduce API calls
- Implement exponential backoff for throttled requests
When to Use a Managed Platform
Brightpearl's API is powerful but complex — especially for multi-channel retailers managing orders, inventory, and accounting across multiple systems. APIWORX provides pre-built Brightpearl connectors with battle-tested error handling, field mapping, and monitoring built in.

