curl --request GET \
--url http://localhost:3000/v1/notifications/staff/{staffId}/preferences{
"preferences": {
"staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_received": true,
"customer_arrived": true,
"task_assigned": true,
"sweep_arrived": true,
"shift_starting": true,
"schedule_posted": true,
"partner_brand_application": true,
"partner_product_application": true,
"email_enabled": true,
"quiet_hours_enabled": true,
"quiet_hours_start": "<string>",
"quiet_hours_end": "<string>",
"suppress_while_in_app": true
},
"tokens": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"token": "<string>",
"platform": "<string>",
"device_name": "<string>",
"device_model": "<string>",
"is_active": true,
"last_used_at": "<string>",
"error_count": 123,
"created_at": "<string>"
}
]
}Returns notification preferences for a staff member.
curl --request GET \
--url http://localhost:3000/v1/notifications/staff/{staffId}/preferences{
"preferences": {
"staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_received": true,
"customer_arrived": true,
"task_assigned": true,
"sweep_arrived": true,
"shift_starting": true,
"schedule_posted": true,
"partner_brand_application": true,
"partner_product_application": true,
"email_enabled": true,
"quiet_hours_enabled": true,
"quiet_hours_start": "<string>",
"quiet_hours_end": "<string>",
"suppress_while_in_app": true
},
"tokens": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"token": "<string>",
"platform": "<string>",
"device_name": "<string>",
"device_model": "<string>",
"is_active": true,
"last_used_at": "<string>",
"error_count": 123,
"created_at": "<string>"
}
]
}