SRS Integration Partner Services
HomeV1 APIsV2 APIs
HomeV1 APIsV2 APIs
  1. Products
  • 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
    • Price
      POST
    • UOM Conversion
      GET
  • Branches
    • Branch Active Items
      GET
    • Branch Details
      GET
  1. Products

Price

POST
/products/v2/price
The Get Price API is a newly introduced API that offers a streamlined way to obtain product prices and additional related information. This API empowers users to retrieve pricing details and more, enhancing their ability to make informed decisions when interacting with products.The API response is cached for a duration of 4 hours, enhancing performance and minimizing redundant calls.

Request

Header Params

Body Params application/json

Example
{
  "sourceSystem": "SOURCENAME",
  "customerCode": "DEMO001",
  "branchCode": "HWPLY",
  "transactionId": "SPR-1",
  "jobAccountNumber": 1,
  "productList": [
    {
      "productId": 77673,
      "productName": "Ace Insulation Plates",
      "productOptions": [
        "N/A"
      ],
      "quantity": 1,
      "uom": "PC"
    }
  ]
}

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 POST 'https://services-qa.roofhub.pro/products/v2/price' \
--header 'Authorization: Bearer' \
--header 'Content-Type: application/json' \
--data-raw '{
  "sourceSystem": "SOURCENAME",
  "customerCode": "DEMO001",
  "branchCode": "HWPLY",
  "transactionId": "SPR-1",
  "jobAccountNumber": 1,
  "productList": [
    {
      "productId": 77673,
      "productName": "Ace Insulation Plates",
      "productOptions": [
        "N/A"
      ],
      "quantity": 1,
      "uom": "PC"
    }
  ]
}'

Responses

🟢200v2/price
application/json
Body

Example
[
    {
        "itemCode": "ACEACEPLT3INI",
        "productId": 77673,
        "productName": "Ace Insulation Plates",
        "productOptions": [
            "N/A"
        ],
        "priceUOM": "PC",
        "requestedUOM": "PC",
        "uomConversionFactor": 1,
        "price": 0.25,
        "availableStatus": "Call for Availability",
        "transactionId": "SPR-1",
        "message": "",
        "messageCode": 0
    }
]
🟢200v2/price
Modified at 2026-04-06 20:23:13
Previous
Order Templates
Next
UOM Conversion
Built with