check if obj exists in returned data, if not then return response from shopify