You are here: API Foundations > Use Cases > Making Changes: Amendment Use Cases > Removing a Product

Removing a Product

Use the Amendment object to remove a product.

To remove a product from a subscription,

  1. Create a new Amendment.
  2. Set the Type to RemoveProduct.
  3. Specify the subscription's ID.
  4. 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.
  5. Insert the new amendment.
  6. Now create a new RatePlan.
  7. Set the new RatePlan.setAmendment to the new amendment you've created.
  8. Set the Type to RemoveProduct.
  9. 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.
  10. Set the following fields:
  11. Update the new amendment.

Copyright © 2008-2009 Zuora, Inc.