SalesOrders
Removes a line from a sales order (the app's line remove button).
Requires ManageSalesOrders and an Idempotency-Key header; no body. Only a line that is on no live transfer can go — not even a completed one ("Cannot delete: item is part of a transfer. Cancel the transfer first."); use /returns for delivered goods. The line is soft-deleted (it disappears from lines), totals, payment status and draft invoices are recomputed and the history records "Removed item '…' (via API key '…')".
delete/api/v1/sales-orders/{id}/lines/{lineId}
Request
- Base URL: https://app.flexonthejob.com
- URL: https://app.flexonthejob.com/api/v1/sales-orders/{id}/lines/{lineId}
- Auth: HTTP bearer
Path parameters
idinteger required
Sales-order id. Example: 318.
lineIdinteger required
Line id. Example: 1502.
Response
Removed; body is the order with its remaining lines.
Changes
No recorded changes to this operation across all 1 revision of this API.