This automation notifies your application whenever the following package events occur:

  • Guest package creation

  • Guest package redemption

  • Guest package redemption reversal

  • Guest package status update

  • Guest package validity update

Check the API documentation for guest package events.

Sample Object Response – Guest Package Creation

{
"user_package_id": "fe645486-7165-41de-8948-7f476c856824",
"status": 1,
"user_package_state": 2,
"invoice": {
"status": 0,
"receipt_no": "0",
"id": "4ed8572b-daaf-496a-8e36-aa27e8399917",
"no": "RR16674"
},
"package": {
"code": "15 min facial package",
"is_OTP_required": false,
"type": 0,
"id": "e19e0f53-74d3-46b7-bc87-bef8fbc185c8",
"name": "15 min facial package"
},
"purchase": {
"price": {
"currency_id": 0,
"sales": 0,
"tax": 0,
"final": 110
},
"date": "2022-03-02T05:26:34"
},
"date": {
"end_date_with_grace": "2022-04-26T00:00:00",
"start": "2022-03-02T00:00:00",
"end": "2022-04-01T00:00:00"
},
"schedule": {
"completed_schedules": 1,
"next_schedule_date": "2022-03-03T20:00:00"
},
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
"is_refunded": false,
"sale_invoice": {
"id": null,
"no": null
},
"services": [
{
"service_type_info": {
"service_category_type": 2,
"id": "d259ba65-2eec-42ca-8670-4b35c00ffd06",
"name": "Aroma Body Massage",
"duration": 15,
"has_segments": false
},
"exists_in_current_center": true,
"total": 1,
"used": 0,
"balance": 0,
"balance_amount": 0,
"price": null,
"package_service_price": 0.86,
"sale_as_part_of_package_or_membership_only": false,
"book_with_partial_balance": 1
},
{
"service_type_info": {
"service_category_type": 2,
"id": "1826509a-c7dc-457c-9a9a-e2c921965847",
"name": "Oxy Facial Massage",
"duration": 30,
"has_segments": true
},
"exists_in_current_center": true,
"total": 1,
"used": 0,
"balance": 1,
"balance_amount": 51.72,
"price": null,
"package_service_price": 51.72,
"sale_as_part_of_package_or_membership_only": false,
"book_with_partial_balance": 1
},
{
"service_type_info": {
"service_category_type": 1,
"id": "977b2015-b764-452a-9562-a45a309ffcbe",
"name": "Coloring",
"duration": 0,
"has_segments": false
},
"exists_in_current_center": true,
"total": 2,
"used": 0,
"balance": 2,
"balance_amount": 2.06,
"price": null,
"package_service_price": 1.03,
"sale_as_part_of_package_or_membership_only": null,
"book_with_partial_balance": 1
},
{
"service_type_info": {
"service_category_type": 3,
"id": "c35f8a2b-af2a-4bac-9bf7-7490c82580b1",
"name": "Servic tag",
"duration": 0,
"has_segments": false
},
"exists_in_current_center": true,
"total": 1,
"used": 0,
"balance": 1,
"balance_amount": 11.38,
"price": null,
"package_service_price": 11.38,
"sale_as_part_of_package_or_membership_only": null,
"book_with_partial_balance": 1
}
],
"products": [
{
"product_type_info": {
"product_category_type": 2,
"name": "Apportion product 1",
"id": "3fe77dd2-14b3-460c-ac0f-d0270408fe87"
},
"exists_in_current_center": true,
"total": 1,
"used": 0,
"balance": 1,
"balance_amount": 0,
"price": null
},
{
"product_type_info": {
"product_category_type": 2,
"name": "Apportion product 2",
"id": "01e54947-db4d-4aec-a753-9a6e98d55f0e"
},
"exists_in_current_center": true,
"total": 1,
"used": 0,
"balance": 1,
"balance_amount": 0,
"price": null
},
{
"product_type_info": {
"product_category_type": 1,
"name": "Face Lotions",
"id": "a1d884ae-3e72-4429-ba99-727488e1ed87"
},
"exists_in_current_center": true,
"total": 1,
"used": 0,
"balance": 1,
"balance_amount": 0,
"price": null
},
{
"product_type_info": {
"product_category_type": 3,
"name": "Powder tag",
"id": "a70786b7-5f2f-4fee-a2fc-c95e55dd06c0"
},
"exists_in_current_center": true,
"total": 2,
"used": 0,
"balance": 2,
"balance_amount": 0,
"price": null
}
],
"lookup_package_user_id": null,
"start_validity_at_first_redemption": false,
"never_expires": false,
"has_first_redemption": false,
"expiration_days": 30
}

Sample Response Code – Guest Package Redemption

{
"user_package_id": "fe645486-7165-41de-8948-7f476c856824",
"status": 1,
"user_package_state": 2,
"invoice": {
"status": 0,
"receipt_no": "0",
"id": "4ed8572b-daaf-496a-8e36-aa27e8399917",
"no": "RR16674"
},
"package": {
"code": "15 min facial package",
"is_OTP_required": false,
"type": 0,
"id": "e19e0f53-74d3-46b7-bc87-bef8fbc185c8",
"name": "15 min facial package"
},
"purchase": {
"price": {
"currency_id": 0,
"sales": 0,
"tax": 0,
"final": 110
},
"date": "2022-03-02T05:26:34"
},
"date": {
"end_date_with_grace": "2022-04-26T00:00:00",
"start": "2022-03-02T00:00:00",
"end": "2022-04-01T00:00:00"
},
"schedule": {
"completed_schedules": 1,
"next_schedule_date": "2022-03-03T20:00:00"
},
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
"is_refunded": false,
"sale_invoice": {
"id": null,
"no": null
},

"lookup_package_user_id": null,
"start_validity_at_first_redemption": false,
"never_expires": false,
"has_first_redemption": false,
"expiration_days": 30,
"service_redemptions":[
{
"invoice": {
"status": 0,
"id": "4ed8572b-daaf-496a-8e36-aa27e8399917",
"no": "RR16674",
"item_id":"0cc3f6bd-680e-4953-bda6-9441565efb52"
},
"service": {
"id":"4ed8572b-daaf-496a-8e36-aa27e8399917",
"name" : "Aroma Body Massage"
},
"service_type_info": {
"service_category_type": 1,
"id": "977b2015-b764-452a-9562-a45a309ffcbe",
"name": "Coloring"
},
"therapist": {
"id":"a11f578a-1b81-4de0-8834-915f79e5362b",
"name":"Raj Raj"
},
"usage_date":"2022-03-01 20:00:00.000",
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
}
],
"product_redemptions":[
{
"invoice": {
"status": 0,
"id": "4ed8572b-daaf-496a-8e36-aa27e8399917",
"no": "RR16674",
"item_id":"0cc3f6bd-680e-4953-bda6-9441565efb52"
},
"product": {
"id":"4ed8572b-daaf-496a-8e36-aa27e8399917",
"name" : "Aroma Body Massage"
},
"product_type_info": {
"product_category_type": 2,
"id": "3fe77dd2-14b3-460c-ac0f-d0270408fe87",
"name": "Apportion product 1"
},
"therapist": {
"id":"a11f578a-1b81-4de0-8834-915f79e5362b",
"name":"Raj Raj"
},
"usage_date":"2022-03-01 20:00:00.000",
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
}
]
}

Sample Response Code – Guest Package Redemption Reversal

{
"user_package_id": "fe645486-7165-41de-8948-7f476c856824",
"status": 1,
"user_package_state": 2,
"invoice": {
"status": 0,
"receipt_no": "0",
"id": "4ed8572b-daaf-496a-8e36-aa27e8399917",
"no": "RR16674"
},
"package": {
"code": "15 min facial package",
"is_OTP_required": false,
"type": 0,
"id": "e19e0f53-74d3-46b7-bc87-bef8fbc185c8",
"name": "15 min facial package"
},
"purchase": {
"price": {
"currency_id": 0,
"sales": 0,
"tax": 0,
"final": 110
},
"date": "2022-03-02T05:26:34"
},
"date": {
"end_date_with_grace": "2022-04-26T00:00:00",
"start": "2022-03-02T00:00:00",
"end": "2022-04-01T00:00:00"
},
"schedule": {
"completed_schedules": 1,
"next_schedule_date": "2022-03-03T20:00:00"
},
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
"is_refunded": false,
"sale_invoice": {
"id": null,
"no": null
},

"lookup_package_user_id": null,
"start_validity_at_first_redemption": false,
"never_expires": false,
"has_first_redemption": false,
"expiration_days": 30,
"service_redemptions_reversal":[
{
"invoice": {
"status": 0,
"id": "4ed8572b-daaf-496a-8e36-aa27e8399917",
"no": "RR16674",
"item_id":"0cc3f6bd-680e-4953-bda6-9441565efb52"
},
"service": {
"id":"4ed8572b-daaf-496a-8e36-aa27e8399917",
"name" : "Aroma Body Massage"
},
"service_type_info": {
"service_category_type": 1,
"id": "977b2015-b764-452a-9562-a45a309ffcbe",
"name": "Coloring"
},
"therapist": {
"id":"a11f578a-1b81-4de0-8834-915f79e5362b",
"name":"Raj Raj"
},
"usage_date":"2022-03-01 20:00:00.000",
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
}
],
"product_redemptions_reversal":[
{
"invoice": {
"status": 0,
"id": "4ed8572b-daaf-496a-8e36-aa27e8399917",
"no": "RR16674",
"item_id":"0cc3f6bd-680e-4953-bda6-9441565efb52"
},
"product": {
"id":"4ed8572b-daaf-496a-8e36-aa27e8399917",
"name" : "Aroma Body Massage"
},
"product_type_info": {
"product_category_type": 2,
"id": "3fe77dd2-14b3-460c-ac0f-d0270408fe87",
"name": "Apportion product 1"
},
"therapist": {
"id":"a11f578a-1b81-4de0-8834-915f79e5362b",
"name":"Raj Raj"
},
"usage_date":"2022-03-01 20:00:00.000",
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
}
]
}

Sample Response Code – Guest Package Status Update

{
"user_package_id": "0cc3f6bd-680e-4953-bda6-9441565efb52",
"status": 1,
"user_package_state": 0,
"invoice": {
"status": 4,
"receipt_no": "RRR6059",
"id": "1ee272c2-bb54-4350-87d3-f32ac034aacc",
"no": "RR16675"
},
"package": {
"code": "15 min facial package",
"is_OTP_required": false,
"type": 0,
"id": "e19e0f53-74d3-46b7-bc87-bef8fbc185c8",
"name": "15 min facial package"
},
"purchase": {
"price": {
"currency_id": 0,
"sales": 0,
"tax": 0,
"final": 110
},
"date": "2022-03-02T05:55:14"
},
"date": {
"end_date_with_grace": "2022-04-26T09:55:25",
"start": "2022-03-02T09:55:25",
"end": "2022-04-01T09:55:25"
},
"schedule": {
"completed_schedules": null,
"next_schedule_date": null
},
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
"is_refunded": false,
"sale_invoice": {
"id": null,
"no": null
},
"lookup_package_user_id": null,
"start_validity_at_first_redemption": false,
"never_expires": false,
"has_first_redemption": true,
"expiration_days": 30
}

Sample Response Code – Guest Package Validity Update

{
"user_package_id": "0cc3f6bd-680e-4953-bda6-9441565efb52",
"status": 1,
"user_package_state": 0,
"invoice": {
"status": 4,
"receipt_no": "RRR6059",
"id": "1ee272c2-bb54-4350-87d3-f32ac034aacc",
"no": "RR16675"
},
"package": {
"code": "15 min facial package",
"is_OTP_required": false,
"type": 0,
"id": "e19e0f53-74d3-46b7-bc87-bef8fbc185c8",
"name": "15 min facial package"
},
"purchase": {
"price": {
"currency_id": 0,
"sales": 0,
"tax": 0,
"final": 110
},
"date": "2022-03-02T05:55:14"
},
"date": {
"end_date_with_grace": "2022-04-26T09:55:25",
"start": "2022-03-02T09:55:25",
"end": "2022-04-01T09:55:25"
},
"schedule": {
"completed_schedules": null,
"next_schedule_date": null
},
"center": {
"id": "a11f578a-1b81-4de0-8834-915f79e5362b",
"name": "Khammam"
},
"is_refunded": false,
"sale_invoice": {
"id": null,
"no": null
},
"lookup_package_user_id": null,
"start_validity_at_first_redemption": false,
"never_expires": false,
"has_first_redemption": true,
"expiration_days": 30
}

Did this answer your question?