Last modified October 5, 2018

This article applies to Contextual Commerce. (Looking for Classic Commerce documentation?)

The account.created server webhook event is fired when a customer account is created (e.g. when a customer whose email address does not match an existing account places a new order).  Customer Accounts and single sign-on provides detailed information regarding customer accounts.

About Webhook Expansion

account.created is not affected by webhook expansion.

Contents of Event Payload

Name Type Description
id string FastSpring-generated customer account ID
account string FastSpring-generated customer account ID
contact object contains customer contact details
contact.first string customer's first name
contact.last string customer's last name string customer's email address string customer's company name (may be null) string customer's telephone number (may be null)
language string two-character ISO code for the customer's language
country string two-character ISO code for the customer's country
lookup object parameters used to look up the account (e.g. via the FastSpring API) string customer-visible account ID
lookup.custom string optional custom account ID assigned by you (e.g. your internal ID for this customer)
lookup.url string default URL for the customer-facing account management page


account.created webhook example
    "custom" : "8675309"