Making changes as per https://github.com/sandeepshetty/shopify_api/pull/6