Context

Update the business context

Changes the workspace's business context (offer, sales cycle, order value, margin and acquisition-cost targets, notes). Only the fields passed change; each replaces the stored value and null clears one. Previous values are not kept. Owners and admins only.

patch/business-context

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/business-context
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: workspace:write)
    • HTTP bearer

Query parameters

dry_runboolean

true returns a preview of the change and applies nothing.

Headers

Idempotency-Keystring

8 to 200 visible ASCII characters. Retries with the same key and request return the stored response for 24 hours.

Request body

offer_typestring nullable
market_familiarity'low' | 'medium' | 'high' | 'unknown'
conversion_readiness'low' | 'medium' | 'high' | 'unknown'
growth_mode'education' | 'trust' | 'curiosity' | 'performance' | 'unknown'
sales_cyclestring nullable
price_pointstring nullable
currencystring nullable
average_order_valuenumber nullable
annual_contract_valuenumber nullable
gross_margin_pctnumber nullable
acceptable_cacnumber nullable
lead_to_customer_rate_pctnumber nullable
payback_window_daysnumber nullable
learning_budgetnumber nullable
notesstring nullable

Response

Success.

object'business_context' required
scope'site' | 'workspace' | 'none' required
notestring required
offer_typestring nullable required
market_familiaritystring nullable required
conversion_readinessstring nullable required
growth_modestring nullable required
sales_cyclestring nullable required
price_pointstring nullable required
currencystring nullable required
average_order_valuenumber nullable required
annual_contract_valuenumber nullable required
gross_margin_pctnumber nullable required
acceptable_cacnumber nullable required
lead_to_customer_rate_pctnumber nullable required
payback_window_daysnumber nullable required
learning_budgetnumber nullable required
notesstring nullable required
updated_atstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.