Skip to main content

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.

Required scope: purchase-orders:write

Grant 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​

OK

Response Headers
    Content-Type