Create a new discountAsk AIpost https://sandbox.billwerk.com/api/v1/plangroups/{planGroupId}/discountsPath ParamsplanGroupIdstringrequiredPlanGroup IdBody ParamsDiscount DTOInternalNamestring | nullInternal name of the discountDescriptionobject | nullDescription of the discount. Will appear on the invoiceDescription object | nullDurationobjectDuration objectDurationTypestringenumUnlimitedFirstContractPeriodFixedPeriodAllowed:UnlimitedFirstContractPeriodFixedPeriodEffectobjectrequiredEffect objectTargetsobjectrequiredTargets of the discount, e.g. an Id of a planvariantTargets objectIncludeSetupbooleanDetermines if the discount will also reduce the price of the setup feetruefalseCreateSeparateLineItembooleanDetermines if the discount will appear as separate lineitem on the invoicetruefalseNotesstring | nullHiddenbooleantruefalseResponses 200OK 401Unauthorized 404Not Found 422Unprocessable EntityUpdated 3 months ago