Saltar al contenido principal

PreviewSubscriptionUpdateInput

Prospective mid-cycle change to price a proration for.

input PreviewSubscriptionUpdateInput {
subscriptionId: ID!
amount: Int
interval: IntervalInput
intervalCount: Int
nextPaymentAt: AWSTimestamp
}

Fields​

PreviewSubscriptionUpdateInput.subscriptionId ● ID! non-null scalar​

Unique identifier of the subscription the change would apply to.

PreviewSubscriptionUpdateInput.amount ● Int scalar​

The new amount, as a positive integer in the smallest currency unit.

PreviewSubscriptionUpdateInput.interval ● IntervalInput enum​

The new subscription interval. Changing it resets the billing period.

PreviewSubscriptionUpdateInput.intervalCount ● Int scalar​

The new number of intervals between payments. Changing it resets the billing period.

PreviewSubscriptionUpdateInput.nextPaymentAt ● AWSTimestamp scalar​

The new billing anchor. Moving it resets the billing period and settles the difference: an earlier anchor refunds the time given back, a later one charges for the extra. Cannot be combined with an interval change. Measured in seconds since the Unix epoch.

Member Of​

previewSubscriptionUpdate query