Skip to content

Instantly share code, notes, and snippets.

@dmurawsky
Created April 5, 2022 16:13
Show Gist options
  • Save dmurawsky/4ccfa73cf1f66c8c59f55959eaa80305 to your computer and use it in GitHub Desktop.
Save dmurawsky/4ccfa73cf1f66c8c59f55959eaa80305 to your computer and use it in GitHub Desktop.
Examples of Zenoti Packages
{
"user_package_id": "a12802db-834f-48c4-89f2-e4a1558e8bc2",
"user_package_state": 0,
"redeemable": null,
"invoice": {
"status": 4,
"receipt_no": "II9947171",
"id": "8bf6c016-b107-41b9-8218-2c6b90c4aba7",
"no": "II9947171"
},
"status": 5,
"package": {
"type": 0,
"id": "85451893-514c-4fd5-b0c1-1ebc2a9d59a1",
"name": "Mani - Buy One Get One"
},
"date": {
"end_date_with_grace": "2021-07-29T00:00:00",
"start": "2021-07-29T00:00:00",
"end": "2021-07-29T00:00:00"
},
"products": [],
"services": [],
"redemption_setting_details": null,
"lookup_package_user_id": "a12802db-834f-48c4-89f2-e4a1558e8bc2",
"start_validity_at_first_redemption": false,
"never_expires": false,
"has_first_redemption": false,
"expiration_days": 0,
"purchase_price": 25
}
{
"user_package_id": "85451893-514c-4fd5-b0c1-1ebc2a9d59a1",
"user_package_state": 0,
"redeemable": null,
"invoice": {
"status": 12,
"receipt_no": "IR9947171",
"id": "1125481e-7986-4d40-a176-7f51aba28a80",
"no": "IR9947171"
},
"status": 8,
"package": {
"type": 0,
"id": "85451893-514c-4fd5-b0c1-1ebc2a9d59a1",
"name": "Mani - Buy One Get One"
},
"date": {
"end_date_with_grace": "0001-01-01T00:00:00",
"start": "0001-01-01T00:00:00",
"end": "0001-01-01T00:00:00"
},
"products": [],
"services": [],
"redemption_setting_details": null,
"lookup_package_user_id": "00000000-0000-0000-0000-000000000000",
"start_validity_at_first_redemption": false,
"never_expires": false,
"has_first_redemption": false,
"expiration_days": 0,
"purchase_price": -25
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment