curl --request PUT \
--url http://localhost:3000/v1/scanner/notifications/preferences \
--header 'Content-Type: application/json' \
--data '
{
"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
}
'{
"success": true,
"preferences": {
"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
},
"error": "<string>"
}Update the current staff member notification preferences.
curl --request PUT \
--url http://localhost:3000/v1/scanner/notifications/preferences \
--header 'Content-Type: application/json' \
--data '
{
"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
}
'{
"success": true,
"preferences": {
"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
},
"error": "<string>"
}