M. D. Guilbeault
M. D. Guilbeault

Reputation: 1

QBSDK Add Customer Job

How do you add a job to an existing customer. I have tried both CustomerAddRq and CustomerModRq and neither works. My client wants to create a new job for each customer contract and track invoices and bills by job.

Would appreciate some help.

Upvotes: 0

Views: 269

Answers (1)

Keith Palmer Jr.
Keith Palmer Jr.

Reputation: 28032

To add a job, you call CustomerAdd and specify the ParentRef of the parent customer.

For example:

<CustomerAddRq>
  <CustomerAdd>
    <Name>Child Customer Name</Name>
    <ParentRef>
      <FullName>Parent Customer Name</FullName>
    </ParentRef>
    <FirstName>Keith</FirstName>
    <LastName>Palmer</LastName>
    <Phone>860-634-1602</Phone>
    <Email>[email protected]</Email>
  </CustomerAdd>
</CustomerAddRq>

Here's a few additional examples:

Upvotes: 1

Related Questions