> ## Documentation Index
> Fetch the complete documentation index at: https://docs.switchyard.run/llms.txt
> Use this file to discover all available pages before exploring further.

# Update notification preferences

> Update the current staff member notification preferences.



## OpenAPI

````yaml api-reference/v1/openapi.yaml put /v1/scanner/notifications/preferences
openapi: 3.1.0
info:
  title: Goods API
  version: 1.0.0
  description: >-
    API for Goods grocery operations - scanner app, admin dashboard, and
    customer features
  contact:
    name: Goods Team
    url: https://goods.app
servers:
  - url: http://localhost:3000
    description: Local development
  - url: https://dev.api.switchyard.run
    description: Development
  - url: https://api.switchyard.run
    description: Production
security: []
tags:
  - name: v1
    description: API v1 - unified domain-based endpoints
  - name: Scanner
    description: Scanner app endpoints for drivers and pickers
  - name: Sweeps
    description: Sweep management - retail store pickup operations
  - name: RFC Picks
    description: Ready-for-checkout picking operations
  - name: Inventory
    description: Inventory management and barcode lookup
  - name: Admin
    description: Admin dashboard endpoints
  - name: Orders
    description: Order management
  - name: Products
    description: Product catalog management
  - name: Notifications
    description: Push, email, SMS, and Slack notification management
paths:
  /v1/scanner/notifications/preferences:
    put:
      tags:
        - Scanner
        - Notifications
      summary: Update notification preferences
      description: Update the current staff member notification preferences.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                order_received:
                  type: boolean
                customer_arrived:
                  type: boolean
                task_assigned:
                  type: boolean
                sweep_arrived:
                  type: boolean
                shift_starting:
                  type: boolean
                schedule_posted:
                  type: boolean
                partner_brand_application:
                  type: boolean
                partner_product_application:
                  type: boolean
                email_enabled:
                  type: boolean
                quiet_hours_enabled:
                  type: boolean
                quiet_hours_start:
                  type: string
                quiet_hours_end:
                  type: string
                suppress_while_in_app:
                  type: boolean
      responses:
        '200':
          description: Preferences updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  preferences:
                    type: object
                    properties:
                      order_received:
                        type: boolean
                      customer_arrived:
                        type: boolean
                      task_assigned:
                        type: boolean
                      sweep_arrived:
                        type: boolean
                      shift_starting:
                        type: boolean
                      schedule_posted:
                        type: boolean
                      partner_brand_application:
                        type: boolean
                      partner_product_application:
                        type: boolean
                      email_enabled:
                        type: boolean
                      quiet_hours_enabled:
                        type: boolean
                      quiet_hours_start:
                        type: string
                      quiet_hours_end:
                        type: string
                      suppress_while_in_app:
                        type: boolean
                    required:
                      - order_received
                      - customer_arrived
                      - task_assigned
                      - sweep_arrived
                      - shift_starting
                      - schedule_posted
                      - partner_brand_application
                      - partner_product_application
                      - email_enabled
                      - quiet_hours_enabled
                      - quiet_hours_start
                      - quiet_hours_end
                      - suppress_while_in_app
                  error:
                    type: string
                required:
                  - success
                  - preferences
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error

````