Has anyone had trouble getting the REST API to ret...
# general
b
Has anyone had trouble getting the REST API to return opportunity data using SuiteQL?
t
The opportunities are stored in the Transaction table and flagged as type "Opprtnty." So this should work:
SELECT * FROM Transaction WHERE Type = 'Opprtnty'
Also, the account that you're using will need to have permissions on: Transactions > Opportunity. I hope that helps!
b
Thanks so much! I had tried that one, but fully spelled out opportunity.
One other related question. Multiselect fields on custom records seem to return a 500 error. Is that a known limitation or is there a different way to request multiselect fields?
t
Are you trying to select the multi-select field, or set it?
b
Just select/return right now, but will probably eventually want to set it.