Account information changed
This event occurs when account information in the custom fields changes.
Generated by: Update account custom fields
More information: Create or update account
Type: object
Domain: account
Event: account_change
Version: 2
account_id required
Title: Account ID
Description: Unique ID used to retrieve account details in the Pismo platform APIs.
Type: integer
Example:
100602614
old_account
Title: Account object
Description: Object with account information
Type: objectcustom_fields
Title: Custom fields
Description: Metadata field with any key-value pairs.
Type: object or null
Example:{ "credit_score": 800, "legacy_system_id": "17f43184-f1b5-4bac-9fba-49e2d178d1a4" }
division_id
Title: Account's administrative division ID
Type: integer
Example:
2856813
new_account
Title: Account object
Description: Object with account information
Type: objectcustom_fields
Title: Custom fields
Description: Metadata field with any key-value pairs.
Type: object or null
Example:{ "credit_score": 800, "legacy_system_id": "17f43184-f1b5-4bac-9fba-49e2d178d1a4" }
division_id
Title: Account's administrative division ID
Type: integer
Example:
2856813
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"title": "Account information changed",
"description": "This event occurs when account information in the custom fields changes.<br>Generated by: <a href='https://developers.pismo.io/pismo-docs/reference/patch-accounts-v1-accounts' target='_blank'>Update account custom fields</a> <br>More information: <a href='https://developers.pismo.io/pismo-docs/docs/create-an-account' target='_blank'>Create or update account</a>",
"required": [
"account_id",
"old_account",
"new_account"
],
"properties": {
"account_id": {
"type": "integer",
"title": "Account ID",
"description": "Unique ID used to retrieve account details in the Pismo platform APIs.",
"examples": [
100602614
]
},
"old_account": {
"$ref": "#/definitions/account"
},
"new_account": {
"$ref": "#/definitions/account"
}
},
"definitions": {
"account": {
"type": "object",
"title": "Account object",
"description": "Object with account information",
"properties": {
"custom_fields": {
"type": [
"object",
"null"
],
"title": "Custom fields",
"description": "Metadata field with any key-value pairs.",
"examples": [
{
"credit_score": 800,
"legacy_system_id": "17f43184-f1b5-4bac-9fba-49e2d178d1a4"
}
]
},
"division_id": {
"type": "integer",
"title": "Account's administrative division ID",
"example": 2856813
}
}
}
}
}
{
"account_id": 100602614,
"old_account": {
"custom_fields": {
"credit_score": 800,
"legacy_system_id": "17f43184-f1b5-4bac-9fba-49e2d178d1a4"
},
"division_id": 2856813
},
"new_account": {
"custom_fields": {
"credit_score": 800,
"legacy_system_id": "17f43184-f1b5-4bac-9fba-49e2d178d1a4"
},
"division_id": 2856813
}
}
Updated 16 days ago