rangka / quickbooks

PHP Library for connecting to QuickBooks.
MIT License
8 stars 11 forks source link

Vendor ID #10

Closed code2prog closed 7 years ago

code2prog commented 7 years ago

When vendor is created in return request I don'g get Vendor's ID. Is it normal? If it is, how can I get this Id number?

basherr commented 7 years ago

@code2prog You would get Id in response.

$vendor = new \Rangka\Quickbooks\Services\Vendor();
$response = $vendor->create($data);
dd($response->Id);//You should see newly created vendor id
code2prog commented 7 years ago

that works, thank you :)

basherr commented 7 years ago

You are welcome!