Add a product to an invoice

Use this API to add a product to an invoice.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Details

NameTypeDescription
invoice_idguidUnique identifier of the invoice.
errorobjectObject that contains error message and error code details. For more information, refer to the error Object table.

error Object

codemessage
502request body is not supplied.
502Invalid center_id.
438cannot access.
502Invalid guest_id.
502Invalid quantity.
502Invalid sale_by_employee_id.
502unable to retrieve stock details of product.
502Invalid product id.
502only retail products are allowed for sale.
Path Params
string
required

Mandatory Unique 32-character identifier of the invoice to which you want to add a product.

Query Params
string
required

Mandatory List of objects that contains the purchase details.

string
required

Mandatory Unique identifier of the product.

int32

Optional Quantity of the product that is to be added to invoice.

string

Optional Unique identifier of the employee who is selling the product.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json