[Vtigercrm-developers] Creating quotes via webservice

Chris Landa stylesuxx at gmail.com
Fri Oct 23 10:33:07 GMT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20201023/f9206dfa/attachment.html>


More information about the vtigercrm-developers mailing list