Update Change Order
Update an existing change order. effective_date is required. An addition requires item_id, quantity, and rate. A payload with no modifications or additions stays a draft. With an effective_date after today, the save keeps this change order as draft and applies nothing. With a date of today or earlier, completing required fields applies the change order.
- An omitted
billing_frequencyorbilling_intervaluses the item catalog before the monthly default.
Side effects
- If this change order was already applied, DualEntry first reverses those changes. DualEntry applies this change order again only if
effective_dateis today or earlier.
Authorizations
Headers
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
255Body
draft, posted, archived Response
OK
Date and time the record was created
Date and time the record was last updated
draft, posted, archived ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$