Skip to main content
PATCH
/
api
/
broker_funder_policies
Bulk update broker funder policies
curl --request PATCH \
  --url https://app.herondata.io/api/broker_funder_policies/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "policies": [
    {
      "funder_heron_id": "<string>",
      "matching_priority": 123,
      "policy": {}
    }
  ]
}
'
[
  {
    "created": "2023-11-07T05:31:56Z",
    "funder": {
      "heron_id": "<string>",
      "logo_url": "<string>",
      "name": "<string>"
    },
    "last_updated": "2023-11-07T05:31:56Z",
    "matching_priority": 123,
    "policy": {}
  }
]

Authorizations

x-api-key
string
header
required

Body

application/json
policies
object[]
required

Response

Broker funder policies updated successfully

created
string<date-time>
funder
object
last_updated
string<date-time>
matching_priority
integer | null
policy
object