Enables or disables bill auditing for all accounts assigned to a vendor
Use this endpoint to bulk enable or disable bill audits for all accounts under a vendor.
When disabled, bills on these accounts will not trigger audit checks.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| vendorId | Unique numeric identifier of the vendor whose accounts will be updated | integer (int32) | Required |
Request Body
VendorAuditEnable
| Property | Description | Type |
|---|---|---|
| auditEnabled | True to allow all vendor accounts’ bills to be audited False to exclude all vendor accounts’ bills from being audited Required (defined) | boolean |
Example Request Body
{ "auditEnabled": false
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
UpdatedOnlyResult
| Property | Description | Type |
|---|---|---|
| updated | Required (defined) | integer (int32) |
Example Response
{ "updated": 1
}
404
Not Found
The requested resource was not found. Verify the ID or path is correct.