- Added:
EntitlementsUpdatedAtonGetEntitlementsState, onProvisionCustomerFragment,ProvisionSubscriptionFragmentandApplySubscriptionFragment, and on theEntitlementsUpdatedV2Payloadevent. It’s when the customer’s entitlements last changed, the latest of the entitlement, customer and subscription update times, and it’s set even when the list is empty.
- Added:
ErrorCodeonSubscriptionInvoiceFragment, so a subscription’sLatestInvoicereturns the payment failure code reported by the billing provider, for examplecard_declined. Use it to tell failed payments apart without matching onErrorMessage.
- Added: optional
StartDateandEndDatefilters onGetCreditLedger, to return only ledger events with a timestamp in that range. Both are inclusive.
- Added:
DefaultPaymentMethodCardBrandandDefaultPaymentMethodWalletTypeonCustomerand the customer fragment, so customer queries return the default payment method’s card brand and wallet type.DefaultPaymentMethodCardBrandis the card brand reported by the billing provider, for examplevisa,mastercardoramex.DefaultPaymentMethodWalletTypeis the digital wallet the card was added through, for exampleapple_payorgoogle_pay. Both arenilwhen the billing provider doesn’t report them, so anilDefaultPaymentMethodWalletTypedoesn’t prove the card is a regular one: cards saved before this field existed have no value.
- No functional change to the Go SDK. This release only bumped the package version to track releases of other packages in the monorepo.
Edge API routing for cacheable reads
- Added:
GetPaywall(public only),GetEntitlements,GetEntitlement,GetEntitlementsStateandGetActiveSubscriptionsListare now served from the Edge API (https://edge.api.stigg.io) instead of the GraphQL API, which is significantly faster for cacheable reads. Routing is transparent — request and response types are unchanged, and no code change is needed to benefit from it. - Note: callers behind an egress allowlist need
edge.api.stigg.iopermitted.
-
Changed: the module path is now
github.com/stiggio/api-client-go/v7. Update the import andgo.modfirst — keeping the old path keeps you on the previous major. -
Changed:
NewStiggClienttakes the API key followed by an optionalClientConfig, replacing the three positional arguments. Together with the import, this is the whole migration:ApiUrlreplaces the old*stringbase URL and is a plainstring, so set it only when you were passing a non-nil base URL:LeaveApiUrlempty for the default endpoint.
- Added:
EventCountfield onGetCreditUsageseries and points, with the number of distinct usage events that consumed credits.
- Added: optional
EventTypefilter onGetCreditLedger, to return only the given ledger event types.
Credit cost estimation
- Added:
EstimateEventCostandEstimateUsageCostqueries to preview the credits a usage event or usage report would consume, without persisting any data or affecting balances.
- Added:
Consumedfield on theCreditstruct returned byReportUsage, with the credits deducted by that call.
- Added: optional
IdempotencyKeyparameter onReportUsage, to safely retry usage reports without double-counting.
Direct credit consumption
- Added:
ConsumeCredits(synchronous) andConsumeCreditsAsync(asynchronous) methods to deduct credits directly from a customer’s pool, without reporting usage against a metered feature or requiring an active subscription. UseConsumeCreditsfor strict, real-time enforcement; useConsumeCreditsAsyncfor high-volume, eventually-consistent consumption. See direct credit consumption. GetCreditEntitlementandGetEntitlementcontinue to return a valid credit balance for customers with no active subscription, so credit governance can run fully decoupled from Stigg subscription management.
- Added:
PreviewNextInvoiceon customer portal subscriptions, with the next invoice’s total, amount due and per-line usage quantities.
Synchronous credit balance updates via
ReportUsage- Added: When
ReportUsageis called for a credit-backed feature, the response now includes aCreditstruct with the updated credit balance — immediately, before the asynchronous metering pipeline settles.CreditcontainsCurrencyID,CurrentUsage,UsageLimit, andTimestamp. UseReportUsagefor sub-second, strict credit enforcement; useReportEventfor high-volume, eventually-consistent metering.
- Added:
HasSoftLimitfield on credit entitlement responses. When a credit entitlement is configured as a soft limit,GetEntitlementreturnsIsGranted: trueandHasSoftLimit: trueeven after the credit balance reaches zero. Credit-backed features inherit the wallet’s soft-limit so dependent feature reads stay consistent.
- Added:
CancellationDateon the provision and update subscription inputs, to schedule a cancellation on a specific date. On update, passingnullclears a scheduled cancellation.
Credit usage breakdown by event dimensions
- Added:
GroupByarray parameter onGetCreditUsageto break down credit consumption by any dimension key attached to reported usage events (e.g.,user,model,region). Results are paginated for performance at high event volumes.
Credit usage date filters
- Added:
StartDateandEndDateparameters onGetCreditUsage. Pass specific start and end timestamps to retrieve credit consumption data for an exact time window, in addition to the existing preset period enums. See customer credits.
- Added:
DependencyFeatureon package entitlements, the feature a credit entitlement depends on (for example seats). - ⚠️ Deprecated:
Dependencyon package entitlements (useDependencyFeatureinstead). - Added:
Entitlementson the subscription import input, accepting both feature and credit entitlements.
- Added:
billingCycleAnchorproperty when provisioning and updating subscriptions. AcceptsSubscriptionBillingCycleAnchor.UNCHANGED(default) to keep the existing billing cycle anchor, orSubscriptionBillingCycleAnchor.NOWto reset it to the current timestamp.
- Added:
BillingCadence,CustomCurrency(display name and units) andTopUpCustomCurrencyIdon paywall prices, for plans with credit charges.
- Added:
includeInactiveSubscriptionsparameter ongetUsageHistoryV2. When set totrue, usage history is returned regardless of whether the customer currently has an active subscription. If they do have an active subscription, the response also includes amarkersarray containing the subscription’s usage reset timestamps.
- Added:
getCreditEntitlement()method for low-latency retrieval of customer credit balance from the local cache. - Added: Support for provisioning subscriptions with variable recurring credit grant entitlements.
- Added:
BillingCycleAnchortoApplySubscriptionInput,PreviewSubscriptionInput,ProvisionCustomerSubscriptionInput,ProvisionSubscriptionInput,SubscriptionInputandUpdateSubscriptionInput
- Added: additional metadata fields (
AdditionalMetaData,Description,UnitPlural,UnitSingular) to credit entitlement currency types
- Added:
FeatureDependencytype andDependencyFeatureIDto package entitlement inputs (PackageEntitlementInput,PackageCreditEntitlementInput,PackageFeatureEntitlementInput,OverageEntitlementCreateInput)
- Added: typed subscription entitlement union support:
SubscriptionEntitlementUnioninterfaceSubscriptionCreditEntitlementstructSubscriptionFeatureEntitlementstructSubscriptionEntitlementInputV2struct
- Changed:
Entitlementson subscription inputs now uses[]*SubscriptionEntitlementInputV2
- Added:
APIKeyScopeActionenum (Read,Write) andAPIKeyScopeResourceenum (APIKey,Coupon,Customer,Environment,Subscription) - Added:
APIKeyScopeInputfor assigning scopes to API keys - Added:
ErrorCodeAuthorizationServiceErrorerror code
- Added:
CreditEntitlementSummarystruct with plan, add-on, and subscription source tracking - Added:
CreditGrantSourceTypeenum (AddonEntitlement,PlanEntitlement,Price) - Added:
SummariestoCreditEntitlementWithSummary - Added:
SourceTypetoCreditGrant
- Added:
PackageEntitlementsas a union type ([]*PackageEntitlementUnionFragment) toAddonFragment
- Added:
GetEntitlementV2client method returning anEntitlementUnion(credit or feature entitlement) - Added:
GetEntitlementV2InputwithCurrencyID,CustomerID,FeatureID,ResourceID, andOptionsfields
- Added:
ListEnvironmentsquery returning[]*EnvironmentListItem - Added:
EnvironmentListItemstruct with environment metadata fields
- Added:
EntitlementsWithSummaryunion type withEntitlementsWithSummaryquery - Added:
CreditEntitlementWithSummaryimplementingEntitlementWithSummaryUnion - Added:
FeatureEntitlementWithSummaryimplementingEntitlementWithSummaryUnion
- ⚠️ Removed:
BehaviorfromPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - ⚠️ Removed:
DisplayNameOverridefromPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - ⚠️ Removed:
EnumValuesfromPackageFeatureEntitlementFragment - ⚠️ Removed:
HasUnlimitedUsagefromPackageFeatureEntitlementFragment - ⚠️ Removed:
HiddenFromWidgetsfromPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - ⚠️ Removed:
IsCustomfromPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - ⚠️ Removed:
OrderfromPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - ⚠️ Removed:
ResetPeriodfromPackageFeatureEntitlementFragment - ⚠️ Removed:
MONTHandYEARvalues fromCreditCadence - ⚠️ Removed:
IncrementandOverridevalues fromEntitlementBehavior
- Added:
BehaviortoPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - Added:
DisplayNameOverridetoPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - Added:
EnumValuestoPackageFeatureEntitlementFragment - Added:
HasUnlimitedUsagetoPackageFeatureEntitlementFragment - Added:
HiddenFromWidgetstoPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - Added:
IsCustomtoPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - Added:
OrdertoPackageCreditEntitlementFragmentandPackageFeatureEntitlementFragment - Added:
ResetPeriodtoPackageFeatureEntitlementFragment - Added:
MONTHandYEARvalues toCreditCadence - Added:
IncrementandOverridevalues toEntitlementBehavior
- Added:
CreditGrantCannotBeVoidedErrorerror type andErrorCodeCreditGrantCannotBeVoidederror code
- Added:
PackageEntitlementsunion toPaywallAddon - Added:
PackageEntitlementsandInheritedPackageEntitlementsunions toPaywallPlan
- Added: API key audit event log types:
EventLogTypeAPIKeyCreated,EventLogTypeAPIKeyRevoked,EventLogTypeAPIKeyRotated,EventLogTypeAPIKeyUpdated
- Added:
APIKeysquery returning paginatedAPIKeyConnection - Added:
GetAPIKeysInputwith filtering by display name, environment, expiration, and key type - Added:
APIKeyExpirationFilterInputfor expiration-based filtering
- Added:
OnEntitlementsUpdatedV2andOnUsageUpdatedV2subscription methods - Added:
EntitlementUnionFragmentandCreditEntitlementFragmentfragment types - Added:
EntitlementsUpdatedV2Payloadwith typed entitlement union support
- Added:
EntitlementUnioninterface withCreditEntitlementandFeatureEntitlementimplementations - Added:
EntitlementsV2to subscription, customer portal, and entitlements state responses - Added:
EntitlementsUpdatedV2webhook payload type - Added:
UsageUpdatedV2andUsageV2types for the V2 usage updated event - Added:
AccessDeniedReason.EntitlementNotFound - Added:
EntitlementTypeenum (Credit,Feature)
- Added: scoped API key management mutations:
CreateScopedAPIKey,RevokeAPIKey,RotateAPIKey,UpdateAPIKey - Added:
CreateScopedAPIKeyInput,RevokeAPIKeyInput,RotateAPIKeyInput,UpdateAPIKeyInput,RotateAPIKeyResult - Added:
Description,DisplayName,EnvironmentID, andExpireAttoAPIKey - Added:
APIKeyExpired,APIKeyHasExpiryDate,APIKeyNotFounderror types
- Added:
ErrorCodeBillingInvoiceStatusErrorandErrorCodeMissingBillingInvoiceErrorerror codes - Added:
CreditGrantIDtoMarkInvoiceAsPaidInput
- Added:
BillingInformationtoCreditGrantInputusingCreditGrantBillingInfoInput - Added:
PreviewCreditGrantBillingInfoInputfor previewing credit grant billing
- Added:
PackageEntitlementChangeUnioninterface for tracking plan/add-on entitlement changes - Added:
PackageCreditEntitlementChangeandPackageFeatureEntitlementChangeimplementing the union - Added:
PackageEntitlementschange tracking toPackageChanges
- Added:
CreditCadenceenum (Month,Year) - Added:
Amount,Cadence,CustomCurrency, andCustomCurrencyIDtoPackageCreditEntitlement
- Added:
PackageCreditEntitlementtype implementingPackageEntitlementUnion - Added:
Creditoption toCreatePackageEntitlementInputandUpdatePackageEntitlementInput - Added:
ErrorCodeFutureUpdateNotFounderror code
- Added:
PackageEntitlementUnioninterface withPackageFeatureEntitlementimplementation - Added:
CreatePackageEntitlements,DeletePackageEntitlement,UpdatePackageEntitlementmutations - Added:
PackageEntitlementsunion toAddonandPlantypes - Added:
CreatePackageEntitlementsInput,DeletePackageEntitlementInput,UpdatePackageEntitlementInput
- Added:
RollbackAddonandRollbackPlanmutations - Added:
RollbackPackageInputwith environment, ref ID, and version number
- Added:
AddonSubscriptionsCountandPlanSubscriptionsCountqueries withSubscribedCustomersCountInput
- Added:
CreditGrantCadenceandTopUpCustomCurrencyIDtoSubscriptionPrice - Added:
EventLogTypeCreditGrantBalanceDepletedevent log type
- Added:
EffectiveEndDateandPricestoSlimSubscriptionFragmentV2 - Added:
EmailtoSlimSubscriptionFragmentV2customer and paying customer - Added:
ErrorCodeProductNotPublishedErrorerror code
- Added:
RecurringCreditstype andRecurringCreditsChangeVariablesfor subscription schedules - Added:
Chargesparameter to subscription estimate, provision, preview, apply, and update inputs - Added:
SubscriptionScheduleType.RecurringCredits
- Added:
ChargeInputandChargeTypeenum (Credit,Feature) - Added:
Chargessupport to provision, apply, and update subscription inputs - Added:
CreditsQuantitytoSubscriptionPrice - Added:
CreditGrantType.Recurring
- Added: Apple App Store integration types:
AppStoreApplication,AppStoreSubscription - Added:
MapAppStoreSubscriptionsToPlansmutation for mapping App Store subscriptions to plans - Added:
ListAppStoreApplicationsandListAppStoreSubscriptionsqueries
- Added:
UnarchiveOneProductmutation - Added:
EventLogTypeProductUnarchivedevent log type - Added:
ErrorCodeCannotUnarchiveProductErrorerror code
- Added:
BillingProductsquery for browsing billing provider products withBillingProductsInputfiltering - Added:
BillingIDandPriceGroupPackageBillingIDtoPackagePricingInput - Added:
ErrorCodeVendorIsNotSupportederror code
- Added:
ProductStatusenum (Published,Archived) toProduct - Added:
ArchiveOneProductmutation withArchiveProductInput - Added:
ErrorCodeCannotArchiveProductErrorerror code
- Added:
CursorPagingandCurrencyIDfilter toCreditLedgerInput - Added:
CreditLedgerConnectionwith pagination support toGetCreditLedger
- Added:
AutomaticRechargeConfigurationIDtoCreditGrantandCreditGrantFragment - Added:
CurrentMonthlySpendtoAutoRechargeSettingsDto
- Added:
CreditGrantInvoiceandCreditGrantInvoiceFragmenttypes with full invoice lifecycle support - Added:
CreditGrantInvoiceStatusenum (Open,Paid) andCreditGrantInvoiceBillingReasonenum
- Added:
GetAutomaticRechargeConfigurationandSaveAutomaticRechargeConfigurationclient methods - Added:
AutoRechargeSettingsFragmentfragment type
- Added:
CreditGrantCadenceenum (BeginningOfBillingPeriod,Monthly) - Added:
CreditGrantCadenceandCustomCurrencytoPrice
- Added:
PreviewCreditGrantmutation withPreviewCreditGrantInputsupporting billing info and coupon - Added:
CreditGrantBillingInfoInputandCreditGrantCouponInputtypes - Added:
CreditGrantPreviewresponse type
- Added:
AutoRechargeSettingsDtotype with full recharge configuration - Added:
SaveAutoRechargeSettingsmutation andGetAutoRechargeSettingsquery - Added:
GrantExpirationPeriodenum (OneMonth,OneYear) andThresholdTypeenum (CreditAmount,DollarAmount) - Added:
GetAutoRechargeSettingsInputandSaveAutoRechargeSettingsInput
- Added:
EntityTypeandRequestLogIDtoEventLogwith filter and sort support - Added:
Likefilter toEventLogEntityIDFilterComparison - Added:
EventLogEntityTypeFilterComparisonandEventLogRequestLogIDFilterComparison
- Added:
CreditGrantStatusenum with states:Active,Expired,PaymentPending,Scheduled,Voided - Added:
StatustoCreditGrant
- Added:
EventLogTypeAutomaticRechargeOperationAttemptedandEventLogTypeCreditsAutomaticRechargeLimitExceededevent log types
- Added:
AwsMarketplacePlanDimensiontoPlanFragment - Added:
AwsMarketplaceProductIDtoProductFragment
- Added: string condition operations:
Contains,EndsWith,In,StartsWith - Added:
ValuestoMeterConditionandMeterConditionInput
- Added:
PassphraseandPrivateKeytoSnowflakeCredentialsInput - Added:
PasswordtoSnowflakeCredentials
- Added:
EventLogTypeEdgeAPIClientConfigurationDataResyncevent log type - Added:
ShowWatermarktoSdkConfigurationandGetSdkConfiguration_SdkConfiguration
- Added:
AwsMarketplaceCustomerIDfilter fields to customer and subscription queries - Added:
SubscriptionQueryFilterCustomerFilterfor subscription-level customer filtering
- Added:
VoidCreditGrantInputandVoidCreditGrantmutation - Added:
VoidedAttoCreditGrant - Added:
CreditLedgerEventType.CreditsVoided - Added:
EventLogTypeCreditGrantVoidedevent log type - Added:
CreditGrantAlreadyVoidedErrorerror type
- Added: credit event log types:
CreditBalanceDepleted,CreditBalanceLow,CreditGrantBalanceLow,CreditGrantCreated,CreditGrantDepleted,CreditGrantExpired,CreditGrantUpdated
- Added:
OnCreditBalanceUpdatedsubscription method - Added:
CreditBalanceUpdatedandCreditBalanceUpdatedPayloadtypes - Added:
CurrencyIDtoCreditRateandCreditRateInput - Added:
CreditBalanceFragmentand related types
- Added:
AwaitPaymentConfirmationandPaymentCollectionMethodtoCreditGrantInput - Added:
NoActiveSubscriptionForCustomerErrorerror type
- Added:
CurrencytoCreditUsageandCreditUsageFragment - Added:
SlimCustomCurrencyFragmentand related unit types
- Added:
TopUpCustomCurrencyIDtoPrice,OveragePricingModelCreateInput, andPricingModelCreateInput
- Added:
GetCreditUsageclient method - Added:
CreditUsageFragmentwith series-based time-range data
- Added:
CreditUsage,CreditUsageInput,CreditUsageSeries, andCreditUsagePointtypes - Added:
CreditUsageTimeRangeenum (LastDay,LastWeek,LastMonth,LastYear)
- Added: pagination support to
GetCreditGrantsusingCursorPaging - Added:
CreditGrantConnectionandCreditGrantEdgetypes
- Added:
GetEntitlementsStateclient method - Added:
EntitlementsStateandEntitlementsStateAccessDeniedReasontypes
- Added: credit-related event log types:
CreditsBalanceDepleted,CreditsBalanceUsageLow,CreditsGrantDepleted,CreditsGrantExpired,CreditsGrantGranted,CreditsGrantUpdated,CreditsGrantUsageLow - Added:
EventEntityType.Credit
- Added:
Offertype with full lifecycle support:CreateOffer,UpdateOffer,PublishOffer,CreateOfferDraft,RemoveOfferDraft,SetAsDefaultmutations - Added:
Offerreference toAddon,PackageDto, andPlantypes - Added:
OfferStatusenum (Draft,Published,Archived) and related filter/sort types - Added:
GetOfferInput,CreateOfferInput,CreateOfferDraftInput
- Added:
CreatePaymentSessionclient method - Added:
PaymentSessionFragment,StripeCheckoutCredentialsFragment,ZuoraCheckoutCredentialsFragmenttypes
- Added:
BillingCredentialsinterface withStripeCheckoutCredentialsandZuoraCheckoutCredentialsimplementations - Added:
PaymentSessionandPaymentSessionInputtypes - Added:
BillingVendorIdentifier.Zuora - Added:
PublishableKeytoZuoraCredentials
- Added:
EmailDomainstoAccountwithAccountEmailDomaintype - Added:
IsAccountEmailDomainTakenquery - Added:
EmailDomainstoUpdateAccountInput
- Added:
GrantPromotionalEntitlementsGroup,RevokePromotionalEntitlementsGroup,UnlinkPromotionalEntitlementsGroupclient methods
- Added:
AwaitSubscriptionCancellationtoSubscriptionCancellationInputfor controlling whether to wait for billing provider confirmation before marking a subscription as canceled
- Added:
GrantPromotionalEntitlementsGroupInput,RevokePromotionalEntitlementsGroupInput,UnlinkPromotionalEntitlementsGroupInputtypes - Added:
FeatureGroupIdsandFeatureGroupstoPromotionalEntitlement - Added:
FeatureGroupIDtoPromotionalEntitlementInput
- Added:
CreditLedger,CreditLedgerEvent, andCreditLedgerEventTypetypes (CreditsConsumed,CreditsExpired,CreditsGranted) - Added:
CreditLedgerInputandCreditsLedgerquery
- Added:
GetCreditBalance,GetCreditGrants, andGrantCreditsclient methods - Added:
CreditGrantFragment,CreditsBalanceSummaryFragmentfragment types
- Added:
AccessDeniedReason.Revoked - Added:
IsGrantedtoPackageEntitlementand related input types
- Added:
DescriptionandUnitstoCustomCurrencyandSlimCustomCurrency - Added:
UnitsandUnitsInputstruct types
- Added:
SubscriptionProrationBehaviorenum (CreateProrations,InvoiceImmediately,None) - Added:
ProrationBehaviortoSubscriptionBillingInfo
- Added:
CreditRateandCreditRateInputtypes withAmountandCustomCurrencyID - Added:
BillingModel.CreditBased
- Added: feature group event log types:
FeatureGroupArchived,FeatureGroupCreated,FeatureGroupUnArchived,FeatureGroupUpdated
- Added:
ProrationBehaviorExtendedenum (CreateProrations,InvoiceImmediately,None) - Added:
ProrationBehaviortoSubscriptionBillingInfo
- Added:
CreditBalanceDto,CreditBalanceSummaryDto, andCreditBalanceSummaryInputtypes - Added:
CreditBalanceSummaryquery
- Added:
EnumValuestoEntitlementFragment - Added:
RequestedValuestoEntitlementCheckRequestedandEntitlementFragment - Added:
RequestedValuesMismatchvalue toAccessDeniedReason
- Added:
Subscriptionsmethod - Added:
AddonstoSubscriptionQueryFragment - Added:
CurrentBillingPeriodEndtoSubscriptionQueryFragment - Added:
EndCursortoPageInfoFragment - Added:
HasNextPagetoPageInfoFragment - Added:
HasPreviousPagetoPageInfoFragment - Added:
PayingCustomertoSubscriptionQueryFragment - Added:
StartCursortoPageInfoFragment - Added:
SubscriptionIDtoSubscriptionQueryFragment
- Added:
DefaultPaymentMethodTypetoCustomerFragment,CustomerPortalBillingInformationFragmentandCustomerWithSubscriptionsFragment - Added:
BANK,CARDandCASH_APPvalues toPaymentMethodType
- Added:
GetUsageHistoryV2 - ⚠️ Deprecated:
GetUsageHistory(please useGetUsageHistoryV2instead) - Changed:
- Input Object:
customerRefIdrenamed tocustomerIdresourceRefIdrenamed toresourceIdfeatureRefIdrenamed tofeatureIdresetPeriodremovedyearlyResetPeriodConfigurationremovedmonthlyResetPeriodConfigurationremovedweeklyResetPeriodConfigurationremoved
- Output Object
startDateremovedendDateremovedusageMeasurements[i].daterenamed toseries[0].point[i].timestampusageMeasurements[i].valuerenamed toseries[0].point[i].valueusageMeasurements[i].isResetPointrenamed toseries[0].point[i].isResetPoint- Old Value:
trueif and only if usage was reset due to periodic reset. - New Value:
trueif and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
groups[i].groupInfo[j].keyrenamed toseries[i].tags[j].keygroups[i].groupInfo[j].valuerenamed toseries[i].tags[j].valuegroups[i].usageMeasurements[j].daterenamed toseries[i].point[j].timestampgroups[i].usageMeasurements[j].valuerenamed toseries[i].point[j].valuegroups[i].usageMeasurements[j].isResetPointrenamed toseries[i].point[j].isResetPoint- Old Value:
trueif and only if usage was reset due to periodic reset. - New Value:
trueif and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
- Input Object:
- Added:
getActiveSubscriptionsList_trialConfigurationandgetActiveSubscriptionsList_trialConfiguration_trialEndDate
- Added:
SubscriptionCoupon.amountsOff - Added:
SubscriptionCoupon.description - Added:
SubscriptionCoupon.durationInMonths - Added:
SubscriptionCoupon.name - Added:
SubscriptionCoupon.percentOff
- Added:
AmountsOfftoSubscriptionCouponDiscountInput - Added:
DiscounttoSubscriptionCouponInput - Added:
DurationInMonthstoSubscriptionCouponDiscountInput - Added:
NametoSubscriptionCouponDiscountInput - Added:
PercentOfftoSubscriptionCouponDiscountInput
- Added:
EstimateSubscriptionInput.TrialOverrideConfigurationInput.trialEndBehavior - Added:
PreviewSubscriptionInput.TrialOverrideConfigurationInput.trialEndBehavior
- Added:
EstimateSubscriptionInput.TrialOverrideConfigurationInput.trialEndDate - Added:
PreviewSubscriptionInput.TrialOverrideConfigurationInput.trialEndDate
- Added:
DestinationCustomerIDtoDelegateSubscriptionToCustomerInput - Added:
DestinationResourceIDtoTransferSubscriptionToResourceInput - Added:
SubscriptionIDtoDelegateSubscriptionToCustomerInputandTransferSubscriptionToResourceInput
- Added: ability to remove customer’s email address by passing an empty string on
updateCustomer.email
- Added:
DelegateSubscriptionToCustomer() - Added:
TransferSubscriptionToResource() - ⚠️ Deprecated:
TransferSubscriptin()method (please useTransferSubscriptionToResource()instead)
- Added:
TrialEndBehaviortoSubscriptionInputandTrialOverrideConfigurationInput - Added:
CANCEL_SUBSCRIPTIONandCONVERT_TO_PAIDvalues toTrialEndBehavior
- Added: ability to estimate the subscription cost when the payment of the subscription is delegated to a different customer using:
ProvisionSubscriptionInput.PayingCustomerIDUpdateSubscriptionInput.PayingCustomerIDApplySubscriptionInput.PayingCustomerIDPreviewSubscriptionInput.PayingCustomerIDEstimateSubscriptionInput.PayingCustomerIDEstimateSubscriptionUpdateInput.PayingCustomerID
- Added: raise error when sync to Stripe fails due to unrecognized customer billing address
- Added: ability to more easily determine the usage period of metered entitlements using:
Entitlement.UsagePeriodStartEntitlement.UsagePeriodEnd
- ⚠️ Deprecated:
Entitlement.nextResetDatefield
- Added:
SubscriptionCouponInput.BillingCouponID - ⚠️ Deprecated:
ProvisionSubscriptionInput.PromotionCode - ⚠️ Deprecated:
UpdateSubscriptionInput.PromotionCode - ⚠️ Deprecated:
ApplySubscriptionInput.PromotionCode - ⚠️ Deprecated:
PreviewSubscriptionInput.PromotionCode - ⚠️ Deprecated:
EstimateSubscriptionInput.PromotionCode - ⚠️ Deprecated:
EstimateSubscriptionUpdateInput.PromotionCode
- Added: ability to delegate payment of a provisioned subscription to a different customer using:
ProvisionSubscriptionInput.PayingCustomerIDApplySubscriptionInput.PayingCustomerIDSlimSubscriptionFragmentV2.payingCustomerFullSubscription.payingCustomer
- Added: ability to apply a coupon to a subscription using the Stigg coupon ID using:
ProvisionSubscriptionInput.AppliedCouponUpdateSubscriptionInput.AppliedCouponApplySubscriptionInput.AppliedCouponPreviewSubscriptionInput.AppliedCouponEstimateSubscriptionInput.AppliedCouponEstimateSubscriptionUpdateInput.AppliedCoupon
- Added: ability to undo subscription scheduled cancelation using
CancelSubscriptionUpdates()
- Changed:
UpdateSubscriptionInput.SubscriptionEntitlementsdoes not require the full list of entitlements when needing to add or update specific entitlements
- Added:
TrialOverrideConfigurationInput.TrialEndDateto allow scheduled trial cancelation when provisioning and updating subscriptions
- Added: ability to get the list of active subscriptions from Edge using
GetActiveSubscriptionList()
- Added:
AddonstoImportSubscriptionInput - Added:
BillableFeaturestoImportSubscriptionInput
- Added:
AmountDuetoSubscriptionInvoiceFragment - Added:
PDFURLtoSubscriptionInvoiceFragment - Added:
SubTotaltoSubscriptionInvoiceFragment - Added:
SubTotalExcludingTaxtoSubscriptionInvoiceFragment - Added:
TaxtoSubscriptionInvoiceFragment - Added:
TotaltoSubscriptionInvoiceFragment - Added:
TotalExcludingTaxtoSubscriptionInvoiceFragment
- Added:
BillingReasontoSubscriptionInvoiceFragment - Added:
BILLING_CYCLE,MANUAL,MINIMUM_INVOICE_AMOUNT_EXCEEDED,OTHER,SUBSCRIPTION_CREATIONandSUBSCRIPTION_UPDATEvalues toSubscriptionInvoiceBillingReason
- Added:
MinimumtoSubscriptionMinimumSpendValueInput - Added:
MinimumSpendtoApplySubscriptionInput,ProvisionCustomerSubscriptionInput,ProvisionSubscriptionInputandSubscriptionInput
- Added:
BudgettoApplySubscriptionInput,ProvisionCustomerSubscriptionInput,ProvisionSubscriptionInput,SubscriptionInputandUpdateSubscriptionInput - Added:
LimittoBudgetConfigurationInput - ⚠️ Removed:
BudgetCapConfigurationfromApplySubscriptionInput,ProvisionCustomerSubscriptionInput,ProvisionSubscriptionInput,SubscriptionInputandUpdateSubscriptionInput - ⚠️ Removed:
LimitfromBudgetCapConfigurationInput
- Added:
BudgetCapConfigurationtoApplySubscriptionInput,ProvisionCustomerSubscriptionInput,ProvisionSubscriptionInput,SubscriptionInputandUpdateSubscriptionInput - Added:
LimittoBudgetCapConfigurationInput
- Added:
BlockSizetoPriceOverrideInput - Added:
FlatPricetoPriceTierInput - Added:
PriceOverridestoApplySubscriptionInput,ProvisionCustomerSubscriptionInput,ProvisionSubscriptionInput,SubscriptionInputandUpdateSubscriptionInput - Added:
TierstoPriceOverrideInput - Added:
UnitPricetoPriceTierInput - Added:
UpTotoPriceTierInput
- Added:
AddonstoPlanCompatiblePackageGroupsFragment - Added:
CompatiblePackageGroupstoPlanFragment - Added:
PackageGroupIDtoPlanCompatiblePackageGroupsFragment
- Added:
ProratetoSubscriptionCancellationInput - ⚠️ Removed:
DontProratefromSubscriptionCancellationInput
- Added:
SalesforceIDtoApplySubscriptionInput,ProvisionCustomerInput,ProvisionCustomerSubscriptionInput,ProvisionSubscriptionInput,SubscriptionInputandUpdateCustomerInput
- Added:
AddonChangeVariablestoScheduleVariablesFragment - Added:
BillingPeriodChangeVariablestoScheduleVariablesFragment - Added:
DowngradeChangeVariablestoScheduleVariablesFragment - Added:
PlanChangeVariablestoScheduleVariablesFragment - Added:
UnitAmountChangeVariablestoScheduleVariablesFragment
- Added:
ScheduleStrategytoApplySubscriptionInput,PreviewSubscriptionInput,ProvisionSubscriptionInput,SubscriptionInputandUpdateSubscriptionInput - Added:
END_OF_BILLING_MONTH,END_OF_BILLING_PERIODandIMMEDIATEvalues toScheduleStrategy
- Added:
BillingCountryCodetoOveragePriceFragment - Added:
BillingPeriodtoOveragePriceFragment - Added:
OveragePricestoAddonFragmentandPlanFragment - Added:
TierstoOveragePriceFragment - Added:
TiersModetoOveragePriceFragment