I'm calling the GiftBatch API to create a gift inside a batch:
POST https://api.sky.blackbaud.com/gift/v1/giftbatches/{batch_id}/gifts
As part of the request, I'm also sending custom fields. Everything works except when I try to send a Custom Field with data type FuzzyDate.
What I tried
- Simple string value
"custom_fields": [
{
"category": "DM FuzzyDate",
"value": "2025-08-29"
}
]
This creates the field, but the system only shows month/year. The day is not shown.
If I change the date format, I get this error:
The provided fuzzy date value is not valid.
Sometimes the system even stores the value as "Invalid value/Invalid value".
- Using fuzzydate_value (from KB articles)
"custom_fields": [
{
"category": "DM FuzzyDate",
"fuzzydate_value": {
"d": 29,
"m": 8,
"y": 2025
}
}
]
This fails with the same validation error.
- Using type with value object
"custom_fields": [
{
"category": "DM FuzzyDate",
"type": "FuzzyDate",
"value": {
"d": 29,
"m": 8,
"y": 2025
}
}
]
Also results in:
The provided fuzzy date value is not valid.
I also tried different sequences and formats, but nothing works.
Additional Information
The exact same string-based JSON works when creating a normal Gift (outside of GiftBatch).
The issue happens only inside GiftBatch.
All other custom field types work fine in GiftBatch.
Question
Has anyone successfully sent a FuzzyDate custom field when creating a gift inside a GiftBatch?
If yes, what JSON format or field structure does the API expect?
Any working example would be greatly appreciated.