⚙ Operations Hub

MarwanDajani
参加者

Does creating a quote through custom code not work?

解決

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.

0 いいね!
1件の承認済みベストアンサー
Teun
解決策
名誉エキスパート | Elite Partner
名誉エキスパート | Elite Partner

Does creating a quote through custom code not work?

解決

Hi @MarwanDajani ,

 

I created a 10 minute video showing my workflow. Hope it helps!

 

https://www.linkedin.com/posts/teun-rutten-500a2b90_hubspotdevelopertipsandtricks-hubspottipsandtric...



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


元の投稿で解決策を見る

3件の返信
Teun
解決策
名誉エキスパート | Elite Partner
名誉エキスパート | Elite Partner

Does creating a quote through custom code not work?

解決

Hi @MarwanDajani ,

 

I created a 10 minute video showing my workflow. Hope it helps!

 

https://www.linkedin.com/posts/teun-rutten-500a2b90_hubspotdevelopertipsandtricks-hubspottipsandtric...



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


Teun
名誉エキスパート | Elite Partner
名誉エキスパート | Elite Partner

Does creating a quote through custom code not work?

解決

Hi @MarwanDajani ,

 

You won't believe this, but I build exactly the same functionality last week.

Can you share your code so I can compare it to my workflows?



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


TitiCuisset
コミュニティーマネージャー
コミュニティーマネージャー

Does creating a quote through custom code not work?

解決

Hi @MarwanDajani 

 

Thank you for reaching out.

 

I want to tag some of our experts here - @LMeert @klloyd__1 @Teun do you have any thoughts for @MarwanDajani on this? 

 

Thank you!

Best

Tiphaine


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


0 いいね!