Introduction to SRS Integration Partner Services#
Welcome to the SRS Integration Partner System (SIPS)! This guide helps software partners integrate with SRS Distribution to place orders, manage inventory, and track deliveries through our API.
π― What You'll Learn - Click to expand
This documentation will guide you through:β
Setting up your API credentials and authentication
β
Making your first calls to validate customers and explore data
β
Implementing the complete order flow from product selection to submission
β
Setting up webhooks for real-time order updates
β
Best practices for production deployments
β±οΈ Time to Complete: Most integrations are live within 2-3 weeks following this guide
π Integration Progress Tracker - Click to expand
Prerequisites (from Authentication Guide):Steps 5-8 Progress (from Order Flow Guide):
πΊοΈ Integration Journey#
1.
π Setup (Steps 1-2) - Get credentials and authenticate
2.
π Explore (Steps 3-4) - Validate and discover
3.
π Build (Steps 5-7) - Construct your order
4.
β
Execute (Step 8) - Submit and track
π Integration Overview - 8 Steps#
π Phase 1: Setup & Authentication (Steps 1-2)#
πΌ Step 1: Request Credentials - Click to expand
Include your company name and integration purpose
client_id - Your unique identifier
client_secret - Your authentication secret (keep secure!)
Response time: Usually within 1-2 business daysπ Security Tip: Never share your client_secret publicly or commit it to version control!
π Step 2: Authenticate - Click to expand
Endpoint: POST /authentication/tokenaccess_token - Your session token (valid 24 hours)
expires_in - Token expiration time in seconds
β° Token Management: Tokens expire after 24 hours. Implement automatic refresh before expiration!
π Phase 2: Explore & Validate (Steps 3-4)#
β
Step 3: Validate Customer - Click to expand
Verifies customer has access to API
Returns customer account details
Required before placing orders
validIndicator: true β
Customer can place orders
validIndicator: false β Customer not eligible
β οΈ Critical: Always check validIndicator before proceeding with orders!
π Step 4: Get Branch Locations - Click to expand
Available shipping methods per branch
Branch contact information
Show available branches to your users
Let customers choose preferred pickup/delivery location
π Phase 3: Build Your Order (Steps 5-7)#
πͺ Step 5: Find Customer Branches - Click to expand
Critical Information Retrieved:jobAccountNumber - Required for order submission
Customer-specific branch relationships
Delivery addresses (ShipTo locations)
{
"jobAccountNumber": 78,
"branchCode": "AMDEN",
"shipToSequenceNumber": 1
}
π‘ Pro Tip: Save the jobAccountNumber - you'll need it for every order!
π¦ Step 6: Get Available Products - Click to expand
Products available at the specific branch
Product IDs, names, and descriptions
Available units of measure (UOM)
Not all products are available at all branches
Shows current inventory availability
Prevents ordering unavailable items
π° Step 7: Get Pricing - Click to expand
Current prices per customer
Stock availability (In Stock / Out of Stock)
Product substitution options
{
"customerCode": "ABC123",
"branchCode": "AMDEN",
"productList": [
{
"productId": 12345,
"quantity": 10,
"uom": "EA"
}
]
}
β‘ Performance Tip: Prices are customer-specific. Always use the correct customerCode!
β
Phase 4: Submit Order (Step 8)#
π Step 8: Submit Order - Click to expand
Required Data (from previous steps):β
Validated customer (Step 3)
β
Job account number (Step 5)
β
Pricing information (Step 7)
{
"message": "Order Submitted",
"transactionID": "YOUR-UNIQUE-ID",
"orderID": "35818786",
"queueID": null
}
Synchronous: Immediate processing (Staging/Testing)
Asynchronous: Queue-based processing (Production - Recommended)
π― Success! You've completed the full integration flow!
π API Environments#
URL: https://services-qa.roofhub.pro
Safe testing, synchronous orders only
Production (Live Orders):Contact SRS API Support for credentials
Real orders, async/sync available
π¬ Need Help?#
Include: Client ID (NOT secret), Environment (QA/Production), Error details
Response Time: 1-2 business days
Let's build something great together! πModified atΒ 2026-05-11 16:27:38