How to self-integrate a sales channel using the StoreFeeder REST API
D
Written By Demo UserLast updated about 21 hours ago
Overview
This article explains how to use the StoreFeeder REST API to integrate a sales channel that StoreFeeder does not natively support, enabling order import, despatch notifications, and inventory sync.
Before you begin
Review the following prerequisites and limitations:
API access is at additional cost. Contact the StoreFeeder sales team to discuss enabling REST API access. Two support levels are available:
- Supported: StoreFeeder will guide you through questions but does not provide bespoke code.
- Unsupported: StoreFeeder only assists when you have identified a bug in the API.
- You need a developer. StoreFeeder does not maintain a list of recommended developers.
- Listings are not mapped automatically. Orders import as unrecognised because StoreFeeder has no listing to map against. However, if your channel SKUs match product SKUs in StoreFeeder, or a matching barcode is found, StoreFeeder automatically decrements stock on the correct product.
- Consider an out-of-stock threshold. You may want your integration to send 0 to the external channel when StoreFeeder stock falls below a set threshold (for example, below 5 units) to reduce oversell risk.
Integration steps
- Create a Phone Order channel to house the orders. You can add a custom logo to distinguish it from standard phone channels.
- Create a dedicated StoreFeeder user with full access to all warehouses and the channels you need.
- Authenticate the user. See the StoreFeeder REST API documentation at https://rest.storefeeder.com/ and the Getting a StoreFeeder API key article.
- Set up order import. Create a scheduled process that polls your external channel every 15 minutes for new orders and inserts them into StoreFeeder in batches of 5 using the
POST orders/create-orders-v2endpoint. Add logic to avoid re-importing orders already in StoreFeeder. Use theGET channelsendpoint to retrieve the channel ID. - Set up despatch notifications. Create a scheduled process that runs hourly and polls StoreFeeder for orders despatched or pre-despatched since the last iteration using the
GET ordersendpoint. Filter by channel ID and theLastStatusChangeFromparameter. Optionally usePUT orders/mark-orders-as-downloadedto flag processed orders. UsePUT orders/mark-orders-as-not-downloadedto reverse this if errors occur. - Set up inventory sync. Create a scheduled process that polls StoreFeeder for inventory values every 15 minutes and passes them to your external channel. Use the
GET warehouses/{warehouseID}/inventory-reportendpoint. This sync is essential to minimise oversell risk.
These six steps create a working basic integration. Additional functionality is available at https://rest.storefeeder.com/Help.
Was this helpful?
Your feedback shapes what we write next.
