Test Sage Posted November 20, 2021 Posted November 20, 2021 Hi, I am having issues trying to return a list of the contacts that only have a contact type of Customer. I have tried the following requests but it returns a list of all the contacts not just those that are CUSTOMER type. GET https://api.accounting.sage.com/v3.1/contacts?$filter=contact_types_id eq 'CUSTOMER' GET https://api.accounting.sage.com/v3.1/contacts?$filter=contains(contact_type_id, 'CUSTOMER') Any help would be greatly appreciated Thanks
Steel, Mark Posted November 22, 2021 Posted November 22, 2021 Hi, thank you for your question. The contacts response can be filtered using the following parameters: GET https://api.accounting.sage.com/v3.1/contacts?contact_type_id=CUSTOMER Thanks Mark 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now