post
https://{store}/api/rest/orders//versions//rollback
Rollback Process:
-
Creates a new snapshot of the current order state (for undo capability)
-
Compares current items with snapshot items
-
Removes items not in snapshot
-
Edits items with changed qty/price
-
Adds items that were in snapshot but not currently on order
-
Handles customization changes (removes and re-adds items with different customizations)
Error Responses:
| Code | Description | Example |
|---|---|---|
| 400 | Version required | "Version is required." |
| 404 | Version not found | "Version not found for this order." |
| 423 | Order locked | "Order is currently locked and cannot be edited." |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
