Skip to main content

Update CRM Settings

PUT 

/api/crm/settings

Change the account's CRM settings. Only the fields you send change.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token with the customers scope and the settings.update permission.

Body fields (all optional):

  • outcomes (array, 1-30): replaces the whole list. Each item: key (required, max 50, lowercase letters, numbers and underscores; unique) and label (required, max 60). Activities keep the keys they already have
  • weekly_activity_goal (integer 0-500)
  • checkin_distance_warning_m (integer 50-100,000)
  • checkout_reminder_hours (integer 1-24)
  • auto_checkout_hours (integer 1-48; must be greater than checkout_reminder_hours)
  • default_visit_minutes (integer 5-600)
  • travel_buffer_minutes (integer 0-300)
  • day_start_time (HH:MM)
  • completed_edit_window_days (integer 0-3650)
  • grade_a_interval_days, grade_b_interval_days, grade_c_interval_days (integer 1-3650): days between visits expected for A, B and C customers
  • unclassified_interval_days (integer 1-3650 or null): days between visits for customers with no grade; null means they are not scheduled
  • calls_count_towards_coverage (boolean): whether a completed call resets a customer's visit due date like a completed visit

Changing an interval or calls_count_towards_coverage recalculates every customer's next visit due date.

Returns the saved settings.

rfm_lookback_months (integer, 6-60): months of order history the customer segments look at. Takes effect at the next recalculation.

missing_order_tolerance (number, 1-5): a customer is late to reorder at this multiple of their usual interval between orders. Applies immediately.

Request​

Responses​

OK

Response Headers
    Content-Type