v1
Shops
Shops

Patch Shop Settings

Changed on

PATCH /api/v1/system/shops/{shop_id} – update allowlisted shop settings.

patch/api/v1/system/shops/{shop_id}

Request

  • Base URL
    https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

shop_id, integer required

Request body

ShopSettingsUpdate required

Allowlisted shop settings fields (PATCH).

quoted_terms_and_conditions, string nullable

Standard terms & conditions copied to new quote bids

purchase_terms_and_conditions, string nullable

Standard terms & conditions copied onto purchase orders this shop issues

material_storage_areas, string[] nullable

Ordered list of storage-area names offered in the QC modal's placement step

logo_url, string nullable

Shop logo shown on generated documents. Either a 'shop-logos/<key>' stored path from /logo-upload-url or explicit null to remove the logo.

working_days, integer[] nullable

ISO weekday numbers the shop works (1=Mon .. 7=Sun)

purchasing_signoff_gate_enabled, boolean nullable

Whether the materials-tab purchasing sign-off gate applies at all. Owner/Manager/super only.

purchasing_signoff_threshold_usd, number nullable

Dollar amount above which a real material line item requires sign-off before proceeding to po/purch. Owner/Manager/super only.

purchasing_credit_line_check_enabled, boolean nullable

Whether credit_line purchases are blocked when they exceed the vendor's remaining credit or have no credit line set. Owner only.

daily_summary_enabled, boolean nullable

Whether the daily manager/owner/PM/lead summary email sends at all for this shop. Off overrides every member's personal preference. Owner only.

daily_summary_default_opt_in, boolean nullable

What a member receives for daily_summary until they set their own preference. Read live at send time. Owner only.

floor_daily_summary_enabled, boolean nullable

Whether the per-floor-worker daily summary email sends at all for this shop. Same semantics as daily_summary_enabled. Owner only.

floor_daily_summary_default_opt_in, boolean nullable

What a member receives for floor_daily_summary until they set their own preference. Owner only.

weekly_summary_enabled, boolean nullable

Whether the weekly owner rollup email sends at all for this shop. Same semantics as daily_summary_enabled. Owner only.

weekly_summary_default_opt_in, boolean nullable

What a member receives for weekly_summary until they set their own preference. Owner only.

note_mentioned_enabled, boolean nullable

Whether the EMAIL leg of a mention ping sends at all for this shop. In-app and SMS mention pings are unaffected. Owner only.

note_mentioned_default_opt_in, boolean nullable

What a member receives for mention emails until they set their own preference. Owner only.

hours_per_day, number nullable

Working hours per shop day (drives schedule durations)

default_target_margin_percent, number nullable

Default target gross margin as a WHOLE PERCENT (25.0 = 25%), not a fraction. Every project inherits it unless that project sets its own target_margin_percent. The bounds mirror the column's CHECK: at 100% a job costs nothing, and below 0 the target budget exceeds the contract - neither is a figure somebody means to type.

location, string nullable

Shop city / region. Saving a location infers and writes shops.timezone, unless timezone is sent explicitly alongside it.

timezone, string nullable

IANA zone, set by hand. Inference from location is a geocoder lookup and can miss - an address it cannot place leaves the shop on whatever zone it had, which silently shifts every schedule date. An explicit value always wins over an inferred one.

listed_profile, ListedProfileUpdate nullable

Capability answers a shop saves over its network application.

Response

Successful Response

unknown required

Changes