SRS Integration Partner Services
HomeV1 APIsV2 APIs
HomeV1 APIsV2 APIs
  1. Products
  • Authentication
    • Token
      POST
  • Products
    • Catalog
      GET
    • By Item Codes
      POST
    • Price
      POST
    • catalog Item Convert
      POST
    • Color Recommendations
      POST
  • Deliveries
    • Coordinates
      GET
  • Branches
    • Branch Locations
      GET
    • Active Branch Products
      GET
    • Customer Branch Locations
      GET
  • Customers
    • OrderTemplates
      GET
  • Orders
    • Submit Order
      POST
  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 2025-09-25 10:39:19
Previous
By Item Codes
Next
catalog Item Convert
Built with