Hey there!
Getting the sign status of a quote from your HubSpot account can be a bit tricky, but fear not—I’m here to guide you through it.
First off, it sounds like you’re making an API call to fetch all your quotes, but the hs_status field isn’t giving you the nitty-gritty details you need. To distinguish between the signed, signature pending, and the whole shebang, you’ll want to take a peek at the individual quote’s details.
Here’s the game plan..
Retrieve the specific quote details using the quote ID or whatever unique identifier you have handy.
Check out the signature_status field within those details. This field is your golden ticket to knowing whether it’s signed, pending, or doing the cha-cha elsewhere.
So, in API lingo, it might look something like this:
GET /quotes/{quoteId}
Then, in the response, keep an eye out for something like:
{
"hs_status": "APPROVAL_NOT_NEEDED",
"signature_status": "SIGNED"
// Other quote details
}
And there you have it! If signature_status is “SIGNED,” victory is yours. If it’s “PENDING” or something else, well, you know the deal.
Give it a spin, and let me know at triotech systems if the API dance floor treats you well or if you need more backup moves! Thanks!