Discounts

Please note: this functionality is currently under development and is subject to change based on testing and feedback. By using this functionality you agree to adhere to our Developer Terms Developer Beta Terms

When you're creating a quote in HubSpot, you can create and associate a discount as part of the pricing details of the quote.

Create a discount

Discounts are used in conjunction with fees and taxes when determining the pricing details for a quote. Any discounts you associate with your quote will be applied first, followed by associated fees, and then any associated taxes will apply.

// POST request to https://api.hubspi.com/crm/v3/objects/discount { "properties": { "hs_label": "A fixed, one-time discount", "hs_duration": "ONCE", "hs_type": "PERCENT", "hs_value": "50", "hs_sort_order": "2" } }

After you create a discount, you can use its ID to associate it with a quote. To retrieve a list of discounts you've created, you can make a GET request to /crm/v3/objects/discount.

To view all available endpoints and their required fields, click the Endpoints tab at the top of this article.


Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.