[Vtigercrm-developers] Creating quotes via webservice
Alan Lord
alanslists at gmail.com
Fri Oct 23 10:49:44 GMT 2020
You can't create any inventory records without at least one LineItem.
Suggest doing a vtws_describe of module "LineItem".
Search this list too. We discussed this only recently in the thread
"Creating Inventory records via Webservice".
HTH
Al
On 23/10/2020 11:33, Chris Landa wrote:
> I have problems creating quotes via web service on vTiger 7.3
> productid is a required field, which does not make sense to me, since I
> want to add multiple products to the quote - I would expect a field with
> Line items here or something similar.
>
> Anyway, even when adding the productid property a quote is not created.
> Instead I get an empty 200 response.
>
> What am I missing here?
>
> This is the element I am passing:
>
> $quote = array(
> 'subject' => 'Subject 1234',
> 'quotestage' => 'Created',
> 'account_id' => '11x43',
> 'contact_id' => '12x37',
> 'assigned_user_id' => '19x1',
> 'bill_street' => 'Bill street',
> 'ship_street' => 'Bill street',
> 'productid' => '14x39',
> );
>
> Kind regards,
> Chris
>
> _______________________________________________
> http://www.vtiger.com/
>
More information about the vtigercrm-developers
mailing list