Deposit product updated
Update deposit by product ID. The Update deposit product endpoint generates this event.
Type: object
Domain: deposit-product
Event: update
Version: 1
|
previous_status required
Title: Previous status
Description: Updated deposit product's previous status. Can beCREATED
,ACTIVE
, orINACTIVE
Type: string
Example:
CREATED
ACTIVE
INACTIVE
product_id required
Title: Product ID
Description: Product ID in the Pismo platform. UUID v4 format
Type: string
Example:
2c336e9d-d04f-4fd0-8f6e-25808f48d70c
status required
Title: Status
Description: Deposit product updated status. Can be eitherACTIVE
orINACTIVE
Type: string
Example:
ACTIVE
INACTIVE
updated_at required
Title: Update datetime
Description: Deposit product update datetime. Represented as an RFC3339 timestamp.
Type: string
Example:
2024-01-23T18:26:25Z
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Deposit product updated",
"description": "Update deposit by product ID. The <a href='https://developers.pismo.io/pismo-docs/reference/interest-bearing-v1-patch-deposit-product' target='_blank'>Update deposit product</a> endpoint generates this event.",
"required": [
"product_id",
"status",
"previous_status",
"updated_at"
],
"properties": {
"previous_status": {
"type": "string",
"title": "Previous status",
"description": "Updated deposit product's previous status. Can be `CREATED`,` ACTIVE`, or `INACTIVE`",
"examples": [
"CREATED",
"ACTIVE",
"INACTIVE"
]
},
"product_id": {
"type": "string",
"title": "Product ID",
"description": "Product ID in the Pismo platform. UUID v4 format",
"examples": [
"2c336e9d-d04f-4fd0-8f6e-25808f48d70c"
]
},
"status": {
"type": "string",
"title": "Status",
"description": "Deposit product updated status. Can be either `ACTIVE` or `INACTIVE`",
"examples": [
"ACTIVE",
"INACTIVE"
]
},
"updated_at": {
"type": "string",
"title": "Update datetime",
"description": "Deposit product update datetime. Represented as an RFC3339 timestamp.",
"examples": [
"2024-01-23T18:26:25Z"
]
}
}
}
{
"previous_status": "CREATED",
"product_id": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c",
"status": "ACTIVE",
"updated_at": "2024-01-23T18:26:25Z"
}
Updated 3 days ago