DS | Retrieve Available promotions

Endpoint

POST
/msapi/productoffermanagementms/v3/product/availability

This API is designed to fetch the available plans and addons for change speed

arrowRequest

Header Parameters

                              Body Parameters

                              Responses

                              OK

                              arrowBody

                              application/json

                              REQUEST

                              1
                              2
                              3
                              4
                              5
                              6
                              7
                              8
                              9
                              10
                              11
                              12
                              13
                              14
                              15
                              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": "556799521920",
                                "productType": "BROADBAND",
                                "mode": "DeviceSwap",
                                "reasonCode": "FSW-HW",
                                "intent": "BBDevice",
                                "deviceId": "18200812770407799"
                              }
                              '

                              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
                              {
                                "content": {
                                  "accountDetails": {
                                    "ban": "556799521920"
                                  },
                                  "availableProducts": [
                                    {
                                      "deviceSwapEligibility": true,
                                      "reasonCodePolicy": {
                                        "reasonCodeAction": "swap",
                                        "feeToApply": "NRF",
                                        "gracePeriodForNRF": "180",
                                        "displayOrder": "100",
                                        "nrfduration": "35"
                                      },
                                      "productDetails": [
                                        {
                                          "productType": "BB_Offer",
                                          "productRelationship": [
                                            {
                                              "value": [
                                                {
                                                  "type": "Rented_Equipment",
                                                  "name": "Fiber Hub",
                                                  "id": "d540cf2a-23ff-4ff6-b859-53c5f1985476"
                                                }
                                              ],
                                              "type": "equipment"
                                            }
                                          ],
                                          "id": "b5d96af0-30bc-4988-92b9-7798cc9d4f93",
                                          "productName": "AT&T Internet 300"
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }