This is an old documentation. Go to the latest Customer's Canvas docs

revertProduct Method


  • revertProduct(revertToinitial?: boolean ) : Promise < void >
  • Cancels all changes made by a user.


    • Optional revertToinitial: boolean

      Enables reverting the user changes to the initial product state. false allows for reverting to the print areas which were set by setPrintAreas with updateRevertData set to true. true allows for reverting to the initial product despite the updateRevertData parameter. The default value is false.

    Returns Promise < void >