php - getting Notice: Undefined index: with use of json_decode

one text

Solution:

Your result node is an array of objects, so it be probably:

echo $data['quoteSummary']['result'][0]['summaryDetail']['priceHint']['raw'];

Source