Here is my process and end goal:
- I have a deal expiring
- I auto-create a renewal deal and assign it to the correct user
- I want to create a quote that is in draft stage and associate it with the new deal.
- I use custom code to create the new quote
- following the API documentation, I was able to create a quote
- I was able to associate it to the deal
- I was NOT able to associate a quote template. Figured it might be my custom template, so I created a new custom template and used the proper endpoint as in the documentation
/crm/v3/objects/quote/{QUOTE_ID}/associations/quote_template/{QUOTE_TEMPLATE_ID}/quote_to_quote_template
- I get a response saying success, but when I open a quote, the quote template is not associated
- Same thing when I try to associate a product/line item.
Is the documentation wrong? Am I doing something wrong? Happy to share my code if needed.