β±οΈ Time to Complete: Most integrations are live within 2-3 weeks following this guide
jobAccountNumber saved (from Step 5)π Complete guide: Follow the Authentication Guide (Steps 1-4) then Place Order Guide (Steps 5-8) for full implementation.
client_id - Your unique identifierclient_secret - Your authentication secret (keep secure!)π Security Tip: Never share your client_secretpublicly or commit it to version control!
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!
/api/customer/validatevalidIndicator: true β
Customer can place ordersvalidIndicator: false β Customer not eligibleβ οΈ Critical: Always check validIndicatorbefore proceeding with orders!
/branches/v2/branchLocations/branches/v2/customerBranchLocations/{customerCode}jobAccountNumber - Required for order submission{
"jobAccountNumber": 78,
"branchCode": "AMDEN",
"shipToSequenceNumber": 1
}π‘ Pro Tip: Save the jobAccountNumber- you'll need it for every order!
/branches/v2/activeBranchProducts/{branchCode}/products/v2/price{
"customerCode": "ABC123",
"branchCode": "AMDEN",
"productList": [
{
"productId": 12345,
"quantity": 10,
"uom": "EA"
}
]
}β‘ Performance Tip: Prices are customer-specific. Always use the correct customerCode!
/orders/v2/submit{
"message": "Order Submitted",
"transactionID": "YOUR-UNIQUE-ID",
"orderID": "35818786",
"queueID": null
}π― Success! You've completed the full integration flow!
https://services-qa.roofhub.pro