Updating Address (Patch) Fails when to be Update Vendor account has "Cellular Phone" Field But Successful otherwise

When I try to update (PATCH) the address of an existing vendor who has a Cellular Phone Field, the API fails with "Bad Request" error below. However, if I log into FENXT portal and delete that field the API is address update is successful.


{"Error":"Failed to save vendor","Details":["Invalid Code table entry: Contact type"],"ErrorPath":"cphone.XXXXX.contacttype"}


This is not a required field to be updated. And also some vendor accounts have this field and others do not have.


How is this a bad request if when I send the same exact data, it is successful when above field is not present but fails when the field is present for the same vendor account?


ref: https://api.sky.blackbaud.com/accountspayable/v1/vendors/{vendor_id}/addresses/{address_id}

Categories