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.
Share your feedback
Thank you for your feedback, it means a lot to us.
This form is used for documentation feedback only. Learn how to get help with HubSpot.