mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Add update client example to API docs
This commit is contained in:
parent
bc94d02e4a
commit
1b01beebe5
15
docs/api.rst
15
docs/api.rst
@ -85,6 +85,15 @@ You can also update a client by specifying a value for ‘id’. Next, here’s
|
||||
|
||||
If the product_key is set and matches an existing record the product fields will be auto-populated. If the email field is set then we’ll search for a matching client. If no matches are found a new client will be created.
|
||||
|
||||
Options
|
||||
^^^^^^^
|
||||
|
||||
The following options are available when creating an invoice.
|
||||
|
||||
- ``email_invoice``: Email the invoice to the client.
|
||||
- ``auto_bill``: Attempt to auto-bill the invoice using stored payment methods or credits.
|
||||
- ``paid``: Create a payment for the defined amount.
|
||||
|
||||
Updating Data
|
||||
"""""""""""""
|
||||
|
||||
@ -96,12 +105,6 @@ Updating Data
|
||||
-d '{"name":"test", "contacts":[{"id": 1, "first_name": "test"}]}'
|
||||
-H "X-Ninja-Token: TOKEN"
|
||||
|
||||
Options
|
||||
^^^^^^^
|
||||
- ``email_invoice``: Email the invoice to the client.
|
||||
- ``auto_bill``: Attempt to auto-bill the invoice using stored payment methods or credits.
|
||||
- ``paid``: Create a payment for the defined amount.
|
||||
|
||||
Emailing Invoices
|
||||
"""""""""""""""""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user