Using Accounts Dashboard | HubSpot I can list quotes. I cannot however list anything remotely useful about a quote beyond the title. The sample suggest that at the very least one could get the amount for ex (hs_quote_amount) but I cannot find a list of all propeties Searching for hs_quote_amount yields… absolutely nothing.
Is there a way to fetch actual quote details? I need amount and line item SKUs.
Additionally is there any webhook to notify on quote paid? Or is it good ol polling
To summarize what I am trying to do as this is perhaps not the correct way - I want to send a quote with products (line items) to a client to be paid. Id like a webhook to be notified once paid and would like to then fetch the stuff they paid for (sku, qty etc) and update the fulfillment center with their order.
You can get all of the properties for an object by hitting the get properties endpoint
In this case:
/crm/v3/properties/quotes
You will see that hs_quote_amount does exist. To get data on it when hitting list quotes endpoint, you will need to add that property as a query parameter. eg
/crm/v3/objects/quotes?properties=hs_quote_amount
You will have to hit the line_items object to get details about line items
There is not a webhook subscription for line items, unfortunately. You might be able to associate the line item with a deal and watch changes on that? You may also be able to set up a workflow that is triggered by a line item change. Again, I believe that needs to be associated with a deal. @Josh is a much smarter person than I and may have better advice!
@dennisedson thanks for reply. I noticed in my tests (hookedup to stripe) that the status was weird - like APPROVAL_NOT_NEEDED - nothing about whether its paid or not. Does that info go somewhere else? Right now the only way I see to get a webhook and info is to ignore HS API altogether and just tap into Stripe but I do lose things like item SKUs etc