Example: amend() call
This reference provides an example of using the amend() call.
This example call amends a subscription with the following information:
-
The following dates are all 01 January 2012:
- Contract effective
- Customer acceptance
- Effective
- Service activation
-
Description: renewing at customer request
-
Name: renewal
-
Status: Completed
-
Subscription ID: 402892c42ce80787012ce80ea1aa0014
-
Type: Renewal
-
The
AmendOptionsobject doesn’t generate an invoice nor process payments- Generate invoice: false
- Process payments: false
-
The
PreviewOptionsobject commits the changes without a preview- Enable preview mode: true
- Allow preview through the end of a subscription term: true