Growth Plan

Create or update an account plan objective

Create or update an account plan objective. If id is provided, updates that row (by id+org); otherwise inserts a new one. Only the fields you pass are written. Scoped to the current org.

post/api/v1/upsert_account_plan_objective

Request

  • Base URL: https://api.pymaia.com
  • URL: https://api.pymaia.com/api/v1/upsert_account_plan_objective
  • Auth: HTTP bearer

Request body

idstring

Objective id to update. Omit to create a new objective.

frontstring

Uno de: overall, meta_ads, google_ads, tiktok, seo, tienda, email, organic, brand, tracking.

titlestring
metric_keystring

LTV/retención: customer_ltv, repeat_purchase_rate, active_subscribers, subscription_orders_share.

unitstring

Uno de: currency, ratio_x, pct, count, days.

currency_codestring
directionstring

Uno de: increase, decrease.

baseline_valuenumber
target_valuenumber
current_valuenumber
timeframestring

Uno de: month, quarter, year.

period_startstring
period_endstring
owner_labelstring
prioritynumber
lifecycle_statusstring

Uno de: active, paused, archived.

rationalestring
sort_ordernumber

Response

Tool executed successfully

okboolean
resultunknown
duration_msnumber

Changes

No recorded changes to this operation across all 2 revisions of this API.