properties

Assign a Property

Appends a Property to one or more Donations or Deposits. A maximum of 100 resources can be assigned to a property at a time. The resource identifiers must be of the same resource_type as the Property, otherwise a 400 Bad Request error will be returned.

post/v1/properties/{id}/assign

Request

  • Base URL
    https://sandboxapi.givechariot.com
  • URL
    https://sandboxapi.givechariot.com/v1/properties/{id}/assign
  • Auth
    HTTP bearer

Path parameters

idstring required

The unique identifier for the property

Request body

Example request

{
  "value": {
    "type": "text"
  },
  "resources": {
    "ids": [
      "donation_01j8rs605a4gctmbm58d87mvsj"
    ]
  }
}

Response

The response for Properties.assign

num_updatedinteger

The number of resources that were updated.

Changes

No recorded changes to this operation across all 12 revisions of this API.