SRS Integration Partner Services
HomeV1 APIsV2 APIs
HomeV1 APIsV2 APIs
  1. Customers
  • Authentication
    • Token
      POST
  • Orders
    • Delivery Details
      GET
    • Deliveries list
      POST
    • Proof of Delivery
      GET
    • Order Details
      GET
    • Order list
      POST
    • Submit Order
      POST
  • Invoices
    • Invoice Details
      GET
    • Invoices List
      POST
    • Invoice PDF
      GET
  • Customers
    • Customer Details
      GET
    • Validate Customer
      GET
    • Nearest Eligible Branch
      GET
    • Ship to Address
      GET
    • Order Templates
      GET
  • Products
    • Pricing
      POST
  • Branches
    • Branch Details
      GET
    • Branch Active Items
      GET
  1. Customers

Customer Details

GET
/customers/{customerCode}
Returns the customer information

Request

Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://services-qa.roofhub.pro/customers/' \
--header 'Authorization: Bearer'

Responses

🟢200Success
application/json
Body

Example
{
    "customerId": 12345,
    "customerKey": "00012345",
    "customerCode": "CSTMR1",
    "customerName": "CUSTOMER NAME",
    "addressLine1": "CUSTOMER ADDRESS",
    "addressLine2": "",
    "addressLine3": "",
    "city": "PATCHOGUE",
    "state": "NY",
    "zipCode": "123456789",
    "phone": "9876543210",
    "fax": "9876543210",
    "homeBranch": "BRANCH2",
    "homeBranchId": 202,
    "nonSaleableIndicator": "N"
}
Modified at 2025-09-25 11:08:59
Previous
Invoice PDF
Next
Validate Customer
Built with