Update the purchasing policy draft
Overwrite the purchasing policy draft, and optionally publish it in the same call. You must provide the COMPLETE policy text — this fully replaces the draft, it does not append. Call getPurchasingPolicy first and re-send the full, edited body. With publish: true the new draft goes live immediately, the one-call path for a change already reviewed; without it the draft is written but stays offline until publishPurchasingPolicy is called. Requires the marketplace to be enabled for the company: when it is disabled, the call is refused with 403 MarketplaceDisabledError (a Primo admin must enable it).
Authorizations
Body
Set to true to publish the policy in the same call: the draft is written and immediately copied to the published text the agent reads at runtime. Use it when the user has already confirmed the change — a unitary request such as "raise the approval threshold to €1,000" is that confirmation — so one edit costs one approval instead of two. Leave it out for an open-ended rewrite the user has not seen yet: the draft is saved and stays offline until publishPurchasingPolicy.