intuit / QuickBooks-V3-PHP-SDK

Official PHP SDK for QuickBooks REST API v3.0: https://developer.intuit.com/
Apache License 2.0
241 stars 242 forks source link

Create an item with a Class #452

Open 1127 opened 2 years ago

1127 commented 2 years ago

I can create an item and include every field I need except Class. The API Documentation at QB says it is "ClassRef": https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/item#the-item-object

In including API\Facades\IPPClass

I can set a PrefVendorRef perfectly fine - I need to set ClassRef - been sending a "value" and "name" but only get back: Error: Property ClassRef does not exist. Any help would be appreciated does the SDK just not support classes?

1127 commented 2 years ago

PrefVendorRef also doesn't work - clearly setting it - item in QBO has no preferred vendor.

1127 commented 2 years ago

So I see someplace that we can't create Inventoried items. I think this is a pretty big shortcoming - adding just a few fields would make this so much more powerful.

1127 commented 2 years ago

Adding to the mystery: ReorderPoint works FINE - WTF? QtyOnHand can be set fine - why can't these other things?