put https://api.zenoti.com/v1/invoices//products
Use this API to add a product to an invoice.
Response Details
Name | Type | Description |
---|---|---|
invoice_id | guid | Unique identifier of the invoice. |
error | object | Object that contains error message and error code details. For more information, refer to the error Object table. |
error Object
code | message |
---|---|
502 | request body is not supplied. |
502 | Invalid center_id. |
438 | cannot access. |
502 | Invalid guest_id. |
502 | Invalid quantity. |
502 | Invalid sale_by_employee_id. |
502 | unable to retrieve stock details of product. |
502 | Invalid product id. |
502 | only retail products are allowed for sale. |