json icon

Product Deleted

v1.0.0events

Published when a product has been removed from the catalog.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "ProductDeleted",
4  "description": "Emitted when a product is removed from the catalog",
5  "type": "object",
6  "properties": {
7    "eventId": {
8      "description": "Unique identifier for this event",
9      "type": "string",
10      "format": "uuid"
11    },
12    "occurredAt": {
13      "description": "Time the product was deleted",
14      "type": "string",
15      "format": "date-time"
16    },
17    "productId": {
18      "description": "Unique identifier for the product that was deleted",
19      "type": "string",
20      "format": "uuid"
21    },
22    "reason": {
23      "description": "Optional reason the product was removed",
24      "type": "string",
25      "enum": ["DISCONTINUED", "DUPLICATE", "MERCHANT_REQUEST", "OTHER"]
26    }
27  },
28  "required": ["eventId", "occurredAt", "productId"]
29}
30

Details

Format
JSON Schema
Resource
events
Filename
schema.json

Versions