Is there a way to get list of available options for contact statuses? (also statuses for lead and customer types for customer). I can do:
→ curl -s -H “Authorization: Bearer $TOKEN” -H “Accept: application/json” “https://piortpiesync.erpnext.com/api/resource/DocType/Contact” | jq ‘.data.fields | select(.fieldname == “status”) | .options’
Which returns available options as you see. The problem is it is not what I expected. I customize that list in the web UI and I have one more option. So what I expected is “Passive\nOpen\nReplied\nxxx”. Is it possible to fetch all available options somehow?
Actually I think that it worked one or two days ago and all options was returned but I’m not so sure about that any more.