Update Order Placed Override
Set or CLEAR the TRUE order-placed date on a project's payment (D1).
The edit-anytime correction affordance for on-behalf orders (manual reconciliation + upload-PO-on-behalf), where the Payment row was created at the admin's processing time rather than the real order date. The admin sends a calendar order_placed_at → stored UTC-noon as Payment.order_placed_at_override; sending null CLEARS the override so the order-placed clock reverts to the derived created_at / paid_at.
Because derive_order_placed_at is the single chokepoint, the change propagates to every read consumer (admin list/detail, the customer's view, the sell-side ETA). Returns the fully-populated payment detail response (same shape as the detail endpoint). A project with no payment row returns 404. Requires payments:create.
Request
- Base URLhttps://api.prototyping.io (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLtoken
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.