Undo a change
undo_changeReverses a change Pridly made earlier (see change_history for ids). Preview first, then confirm. Fields that were edited again after the change are left alone and listed. Always show the preview to the user and get their explicit approval before calling again with confirm=true and the preview_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Store address or id. Leave empty if you have only one store. | |
| confirm | No | Set true ONLY after the user approved the preview. | |
| change_id | No | The change number from change_history. | |
| preview_id | No | The preview_id returned by the preview call (required with confirm=true). |