Preview an order amendment
Compiles amendment intents into a plan (operations, money effects, credit effects, state diff) without executing. The returned planHash can be passed to the execute endpoint for two-phase, drift-guarded execution.
Authentication
Path parameters
Display id of the order (for example ord_5rLZXDFSHNw). Line and attribute ids in amendment bodies are UUIDs from the options response.
Request
Must match orderVersion from the options response. Returns 409 if the order has been amended since.
Recurring charges pick next-cycle vs settle-now. Usage price changes pick new usage only vs the whole current period.
Response
Mid-cycle money the amendment moves.
Before and after billed configuration. Not included in planHash.
Pass this to execute for two-phase drift protection.
How un-invoiced usage is handled for repriced metered attributes.