Update a Component

Learn more about updating promotional messaging components to help reduce latency and increase flexibility on your site.

For promotional messaging components, the update function:

  • Makes another call to the Promos API with updated options. (See options for affirm.ui.components.create.)
  • Re-renders the promotional messaging if it's rendered on the page.