Approve Supplier Proposed Changes
POST/api/purchase-orders/:purchase_order/supplier-responses/:response/approve
Approve and/or counter the supplier's proposed changes, then re-send the purchase order as a new revision for the supplier to re-confirm.
purchase-orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
line_ids (optional): response line ids to approve; omit to approve every proposal not countered, [] to approve none. Approved changed lines take the proposed quantity and unit cost; approved rejected lines go to quantity 0. counters (optional): your own quantity and/or unit_cost per purchase_order_line_id. requested_date (optional, Y-m-d): new requested delivery date; otherwise the latest approved proposed date is used. resend (default true) re-sends through the normal submit path (approval policy applies). reason (optional, max 500) is stored on the new revision. Apply and re-send are atomic: if the re-send is refused (422), nothing is applied.
409 response_not_reviewable when the response was already handled or a newer revision was sent.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Conflict
Response Headers
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.