Page 1 of 1

Supplier creating multiple times in Simpro

Posted: Wed May 01, 2024 10:30 pm
by avinash.walkerscott
Hi team.
We are doing a supplier integration with Simpro. We observed that, when some data is not matching (for example, the Payment terms ID mismatch), the api send an error message. But when I check Simpro, the supplier will be already created.

The problem is when the error occurs, I won't receive the supplier id (unique key) from Simpro. Due to this when I correct the data and send again, it is creating a new supplier.

Is there any way to control this?
Thanks,

Re: Supplier creating multiple times in Simpro

Posted: Thu May 02, 2024 12:32 am
by SimproAPITeam
Hi Avinash,
I've tried to recreate this but have been unsuccessful.

When posting a new vendor/supplier with an invalid PaymentTerm ID we return a 422 Error with the message "Payment Term ID is invalid.".

I could not see that the vendor was created when this error is returned.

If it behaves differently for you can you please provide some more information such as the POST data so we can try to recreate this.

You can also send a private message with your build details and the ID's of the vendors that has been created so we can investigate.

Regards