Payment Organization Subscriptions Partial Update 2
PATCH handler with superadmin lock and field protection.
Checks:
- Object lock (is_managed=True -> non-superadmins can’t modify)
- Field protection (non-superadmins can’t modify specific fields)
Authentication
AuthorizationBearer
JWT access token or Respan API key
Path parameters
unique_organization_id
Request
This endpoint expects an object.
project
subscription_unique_id
subscribed_at
free_trial_end_at
plan
deal_id
monthly_recurring_revenue
expected_annual_contract_value
customer_ids
metered_item_id
seat_based_item_id
base_item_id
stripe_customer_id
usage_report_subscription_id
subscription_id
current_period_start
current_period_end
current_usage_period_start
current_usage_period_end
usage_in_period
keywordsai_llm_credentials_usage_in_period
keywordsai_llm_credentials_usage_last_period
logs_in_period
logs_in_last_period
logs_three_months_ago
customer_user_count
prompt_count
evals_in_period
evals_in_last_period
member_count
past_billing_periods
last_usage_reported
last_reconciled_at
billing_method
stripe- Stripeinvoice- Invoiceother- Other
billing_period
monthly- Monthlyyearly- Yearly
usage_report_interval
monthly- Monthlyyearly- Yearly
current_period_invoice_amount
last_period_invoice_amount
budget
credit_balance
Current available Keywords AI credit balance in USD
custom_log_limit
custom_plan_name
custom_monthly_cost
custom_yearly_cost
deprecated_subscription_ids
subscription_bool
custom_subscription
custom_bundle
accumulative_balance
periodic_invoice_amount
org
company_organization
billing_subscription
If set, credits and billing are managed by this subscription (company-level billing). NULL means this subscription manages its own billing (is a primary billing subscription).
organization
Response
id
created_at
log_visibility_cutoff_at
project
subscription_unique_id
subscribed_at
free_trial_end_at
plan
deal_id
monthly_recurring_revenue
expected_annual_contract_value
customer_ids
metered_item_id
seat_based_item_id
base_item_id
stripe_customer_id
usage_report_subscription_id
subscription_id
current_period_start
current_period_end
current_usage_period_start
current_usage_period_end
usage_in_period
keywordsai_llm_credentials_usage_in_period
keywordsai_llm_credentials_usage_last_period
logs_in_period
logs_in_last_period
logs_three_months_ago
customer_user_count
prompt_count
evals_in_period
evals_in_last_period
member_count
past_billing_periods
last_usage_reported
last_reconciled_at
billing_method
stripe- Stripeinvoice- Invoiceother- Other
billing_period
monthly- Monthlyyearly- Yearly
usage_report_interval
monthly- Monthlyyearly- Yearly
current_period_invoice_amount
last_period_invoice_amount
budget
credit_balance
Current available Keywords AI credit balance in USD
custom_log_limit
custom_plan_name
custom_monthly_cost
custom_yearly_cost
deprecated_subscription_ids
subscription_bool
custom_subscription
custom_bundle
accumulative_balance
periodic_invoice_amount
org
company_organization
billing_subscription
If set, credits and billing are managed by this subscription (company-level billing). NULL means this subscription manages its own billing (is a primary billing subscription).
organization