account.updated
FastSpring sends the account.updated webhook when the following actions occur:
- You manually update customer information within the app.
- An existing customer places an order with different information.
Contents of Event Payload
Name | Type | Description |
---|---|---|
address | array | Customer's address on file. |
address line 1 | string | First line of the address. |
address line 2 | string | Second line of the address. |
city | string | Customer's city. |
country | string | Customer's country. |
postal code | string | Postal code. |
region | string | Customer's state or region. |
Example
{
"id": "QVZXdrO5S3mZ3lZERLRhVg",
"account": "QVZXdrO5S3mZ3lZERLRhVg",
"contact": {
"first": "John",
"last": "Doe",
"email": "[email protected]",
"company": null,
"phone": "08578004481",
"subscribed": true
},
"address": {
"address line 1": "123 Main St, Apt 202",
"address line 2": null,
"city": "Santa Barbara",
"country": "US",
"postal code": "95035",
"region": "US-CA"
},
"language": "en",
"country": "US",
"lookup": {
"global": "b9l6ZezySYScYizUqetxXQ"
},
"url": "https://sharp.qa2.onfastspring.com/account"
}