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

Updating a Product

Use the Amendment object to update a product.

 Note  

Updating a product updates it at the rate plan charge level.

To update an existing product in a subscription,

  1. Create a new Amendment.
  2. Set the Type to UpdateProduct.
  3. Specify the subscription's ID.
  4. Set the Status 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 subscription RatePlan.
  7. Set the new RatePlan.setAmendment to the new amendment you've created.
  8. Set the Type to UpdateProduct.
  9. Insert the new RatePlan.
  10. RatePlanCharges will be created in the background; for more information, see RatePlanCharge.
  11. Set the following fields:
  12. Update the new amendment.

Copyright © 2008-2009 Zuora, Inc.