Update Cost Change Policy Settings
PUT/api/cost-changes/settings
Replaces the routing policy for retroactive cost changes and returns the effective settings (same shape as Get Cost Change Policy Settings). trigger_policies must be present; every trigger you include needs all four rule fields, and triggers you omit fall back to their defaults. Unknown trigger keys are rejected.
inventory:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token (inventory scope) and permission to manage accounting settings.
Body fields:
- trigger_policies (required, object keyed by trigger): landed_cost_bill, purchase_invoice_new, purchase_invoice_edited, po_line_edited, po_financials_edited, po_currency_changed, data_fix
- trigger_policies.*.mode (required): auto, review or review_if_material
- trigger_policies.*.auto_resolution (required): prospective, restate or restate_while_open
- trigger_policies.*.materiality_amount (required, numeric, min 0)
- trigger_policies.*.materiality_percent (required, numeric, 0-1000)
- always_review_locked_impact (required, boolean): hold any change whose restate dates touch a locked period
- always_review_closed_impact (required, boolean): hold any change touching a closed (not locked) period
- always_review_synced_entries (required, boolean): hold any change that would reverse and replace entries already synced to the accounting provider
Request
Responses
- 200
- 401
- 403
- 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.
Unprocessable Content
Response Headers
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.