minimul / qbo_api

Ruby JSON-only client for QuickBooks Online API v3. Built on top of the Faraday gem.
MIT License
85 stars 45 forks source link

How to update preferences? #95

Closed jonewalt closed 5 years ago

jonewalt commented 5 years ago

I keep getting a 10000 system level error when I try this:

qbo_api.update(:preferences, id: "", payload: preferences)

or a method failure when I omit the id.

Any help updating Preferences as well as any other supporting_entities would be amazing, thanks!

minimul commented 5 years ago

Only a small subset of preference resource attributes are updatable so you are most likely running up against that.

See the biz rules for the preference resource.

jonewalt commented 5 years ago

I started sending the full response back (with needed changes), and that's working - must have dropped something necessary in the payload. Thanks!