Open topic with navigation
Open topic with navigation
Removing a Product
Use the Amendment object to remove a product.
To remove a product from a subscription,
- Create a new Amendment.
- Set the Type to RemoveProduct.
- Specify the subscription's ID.
- Set the Type to Draft. Setting it to Draft is important because the amendment then won't go through until you insert the final part of the code.
- Insert the new amendment.
- Now create a new RatePlan.
- Set the new RatePlan.setAmendment to the new amendment you've created.
- Set the Type to RemoveProduct.
- Insert the new RatePlan. Since you have already set the Type to RemoveProduct, then the system knows that this rate plan is to be deleted from the subscription.
- Set the following fields:
- Set Status of the new amendment to Completed.
- Set the ContractEffectiveDate to a date and time in the future.
- If you have set Require Customer Acceptance of Orders? on your Admin "Default Subscription Settings" page to Yes, then you will also need to specify a customer acceptance date.
- If you have set Require Service Activation? on your Admin "Default Subscription Settings" page to Yes, then you will also need to specify a service activation date.
- Update the new amendment.
Copyright © 2008-2009 Zuora, Inc.
Open topic with navigation
Open topic with navigation