Creation of address with new vendor record

Hello,

We are trying to create vendor records that include a specific address type along with the vendor info. The vendor record is created correctly but no address is included. Can anyone else either show me where I set it up wrong, or verify that it does the same for you? Thank you!

Here is the JSON for my POST to https://api.sky.blackbaud.com/accountspayable/v1/vendors:

[test data, no actual personal info]

{
"vendor_name": "Johannes\Ockeghem",
"vendor_type": "Individual",
"vendor_status": "Active",
"ui_defined_id": "S5555555",
"addresses": [
{
"description": "ULS Primary Address",
"address_line": "514 Mendenhall St",
"city": "Greensboro",
"state": "NC",
"postal": "27403",
"country": "United States",
"is_primary": true,
"is_invoices": true,
"is_pos": true,
"is_1099": true
}
]
}

The vendor creation is successful (Status 200, with the vendor ID included), but no address appears on the record. The result of GET to https://api.sky.blackbaud.com/accountspayable/v1/vendors/12345/addresses is

{
"count": 1,
"results": [
{
"address_id": 0,
"description": "<Vendor Address>",
"is_primary": true,
"is_invoices": false,
"is_pos": false,
"is_1099": false,
"first_name": "",
"middle_name": "",
"last_name": "",
"position": "",
"address_contact_methods": [],
"payee_name": ""
}
]
}

Answers

Categories