Check a negotiation policy
check_offer_policyCheck an edited negotiation policy: returns {ok, policy, issues, summary}. No model call, free.
USE THIS WHEN: you changed a policy from compile_offer_policy (a floor, an option, a forbidden combination) and want to know it is valid and what it now allows before using it in draft_negotiation_reply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | A policy object from compile_offer_policy, edited or not. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| issues | No | ||
| policy | No | ||
| served | No | ||
| summary | No |