Set vendor review frequency and reviewer
PATCH
/v1/vendors/{id}/review-settings
const url = 'https://api.varman.io/v1/vendors/example/review-settings';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"reviewFrequency":"monthly","reviewerId":"mem_abc123"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/vendors/example/review-settings \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "reviewFrequency": "monthly", "reviewerId": "mem_abc123" }'Changes how often a vendor is reviewed (monthly, quarterly, yearly) and who reviews it. Changing the frequency re-plans the next review from the last one.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Vendor ID (vnd_…)
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reviewFrequency
How often the vendor is reviewed. Defaults to yearly.
string
reviewerId
Member ID of the reviewer (null clears it)
object
Example
mem_abc123