Edits a sales order's header — the app's inline edits on the Details page (order number, PO, terms, dates, notes, tax rate, shipping cost).
Requires ManageSalesOrders and an Idempotency-Key header. Partial update: omitted members are unchanged, "" clears an optional text field, clearRequestedDeliveryDate: true clears the date. Example: { "shippingCost": 25.00, "taxRate": 8.25 }. Same code path and rules as the Details page: every field is checked before anything is written; a tax-rate or shipping change recomputes taxAmount / totalAmount and the payment status and updates the order's draft invoices (their subtotal, tax rate and "Shipping & Handling" line). updatedAt moves; no history entry is written (as in the app). Complete and Cancelled orders cannot be edited.
Request
- Base URL: https://app.flexonthejob.com
- URL: https://app.flexonthejob.com/api/v1/sales-orders/{id}
- Auth: HTTP bearer
Path parameters
Sales-order id. Example: 318.
Request body
Response
Updated; body is the order as GET /api/v1/sales-orders/{id} returns it.
Changes
No recorded changes to this operation across all 1 revision of this API.