Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Latest commit

 

History

History
16 lines (13 loc) · 3.96 KB

UpdateSubscriptionRequest.md

File metadata and controls

16 lines (13 loc) · 3.96 KB

Bfwd::UpdateSubscriptionRequest

Properties

Name Type Description Notes
id String {"description":"ID of the Subscription you wish to update.","verbs":["POST"]}
name String {"description":"New name to assign to the updated subscription. This is primarily for your benefit — for example, to enable you to identify subscriptions at a glance in the BillForward web interface (e.g. 'Customer 1425, guy@mail.com, Premium membership').","verbs":["POST"]} [optional]
description String {"description":"New description to assign to the updated subscription. This is primarily for your benefit — for example, you could write here the mechanism through which you obtained this customer. (e.g. 'Customer obtained through Lazy Wednesdays promotion').","verbs":["POST"]} [optional]
start DateTime {"description":"[Can only be changed if subscription is still in Provisioned state] ISO 8601 UTC DateTime (e.g. 2015-06-16T11:58:41Z) describing the date at which the subscription should enter its first service period.","verbs":["POST"]} [optional]
_end DateTime {"description":"[Can only be changed if subscription is still in Provisioned state] ISO 8601 UTC DateTime (e.g. 2015-06-16T11:58:41Z) describing the date at which the subscription should finish its first service period.","verbs":["POST"]} [optional]
state String {&quot;description&quot;:&quot;[Can only be changed if subscription is still in Provisioned state] The state into which you wish to move the updated subscription.<br><span class=\&quot;label label-default\&quot;>AwaitingPayment</span> &mdash; The subscription is activated. After `start` time is surpassed, it will begin service and raise its first invoice.&quot;,&quot;verbs&quot;:[&quot;POST&quot;]} [optional]
parent_id String {&quot;description&quot;:&quot;ID of a parent subscription which will collect the charges raised by this subscription. The parent becomes responsible for paying those charges.&quot;,&quot;verbs&quot;:[&quot;POST&quot;]} [optional]
aggregate_all_subscriptions_on_account BOOLEAN {&quot;description&quot;:&quot;Whether this subscription should become an 'aggregating subscription', collecting charges (starting now) from all other subscriptions (current and future) belonging to this BillForward Account.&quot;,&quot;verbs&quot;:[&quot;POST&quot;]} [optional] [default to false]
failed_payment_behaviour String {&quot;default&quot;:&quot;None&quot;,&quot;description&quot;:&quot;The action that should be taken, should an invoice for some subscription to this rate plan remain unpaid despite the dunning period's being exceeded.<br><span class=\&quot;label label-default\&quot;>CancelSubscription</span> &mdash; Demotes the subscription to the `Failed` state as soon as the dunning period is exceeded.<br><span class=\&quot;label label-default\&quot;>None</span> &mdash; The subscription is allowed to continue in the `AwaitingPayment` state indefinitely even if the dunning period is exceeded.For slow payment cycles &mdash; or when manual invoice remediation is common &mdash; <span class=\&quot;label label-default\&quot;>None</span> is recommended.<br>In a heavily-automated SaaS environment, automatic cancellation via <span class=\&quot;label label-default\&quot;>CancelSubscription</span> is recommended.&quot;,&quot;verbs&quot;:[&quot;POST&quot;,&quot;PUT&quot;,&quot;GET&quot;]} [optional]