GraphQL Query for Inquire Products & Offers

Version 1.0.0
download iconDownload spec

Endpoint

POST
https://partner.att.com/omni-svcs/v1/offers/query

Productoffering details will be returned for the provided eligibility and/or filter

arrowRequest

Body Parameters

Responses

OK

arrowBody

application/json
    • [
      {
    • }
      ]

REQUEST

1
2
3
4
5
6
7
8
9
curl --request POST \
     --url https://partner.att.com/omni-svcs/v1/offers/query \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "query": "getOffers(filter: {offerIds: [\"ibbndl_prod11920327_prod8580387_rwd-43100015_prod9040405\"],productOfferingId: \"06c387fb-bfd5-4287-a1e8-b9da4c0be06e\",productOfferingTypeGroup: \"mobileOffer\", ctn: \"4694561111\", edModel: \"iPh11PMA2161\", deviceType: \"Phone\", limit: 50, offset: 0}) {    offers {   id name localizedName description productOfferingType productOfferingTypeGroup bundledProductOfferingGroupOption {groupOptionId description bundledProductOffering{ id }} productOfferingTotalPrice {priceType recurringChargePeriod recurringChargePeriodLength taxIncluded standalonePrice{dutyFreeAmount{unit value}} finalPrice{dutyFreeAmount{unit value}} price{dutyFreeAmount{unit value}}} bundledProductOffering {id name productOfferingType productOfferingTypeGroup productOfferingTotalPrice{priceType recurringChargePeriod recurringChargePeriodLength taxIncluded standalonePrice{dutyFreeAmount{unit value}} finalPrice{dutyFreeAmount{unit value}} price{dutyFreeAmount{unit value}}} bundledProductOfferingOption{productOfferingPrice{name priceCategory priceType  recurringChargePeriod recurringChargePeriodLength role price{dutyFreeAmount{unit value}}  }}}}    pageInfo{totalCount pageSize pageNumber}  }"
}
'

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
40
41
42
[
  {
    "id": "06c387fb-bfd5-4287-a1e8-b9da4c0be06e",
    "name": "Value Plus VL",
    "localizedName": "Value Plus VL",
    "description": "Value Plus VL",
    "productOfferingType": "Mobile_Offer",
    "productOfferingTypeGroup": "mobileOffer",
    "bundledProductOffering": [
      {}
    ],
    "productOfferingTotalPrice": [
      {
        "priceType": "RC",
        "recurringChargePeriod": "month",
        "recurringChargePeriodLength": 1,
        "price": {
          "dutyFreeAmount": {
            "unit": "USD",
            "value": 60.99
          }
        },
        "finalPrice": {
          "dutyFreeAmount": {
            "unit": "USD",
            "value": 60.99
          }
        },
        "standalonePrice": {
          "dutyFreeAmount": {
            "unit": "USD",
            "value": 60.99
          }
        },
        "taxIncluded": "Excluded"
      }
    ],
    "bundledProductOfferingGroupOption": [
      {}
    ]
  }
]