Collapse Menu
Documentation
FastSpring App
Developer Tools
Contact Support

quote.created

Overview

The quote.created webhook is fired anytime a quote is created.

Contents of Event Payload

NameTypeDescription
quotestringInternal quote ID of the quote associated with the failed fulfillment
quoteNamestringName of the quote
changedstringUpdated time in milliseconds
changedInSecondsstringUpdated time in milliseconds
changedDisplaystringThe date in which the quote changed
changedTimeDisplaystringTime in which the quote changed
typestringType of quote that was generated: Self-Serve or Assisted
updatedBystringThe email address of the sales representative or seller who updated the quote
reasonstringWill say “Quote Created” for this webhook
creatorstringEmail of the seller who created this quote
quoteStatusstringThe current status of the quote: Open, Pending Payment, Completed, Expired, or Canceled
languagestringTwo-character ISO code for the language associated with the quote
quoteCurrencystringThree-character ISO code for the order currency
quoteURLstringThe prospect-facing URL of the quote
accountstringFastSpring-generated customer account ID
couponarrayThe Coupon ID applied to the quote
totalstringTotal amount
totalDisplaystringTotal amount with currency
taxstringTax amount
taxDisplaystringTax amount with currency
subtotalstringSubtotal amount
subtotalDisplaystringSubtotal with currency
discountstringTotal Discount on the product/products in the quote
discountDisplaystringDiscount with currency
recipientobjectDetails of the prospect
recipient.firststringThe prospect’s first name
recipient.laststringThe prospect's last name
recipient.emailstringThe prospect’s email address
recipient.companystringThe company that the prospect associates with
recipient.phonestringThe prospect’s phone number
recipient.vatIDstringThe prospect’s VAT ID (if applicable)
addressobjectThe prospect’s physical address
fulfillmentSettingstringType of fulfillment
notesstringNotes added while creating the quote
tagsobjectTags added while creating the quote
itemsobjectA list of the items included in the quote
items.productstringproduct path/product ID of the product in the quote
items.quantitystringquantity of the current product in this transaction
items.displaystringprospect-facing Display name of the product
items.subtotalstringSubtotal of the specific item
items.subtotalDisplaystringSubtotal with currency
items.discountstringDiscount on particular item
items.discountDisplaystringDiscount with currency

 Sample Payload:

  • {
       "quote":"QUUWOACS4PXFFGPFFM6AKNBTJ3P4",
       "quoteName":"Quote for Company",
       "changed":1617927392031,
       "changedInSeconds":1617927392,
       "changedDisplay":"04/09/21",
       "changedTimeDisplay":"00:16:32 UTC",
       "type":"Assisted",
       "updatedBy":"null",
       "Reason":"Quote Created",
       "creator":"example@fastspring.com",
       "quoteStatus":"OPEN",
       "language":"en",
       "quoteCurrency":"USD",
    "quoteUrl":"https://store.onfastspring.com/popup-defaultB2B/account/order/quote/QUUWOACS4PXFFGPFFM6AKNBTJ3P4",
       "account":"M72EC3GtSfagETDA6lmBXw",
       "coupon":"10OFF",
       "total":"90",
       "totalDisplay":"$90",
       "tax":0.0,
       "taxDisplay":"$0.0",
       "subtotal":"100",
       "subtotalDisplay":"$100",
       "discount":"10",
       "discountDisplay":"$10",
       "recipient":{
          "first":"Name",
          "last":"Name",
          "email":"example@fastspring.com",
          "company":"FastSpring",
          "phone":"",
          "vatID":null
       },
       "address":{
          "addressLine1":"123 Main St",
          "city":"SANTA BARBARA",
          "region":"California",
          "postalCode":"93101",
          "country":"US",
          "display":"123 Main St, SANTA BARBARA, California, 93101, US"
       },
       "fulfillmentSetting":"ON PAYMENT",
       "notes":"Terms & Conditions of Sale",
       "tags":{
          
       },
       "items":[
          {
             "product":"agency",
             "quantity":1,
             "display":"Active Product",
             "subtotal":100.0,
             "subtotalDisplay":"$100.0",
             "discount":"10",
             "discountDisplay":"$10"
          }
       ]
    }