Update planAsk AIput https://api.instellix.io/v2/plans/{planId}Request to update a plan. If a plan holds an active contract then update is limited tothe plan name and its properties - to be propagated for all future documents.Path ParamsplanIdint64requiredBody ParamsbusinessSegmentIdint64deprecatedDEPRECATED. Deprecated: Use business segment ident instead. The Id of the business segment for the Plan. The default segment will be used if not set.businessSegmentIdentstringDetermines to which business segment this plan belongs. Should be set, if not set the deprecated "businessSegmentId" needs to be set instead.individualPlanbooleanIf the plan is individual, it can be only assigned to one contract.truefalseinitialPhasestringThe ident of the phase that will be started at first.namestringrequiredlength between 1 and 255Name of the plan. Must not be blank. Size must be between 1 and 255.pendingContractTermsobjectConfigure terms that are applicable for the time between signing and the start of the contract.pendingContractTerms objectphasesarray of objectsrequiredlength ≥ 1Must not be empty.phases* objectautoRenewalbooleandeprecatedDEPRECATED. Deprecated: Phase transition should be used instead. When set to true, contracts are automatically renewed, when a term has passedtruefalsebillingConfigobjectThe new API to configure billing details on phase level. Using these properties will ignore the billingStrategyField from options within this phase.billingConfig objectidentstringlength between 1 and 100Must be a unique external reference. Must have size between 1 and 100 and match with the regular expression '[a-zA-Z0-9_.~-]{1,100}'.linkedOptionsarray of objectsA list of linked optionslinkedOptionsADD objectnamestringlength ≤ 255Name of the phase. Size must be between 0 and 255.noticePeriodobjectSpecifies a time durationnoticePeriod objectoptionsarraydeprecatedDEPRECATEDoptionsADD CommissionOptionCreationRequest | OneTimeOptionCreationRequest | QuantityOptionCreationRequest | RatedUsageOptionCreationRequest | RecurringOptionCreationRequest | TimeBasedUsageOptionCreationRequest | UsageOptionCreationRequesttermDurationobjectSpecifies a time durationtermDuration objecttermSyncbooleanDefaults to trueWhen set to true, contracts end at the end of the interval at the end of the month, independent from when the contract startedtruefalsetransitionsarray of objectsA list of transitions.transitionsADD objectADD objectpropertiesarray of objectsAdditional plan properties.propertiesADD objecttypestringThe type of plan. Must be one of:. Must be one of: CUSTOMERPlans with the main goal of invoicing customers. Can't contain COMMISSION options.PARTNERPlans with the main goal of crediting partners. Has to contain at least one COMMISSION option.Responses 200Standard response for successful HTTP requests. 4XXerror response for all http error codes in range 4XX 5XXerror response for all http error codes in range 5XXUpdated 7 months ago