You are here: API Reference > Objects > Amendment

Amendment

Use Amendment to make changes to a Subscription. For example, if you wish to change the terms and conditions of a subscription, you would use an Amendment. In all, you can make the following four types of changes to a subscription using Amendment:

 Note  

Any given instance of Amendment can only have one rate plan. If you need to make changes for two or more rate plans, you will need to use one Amendment each for each of those rate plans.

Supported Calls

This object is used in the create and query calls.

Fields

In addition to the following fields, zObject contributes additional fields. For information on the field types, see Field Types.

Name Required? Type Allowable Values Description
ContractEffectiveDate Yes if Status is set to Completed; No otherwise dateTime A valid dateTime value The date on which the amendment becomes effective.
CustomerAcceptanceDate Yes if Status is set to Completed; No otherwise dateTime A valid dateTime value The date on which the customer will accept or accepted the amendment.
Description No string 255 characters A description of the amendment.
EffectiveDate Yes dateTime A valid dateTime value The date on which the changes being made by this amendment become effective.
InitialTerm Yes long Any valid number The initial term of service for this amendment.
Name No string 50 characters A name for the amendment.
RenewalTerm Yes long Any valid number The term of renewal for the amended subscription.
ServiceActivationDate Yes if Status is set to PendingAcceptance; No otherwise dateTime A valid dateTime value The date on which the service is to be activated.
Status No string (enum) Completed, Cancelled, Draft, PendingAcceptance, PendingActivation The status of the amendment. Draft is for when it is going to be pending for a while. Draft is also used temporarily in the code while making changes before making the amendment active. Active is for when it is going to be put into effect immediately. An amendment can be deleted at any point before it becomes active.
SubscriptionId Yes zns: ID A valid subscription ID The identification number for the subscription that is being amended.
TermCommitment Yes if Type is set to TermsAndConditions; No otherwise string 50 characters Used only when making changes to the terms and conditions. This is the new commitment that is being instated.
TermStartDate Yes if Type is set to TermsAndConditions; No otherwise date A valid date value Used only when making changes to the terms and conditions. This is the start date for the new terms that are being instated.
Type Yes string (enum) Cancellation, NewProduct, RemoveProduct, Renewal, UpdateProduct, TermsAndConditions The type of amendment that is being made.

Using Amendment

Because Amendment is a compact way of making changes to a subscription, you will not necessarily need to use all the fields provided, and when making changes, you will use different values for specific fields to indicate the type of amendment you are making.

See Also

Making Changes: Amendment Use Cases

Copyright © 2008-2009 Zuora, Inc.