get https://api.zenoti.com/v1/guests//products
Provide unique identifier of the guest as guest_id and this API will retrieve the products purchased by the guest.
Response Details
| Name | Type | Description |
|---|---|---|
| products | object | Object containing the info of the products purchased by the guest. |
| center | object | Object containing the details of the center where the guest purchased the product. |
| invoice | object | Object containing the details of the invoice raised for the product purchase. |
| page_info | object | Page details of the API response. |
products Object
| Name | Type | Description |
|---|---|---|
| id | guid | Unique identifier of the product. |
| name | string | Name of the product. |
| quantity | int | Quantity of the product purchased by the guest. |
| sale_by | string | Name of the employee who sold the product. |
| sale_date | datetime | Date on which guest purchased the product. |
| price | double | Cost of the product. |
| discount | double | Discount applied while purchasing the product. |
| taxes | double | Taxes applied while purchasing the product. |
| price_paid | double | Price paid by the guest. |
| promotion | string | Promotion applied while purchasing the product. |
| payment_type | string | Type of the payment. |
invoice Object
| Name | Type | Description |
|---|---|---|
| id | guid | Unique identifier of the |
| source | enum | Source from which invoice is generated. Web = 0 CustomerApp = 1 WebStore = 2 Imports = 3 Offline = 4 Dunning = 5 EmployeeApp = 6 ManagerApp = 7 AutoCollection = 8 Take5 = 11 TherapistAppAnd |
| status | string | current status of th |
| invoice_number | string | Unique number used to represent the |
| receipt_number | string | Unique number used to represent the |
| invoice_item_id | guid | Unique identifier of the invoic |
center Object
| Name | Type | Description |
|---|---|---|
| center.id | guid | Unique identifier of the center. |
| center.name | string | Name of the center. |
