POST request for Installment API is not working

I was using the newly released installment API to create an installment to a designed deal but failed with the following message.

{
  "success": false,
  "error": "No routes found for \"/api/v2/deals/71652/installments\".",
  "code": "ERR_NOT_FOUND"
}

It looks like the API endpoint is not yet available. Any solution?

Hey :wave: sorry for the inconvenience. This is a fairly new API and it seems we missed some configurations. Can you try again?

Hi :wave:
It works! Thanks for the quick response.
May I ask if the List installments added to a list of deals works normally? I hit this endpoint right after I created an installment for a deal and it responds an empty object with no error, which implied no installment are retrieved.

Should be! Did you use the deals_ids=id where id is the same id you used in the creation?

Yup! I fetch the following url (parameters replaced)

[type or paste code here](https://${myCompany}.pipedrive.com/v2/deals/installments?deal_ids=${deal_id}&api_token=${api_token})

but it returned an empty object

Can you make sure you have visibility over that deal or create a new one?

It seems to be working as intended:

Hi, sorry for the late reply.
It works now! Thanks for the troubleshooting. :blush:

1 Like