post https://api.zenoti.com/v1/invoices/products
Use this API to generate an invoice after booking the required products.
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. |
4023 | invoice create unsuccessful. |