PUT: Update a product attached to a deal

Hey everyone,
I am a bit new with API’s and am not entirely sure what I am doing wrong with a put request to update a product attached to a deal; more specifically, the comments under the product. I’ve been using the app extensions from Zapier to add more functionality to my Zapier-Pipedrive automations. See attached images. Any direction is appreciated.
Thanks,

Eamonn



Hi,

as the error message says, you are calling the endpoint with a product_attachement_id parameter that does not exist. The product_attachement_id is not a product id. It is an id of a correlation between deal and a product.

To retrieve the list of all product attachment ids attached to a deal, call the /v1/deals/{id}/products endpoint.

You can only use one of the ids listed in the response list.

1 Like