PP | Retrieve Available Products

Endpoint

POST
/msapi/productoffermanagementms/v3/product/availability

This API is designed to fetch the available add-ons associated with the specified account.

arrowRequest

Header Parameters

                              Body Parameters

                              Responses

                              OK

                              arrowBody

                              application/json

                              REQUEST

                              1
                              2
                              3
                              4
                              5
                              6
                              7
                              8
                              9
                              10
                              11
                              12
                              curl --request POST \
                                   --url https://example.com/msapi/productoffermanagementms/v3/product/availability \
                                   --header 'accept: application/json' \
                                   --header 'authorization: Basic bTIzOTgwQGlkcC5hdHQuY29tOmlkcEs4c3J2Y3NBdXRoMjAyMW5wISE=' \
                                   --header 'content-type: application/json' \
                                   --data '
                              {
                                "accountNumber": "552826049188",
                                "productType": "BROADBAND",
                                "mode": "ProductPurchase"
                              }
                              '

                              RESPONSE

                              1
                              2
                              3
                              4
                              5
                              6
                              7
                              8
                              9
                              10
                              11
                              12
                              13
                              14
                              15
                              16
                              17
                              18
                              19
                              20
                              21
                              22
                              23
                              24
                              25
                              26
                              27
                              28
                              29
                              30
                              31
                              32
                              33
                              34
                              35
                              36
                              37
                              38
                              39
                              {
                                "content": {
                                  "accountDetails": {
                                    "ban": "298083005010"
                                  },
                                  "availableProducts": [
                                    {
                                      "purchaseEligibility": true,
                                      "productDetails": [
                                        {
                                          "productCode": "b474f34f-5c2b-4501-99dd-28ef9e60dcff",
                                          "productType": "addon",
                                          "displayName": "TestOnly_Fiber Wi-Fi Coverage Service",
                                          "productPrice": {
                                            "uom": "month",
                                            "productCost": "10.0"
                                          },
                                          "productOriginalPrice": {
                                            "uom": "month",
                                            "productCost": "10.0"
                                          },
                                          "productRelationship": [
                                            {
                                              "equipmentInfo": [
                                                {
                                                  "deviceType": "BBDevice",
                                                  "deviceDisplayName": "TestOnly_All-Fi Fiber Booster ",
                                                  "deviceId": "3be36e21-9fb4-4fe9-aaa8-fb2ebac818dc",
                                                  "upperLimit": "5"
                                                }
                                              ]
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }