Thanks for reaching out to the HubSpot Community! Happy to help here.
Are you able to provide the error response you're recieving? Also, I noticed you have placeholders for "product_id" and "id of the deal." You don't have to provide the IDs here but just confirming you have number values in those fields on your actual API request.