Extension

Events categorised under extension level will be triggered when any action performed on extension. e.g. If extension is installed.

Extension subscription

This event will be generated where there is any action done on extension-subscription

Events
extension/extension-subscription/create/v1
# this event is triggered when extension-subscription is created
extension/extension-subscription/update/v1
# this event is triggered when extension-subscription is updated

extension/extension-subscription/create/v1

this event is triggered when extension-subscription is created

Payload
company_id
integer
Required
Company ID for which this event is triggered
contains
array of string
Required
This array will have all the keys present at root level of 'payload' object
event
object
Required
Properties
category
string
Required
category of the event. If it is at sales channel level or company level
created_timestamp
integer
Required
event generation timestamp in epoch milliseconds
id
string
Required
Unique ID for an event. This id can be used to verifiy if event is already processed by receiver
name
string
Required
Name of the event
trace_id
array of string
Required
internal trace_id for Fynd Platform services
type
string
Required
Type/Action of the event. e.g. create/update/delete
version
string
Required
Version of the event.
payload
object
Required
Properties
_id
string
Required
Subscription id
meta
object
Open dictionary containing any meta data regarding extension
Properties
name
string
Required
name
string
Required
Name of subscription plan
term
string
Plan tagline
price
object
Required
Properties
amount
integer
Required
Subscription amount to be deducted in each billing cycle
currency_code
string
Required
Subscription amount currency ISO code
status
string
Required
Current status of subscription. Possible values: pending, active, declined, no_renew, cancelled, frozen
is_test
boolean
Required
Flag to indicate charges are test charges
recurring
object
Properties
interval
string
Required
Specifies the duration of the plan
interval_time
integer
Required
Signifies recurring time periods
created_at
string
Required
ISODate subscription creation date
trial_days
integer
Required
Number of trial days allowed in current subscription
modified_at
string
Required
ISODate subscription latest updation date
activated_on
string|null
Required
ISODate string for subscription activation (Null when in pending state)
cancelled_on
string|null
Required
ISODate string for subscription cancelled state (Null until moved to cancelled state)
extension_id
string
Extension ID
pricing_type
string
Required
Pricing type for current extension charge (It will be always `recurring` for subscription)
capped_amount
integer
Required
Max usage allowed under current extension charge
subscriber_id
string
Required
Subscriber id for fynd platform Seller/company owner
current_period
object
Current time period of subscription
Payload Schema JSON
1{
2 "type": "object",
3 "required": [
4 "company_id",
5 "contains",
6 "event",
7 "payload"
8 ],
9 "properties": {
10 "company_id": {
11 "type": "integer",
12 "description": "Company ID for which this event is triggered"
13 },
14 "contains": {
15 "type": "array",
16 "description": "This array will have all the keys present at root level of 'payload' object",
17 "items": {
18 "type": "string"
19 }
20 },
21 "event": {
22 "type": "object",
23 "required": [
24 "category",
25 "created_timestamp",
26 "id",
27 "name",
28 "trace_id",
29 "type",
30 "version"
31 ],
32 "properties": {
33 "category": {
34 "type": "string",
35 "description": "category of the event. If it is at sales channel level or company level"
36 },
37 "created_timestamp": {
38 "type": "integer",
39 "description": "event generation timestamp in epoch milliseconds"
40 },
41 "id": {
42 "type": "string",
43 "description": "Unique ID for an event. This id can be used to verifiy if event is already processed by receiver"
44 },
45 "name": {
46 "type": "string",
47 "description": "Name of the event"
48 },
49 "trace_id": {
50 "type": "array",
51 "description": "internal trace_id for Fynd Platform services",
52 "items": {
53 "type": "string"
54 }
55 },
56 "type": {
57 "type": "string",
58 "description": "Type/Action of the event. e.g. create/update/delete"
59 },
60 "version": {
61 "type": "string",
62 "description": "Version of the event."
63 }
64 }
65 },
66 "payload": {
67 "type": "object",
68 "required": [
69 "_id",
70 "name",
71 "price",
72 "capped_amount",
73 "activated_on",
74 "cancelled_on",
75 "is_test",
76 "pricing_type",
77 "subscriber_id",
78 "status",
79 "created_at",
80 "modified_at",
81 "trial_days"
82 ],
83 "properties": {
84 "_id": {
85 "type": "string",
86 "description": "Subscription id"
87 },
88 "meta": {
89 "type": "object",
90 "required": [
91 "name"
92 ],
93 "properties": {
94 "name": {
95 "type": "string"
96 }
97 },
98 "description": "Open dictionary containing any meta data regarding extension"
99 },
100 "name": {
101 "type": "string",
102 "description": "Name of subscription plan"
103 },
104 "term": {
105 "type": "string",
106 "description": "Plan tagline"
107 },
108 "price": {
109 "type": "object",
110 "required": [
111 "currency_code",
112 "amount"
113 ],
114 "properties": {
115 "amount": {
116 "type": "integer",
117 "description": "Subscription amount to be deducted in each billing cycle"
118 },
119 "currency_code": {
120 "type": "string",
121 "description": "Subscription amount currency ISO code"
122 }
123 }
124 },
125 "status": {
126 "type": "string",
127 "description": "Current status of subscription. Possible values: pending, active, declined, no_renew, cancelled, frozen"
128 },
129 "is_test": {
130 "type": "boolean",
131 "description": "Flag to indicate charges are test charges"
132 },
133 "recurring": {
134 "type": "object",
135 "required": [
136 "interval_time",
137 "interval"
138 ],
139 "properties": {
140 "interval": {
141 "type": "string",
142 "description": "Specifies the duration of the plan"
143 },
144 "interval_time": {
145 "type": "integer",
146 "description": "Signifies recurring time periods"
147 }
148 }
149 },
150 "created_at": {
151 "type": "string",
152 "description": "ISODate subscription creation date"
153 },
154 "trial_days": {
155 "type": "integer",
156 "description": "Number of trial days allowed in current subscription"
157 },
158 "modified_at": {
159 "type": "string",
160 "description": "ISODate subscription latest updation date"
161 },
162 "activated_on": {
163 "type": [
164 "string",
165 "null"
166 ],
167 "description": "ISODate string for subscription activation (Null when in pending state)"
168 },
169 "cancelled_on": {
170 "type": [
171 "string",
172 "null"
173 ],
174 "description": "ISODate string for subscription cancelled state (Null until moved to cancelled state)"
175 },
176 "extension_id": {
177 "type": "string",
178 "description": "Extension ID"
179 },
180 "pricing_type": {
181 "type": "string",
182 "description": "Pricing type for current extension charge (It will be always `recurring` for subscription)"
183 },
184 "capped_amount": {
185 "type": "integer",
186 "description": "Max usage allowed under current extension charge"
187 },
188 "subscriber_id": {
189 "type": "string",
190 "description": "Subscriber id for fynd platform Seller/company owner"
191 },
192 "current_period": {
193 "type": "object",
194 "description": "Current time period of subscription"
195 }
196 }
197 }
198 }
199}
Payload Example
1{
2 "event": {
3 "trace_id": [
4 "unicron-platform.0a9275f1-5ece-4e29-a8b6-dfb972b197fa"
5 ],
6 "name": "extension-subscription",
7 "type": "create",
8 "version": "1",
9 "created_timestamp": 1711438127195,
10 "id": "uyXO/k+tTpIM7VCzXAxL1Z5Y56Pk/YsNnIO+SpC9eg4=",
11 "category": "extension"
12 },
13 "company_id": 4783,
14 "contains": [
15 "_id",
16 "name",
17 "term",
18 "price",
19 "capped_amount",
20 "activated_on",
21 "cancelled_on",
22 "is_test",
23 "pricing_type",
24 "recurring",
25 "subscriber_id",
26 "status",
27 "meta",
28 "billing_date",
29 "current_period",
30 "created_at",
31 "modified_at",
32 "trial_days",
33 "extension_id"
34 ],
35 "payload": {
36 "_id": "6602792fec4fff74b1ddca19",
37 "name": "Standard",
38 "term": "Will be charged on every month",
39 "price": {
40 "currency_code": "INR",
41 "amount": 99
42 },
43 "capped_amount": 0,
44 "activated_on": null,
45 "cancelled_on": null,
46 "is_test": false,
47 "pricing_type": "recurring",
48 "recurring": {
49 "interval_time": 1,
50 "interval": "month"
51 },
52 "subscriber_id": "646874e32f39458c2fb163e8",
53 "status": "pending",
54 "meta": {
55 "name": "Google Tag Manager"
56 },
57 "billing_date": null,
58 "current_period": {},
59 "created_at": "2024-03-26T07:28:47.188Z",
60 "modified_at": "2024-03-26T07:28:47.188Z",
61 "trial_days": 0,
62 "extension_id": "61384111bee79ce4ac848a57"
63 }
64}

extension/extension-subscription/update/v1

this event is triggered when extension-subscription is updated

Payload
company_id
integer
Required
Company ID for which this event is triggered
contains
array of string
Required
This array will have all the keys present at root level of 'payload' object
event
object
Required
Properties
category
string
Required
Category of the event. If it is at sales channel level or company level
created_timestamp
integer
Required
Event generation timestamp in epoch milliseconds
id
string
Required
Unique ID for an event. This id can be used to verifiy if event is already processed by receiver
name
string
Required
Name of the event
trace_id
array of string
Required
internal trace_id for Fynd Platform services
type
string
Required
Type/Action of the event. e.g. create/update/delete
version
string
Required
Version of the event.
payload
object
Required
Properties
_id
string
Required
Subscription id
meta
object
Open dictionary containing any meta data regarding extension
Properties
name
string
Required
name
string
Required
Name of subscription plan
term
string
Plan tagline
price
object
Required
Properties
amount
integer
Required
Subscription amount to be deducted in each billing cycle
currency_code
string
Required
Subscription amount currency ISO code
status
string
Required
Current status of subscription. Possible values: pending, active, declined, no_renew, cancelled, frozen
is_test
boolean
Required
Flag to indicate charges are test charges
recurring
object
Properties
interval
string
Required
Specifies the duration of the plan
interval_time
integer
Required
Signifies recurring time periods
created_at
string
Required
ISODate subscription creation date
trial_days
integer
Required
Number of trial days allowed in current subscription
modified_at
string
Required
ISODate subscription latest updation date
activated_on
string|null
Required
ISODate string for subscription activation (Null when in pending state)
cancelled_on
string|null
Required
ISODate string for subscription cancelled state (Null until moved to cancelled state)
extension_id
string
Extension ID
pricing_type
string
Required
Pricing type for current extension charge (It will be always `recurring` for subscription)
capped_amount
integer
Required
Max usage allowed under current extension charge
subscriber_id
string
Required
Subscriber id for fynd platform Seller/company owner
current_period
object
Payload Schema JSON
1{
2 "type": "object",
3 "required": [
4 "company_id",
5 "contains",
6 "event",
7 "payload"
8 ],
9 "properties": {
10 "company_id": {
11 "type": "integer",
12 "description": "Company ID for which this event is triggered"
13 },
14 "contains": {
15 "type": "array",
16 "description": "This array will have all the keys present at root level of 'payload' object",
17 "items": {
18 "type": "string"
19 }
20 },
21 "event": {
22 "type": "object",
23 "required": [
24 "category",
25 "created_timestamp",
26 "id",
27 "name",
28 "trace_id",
29 "type",
30 "version"
31 ],
32 "properties": {
33 "category": {
34 "type": "string",
35 "description": "Category of the event. If it is at sales channel level or company level"
36 },
37 "created_timestamp": {
38 "type": "integer",
39 "description": "Event generation timestamp in epoch milliseconds"
40 },
41 "id": {
42 "type": "string",
43 "description": "Unique ID for an event. This id can be used to verifiy if event is already processed by receiver"
44 },
45 "name": {
46 "type": "string",
47 "description": "Name of the event"
48 },
49 "trace_id": {
50 "type": "array",
51 "description": "internal trace_id for Fynd Platform services",
52 "items": {
53 "type": "string"
54 }
55 },
56 "type": {
57 "type": "string",
58 "description": "Type/Action of the event. e.g. create/update/delete"
59 },
60 "version": {
61 "type": "string",
62 "description": "Version of the event."
63 }
64 }
65 },
66 "payload": {
67 "type": "object",
68 "required": [
69 "_id",
70 "name",
71 "price",
72 "capped_amount",
73 "activated_on",
74 "cancelled_on",
75 "is_test",
76 "pricing_type",
77 "subscriber_id",
78 "status",
79 "created_at",
80 "modified_at",
81 "trial_days"
82 ],
83 "properties": {
84 "_id": {
85 "type": "string",
86 "description": "Subscription id"
87 },
88 "meta": {
89 "type": "object",
90 "required": [
91 "name"
92 ],
93 "properties": {
94 "name": {
95 "type": "string"
96 }
97 },
98 "description": "Open dictionary containing any meta data regarding extension"
99 },
100 "name": {
101 "type": "string",
102 "description": "Name of subscription plan"
103 },
104 "term": {
105 "type": "string",
106 "description": "Plan tagline"
107 },
108 "price": {
109 "type": "object",
110 "required": [
111 "currency_code",
112 "amount"
113 ],
114 "properties": {
115 "amount": {
116 "type": "integer",
117 "description": "Subscription amount to be deducted in each billing cycle"
118 },
119 "currency_code": {
120 "type": "string",
121 "description": "Subscription amount currency ISO code"
122 }
123 }
124 },
125 "status": {
126 "type": "string",
127 "description": "Current status of subscription. Possible values: pending, active, declined, no_renew, cancelled, frozen"
128 },
129 "is_test": {
130 "type": "boolean",
131 "description": "Flag to indicate charges are test charges"
132 },
133 "recurring": {
134 "type": "object",
135 "required": [
136 "interval_time",
137 "interval"
138 ],
139 "properties": {
140 "interval": {
141 "type": "string",
142 "description": "Specifies the duration of the plan"
143 },
144 "interval_time": {
145 "type": "integer",
146 "description": "Signifies recurring time periods"
147 }
148 }
149 },
150 "created_at": {
151 "type": "string",
152 "description": "ISODate subscription creation date"
153 },
154 "trial_days": {
155 "type": "integer",
156 "description": "Number of trial days allowed in current subscription"
157 },
158 "modified_at": {
159 "type": "string",
160 "description": "ISODate subscription latest updation date"
161 },
162 "activated_on": {
163 "type": [
164 "string",
165 "null"
166 ],
167 "description": "ISODate string for subscription activation (Null when in pending state)"
168 },
169 "cancelled_on": {
170 "type": [
171 "string",
172 "null"
173 ],
174 "description": "ISODate string for subscription cancelled state (Null until moved to cancelled state)"
175 },
176 "extension_id": {
177 "type": "string",
178 "description": "Extension ID"
179 },
180 "pricing_type": {
181 "type": "string",
182 "description": "Pricing type for current extension charge (It will be always `recurring` for subscription)"
183 },
184 "capped_amount": {
185 "type": "integer",
186 "description": "Max usage allowed under current extension charge"
187 },
188 "subscriber_id": {
189 "type": "string",
190 "description": "Subscriber id for fynd platform Seller/company owner"
191 },
192 "current_period": {
193 "type": "object"
194 }
195 }
196 }
197 }
198}
Payload Example
1{
2 "event": {
3 "trace_id": [
4 "unicron-internal.61b3c121-588c-46ae-8a62-d1dc15d6b4fc"
5 ],
6 "name": "extension-subscription",
7 "type": "update",
8 "version": "1",
9 "created_timestamp": 1711625158694,
10 "id": "amwPZr7RqNZgnFsQgQGHNeH70Mgllkwow1B/UEDkUv0=",
11 "category": "extension"
12 },
13 "company_id": 7019,
14 "contains": [
15 "_id",
16 "name",
17 "term",
18 "price",
19 "capped_amount",
20 "activated_on",
21 "cancelled_on",
22 "is_test",
23 "pricing_type",
24 "recurring",
25 "subscriber_id",
26 "status",
27 "meta",
28 "billing_date",
29 "current_period",
30 "created_at",
31 "modified_at",
32 "trial_days",
33 "extension_id"
34 ],
35 "payload": {
36 "_id": "660553bb0b77a83be66f7150",
37 "name": "BASIC",
38 "term": "Elevate Your Shopping Experience with Personalized Products",
39 "price": {
40 "currency_code": "INR",
41 "amount": 199
42 },
43 "capped_amount": 0,
44 "activated_on": "2024-03-28T11:25:58.673Z",
45 "cancelled_on": null,
46 "is_test": false,
47 "pricing_type": "recurring",
48 "recurring": {
49 "interval_time": 1,
50 "interval": "month"
51 },
52 "subscriber_id": "65eaf2677eb29250fb703a28",
53 "status": "active",
54 "meta": {
55 "name": "Product Customisation"
56 },
57 "billing_date": "2024-03-28T11:25:58.666Z",
58 "current_period": {
59 "start_date": "2024-03-28T11:25:58.666Z",
60 "end_date": "2024-04-28T11:25:58.666Z"
61 },
62 "created_at": "2024-03-28T11:25:47.927Z",
63 "modified_at": "2024-03-28T11:25:58.681Z",
64 "trial_days": 0,
65 "extension_id": "64f02dae38ae0620b70c2969"
66 }
67}

Extension

This event will be generated where there is any action done on extension

Events
extension/extension/install/v1
# this event is triggered when extension is installed
extension/extension/uninstall/v1
# this event is triggered when extension is uninstalled

extension/extension/install/v1

this event is triggered when extension is installed

Payload
company_id
integer
Required
company ID for which this event is triggered
contains
array of string
Required
This array will have all the keys present at root level of 'payload' object
event
object
Required
Properties
category
string
Required
category of the event. If it is at sales channel level or company level
created_timestamp
integer
Required
event generation timestamp in epoch milliseconds
id
string
Required
Unique ID for an event. This id can be used to verifiy if event is already processed by receiver
name
string
Required
Name of the event
trace_id
array of string
Required
internal trace_id for Fynd Platform services
type
string
Required
Type/Action of the event. e.g. create/update/delete
version
string
Required
Version of the event.
payload
object
Required
Properties
company
object
Required
Properties
id
integer
Required
Company id where extension is being installed or uninstalled
name
string
Required
Name of company where extension is installed or uninstalled
email
string
Required
Company's primary contact email
extension
object
Required
Properties
id
string
Required
Extension ID or API_KEY
name
string
Required
Extension name
base_url
string
Required
Extension launch url
extension_type
string
Required
Type of extension private/public
organization_id
string
Required
Extension Creator - Partner Organization id
installed_on
string
Required
Date ISOString on extension is installed. (Only present for install type event)
Payload Schema JSON
1{
2 "type": "object",
3 "required": [
4 "company_id",
5 "contains",
6 "event",
7 "payload"
8 ],
9 "properties": {
10 "company_id": {
11 "type": "integer",
12 "description": "company ID for which this event is triggered"
13 },
14 "contains": {
15 "type": "array",
16 "description": "This array will have all the keys present at root level of 'payload' object",
17 "items": {
18 "type": "string"
19 }
20 },
21 "event": {
22 "type": "object",
23 "required": [
24 "category",
25 "created_timestamp",
26 "id",
27 "name",
28 "trace_id",
29 "type",
30 "version"
31 ],
32 "properties": {
33 "category": {
34 "type": "string",
35 "description": "category of the event. If it is at sales channel level or company level"
36 },
37 "created_timestamp": {
38 "type": "integer",
39 "description": "event generation timestamp in epoch milliseconds"
40 },
41 "id": {
42 "type": "string",
43 "description": "Unique ID for an event. This id can be used to verifiy if event is already processed by receiver"
44 },
45 "name": {
46 "type": "string",
47 "description": "Name of the event"
48 },
49 "trace_id": {
50 "type": "array",
51 "description": "internal trace_id for Fynd Platform services",
52 "items": {
53 "type": "string"
54 }
55 },
56 "type": {
57 "type": "string",
58 "description": "Type/Action of the event. e.g. create/update/delete"
59 },
60 "version": {
61 "type": "string",
62 "description": "Version of the event."
63 }
64 }
65 },
66 "payload": {
67 "type": "object",
68 "required": [
69 "extension",
70 "company",
71 "installed_on"
72 ],
73 "properties": {
74 "company": {
75 "type": "object",
76 "required": [
77 "id",
78 "name",
79 "email"
80 ],
81 "properties": {
82 "id": {
83 "type": "integer",
84 "description": "Company id where extension is being installed or uninstalled"
85 },
86 "name": {
87 "type": "string",
88 "description": "Name of company where extension is installed or uninstalled"
89 },
90 "email": {
91 "type": "string",
92 "description": "Company's primary contact email"
93 }
94 }
95 },
96 "extension": {
97 "type": "object",
98 "required": [
99 "id",
100 "extension_type",
101 "name",
102 "base_url",
103 "organization_id"
104 ],
105 "properties": {
106 "id": {
107 "type": "string",
108 "description": "Extension ID or API_KEY"
109 },
110 "name": {
111 "type": "string",
112 "description": "Extension name"
113 },
114 "base_url": {
115 "type": "string",
116 "description": "Extension launch url"
117 },
118 "extension_type": {
119 "type": "string",
120 "description": "Type of extension private/public"
121 },
122 "organization_id": {
123 "type": "string",
124 "description": "Extension Creator - Partner Organization id"
125 }
126 }
127 },
128 "installed_on": {
129 "type": "string",
130 "description": "Date ISOString on extension is installed. (Only present for install type event)"
131 }
132 }
133 }
134 }
135}
Payload Example
1{
2 "event": {
3 "trace_id": [
4 "skywarp-panel.c3296507-553f-4754-a311-24ac201fbe3f"
5 ],
6 "name": "extension",
7 "type": "install",
8 "version": "1",
9 "created_timestamp": 1712042224135,
10 "id": "3Kfe8LiKkqEXibjef6HoW69z56SjwWQyI2S0m8C3KMo=",
11 "category": "extension"
12 },
13 "company_id": 6811,
14 "contains": [
15 "extension",
16 "company",
17 "installed_on"
18 ],
19 "payload": {
20 "extension": {
21 "id": "65e54deed85c58b8a10696c8",
22 "extension_type": "private",
23 "name": "visenze_fynd_dev-local",
24 "base_url": "https://e8eb-158-140-146-52.ngrok-free.app",
25 "organization_id": "65b8de9ca2c2434448480f5e"
26 },
27 "company": {
28 "id": 6811,
29 "name": "Visenze_caglar_test",
30 "email": "[email protected]"
31 },
32 "installed_on": "2024-04-02T07:17:03.817Z"
33 }
34}

extension/extension/uninstall/v1

this event is triggered when extension is uninstalled

Payload
company_id
integer
Required
company ID for which this event is triggered
contains
array of string
Required
This array will have all the keys present at root level of 'payload' object
event
object
Required
Properties
category
string
Required
category of the event. If it is at sales channel level or company level
created_timestamp
integer
Required
event generation timestamp in epoch milliseconds
id
string
Required
Unique ID for an event. This id can be used to verifiy if event is already processed by receiver
name
string
Required
Name of the event
trace_id
array of string
Required
internal trace_id for Fynd Platform services
type
string
Required
Type/Action of the event. e.g. create/update/delete
version
string
Required
Version of the event.
payload
object
Required
Properties
extension
object
Required
Properties
id
string
Required
Extension ID or API_KEY
extension_type
string
Required
Type of extension private/public
name
string
Required
Extension name
base_url
string
Required
Extension launch url
organization_id
string
Required
Extension Creator - Partner Organization id
company
object
Required
Properties
id
integer
Required
Company id where extension is being installed or uninstalled
name
string
Required
Name of company where extension is installed or uninstalled
email
string
Required
Company's primary contact email
uninstall_message
string
Required
Seller submittted reason for uninstalling extension (Only present for uninstall type event)
uninstalled_on
string
Required
Date ISOString on extension is uninstalled. (Only present for uninstall type event)
Payload Schema JSON
1{
2 "type": "object",
3 "required": [
4 "company_id",
5 "contains",
6 "event",
7 "payload"
8 ],
9 "properties": {
10 "company_id": {
11 "type": "integer",
12 "description": "company ID for which this event is triggered"
13 },
14 "contains": {
15 "type": "array",
16 "description": "This array will have all the keys present at root level of 'payload' object",
17 "items": {
18 "type": "string"
19 }
20 },
21 "event": {
22 "type": "object",
23 "required": [
24 "category",
25 "created_timestamp",
26 "id",
27 "name",
28 "trace_id",
29 "type",
30 "version"
31 ],
32 "properties": {
33 "category": {
34 "type": "string",
35 "description": "category of the event. If it is at sales channel level or company level"
36 },
37 "created_timestamp": {
38 "type": "integer",
39 "description": "event generation timestamp in epoch milliseconds"
40 },
41 "id": {
42 "type": "string",
43 "description": "Unique ID for an event. This id can be used to verifiy if event is already processed by receiver"
44 },
45 "name": {
46 "type": "string",
47 "description": "Name of the event"
48 },
49 "trace_id": {
50 "type": "array",
51 "description": "internal trace_id for Fynd Platform services",
52 "items": {
53 "type": "string"
54 }
55 },
56 "type": {
57 "type": "string",
58 "description": "Type/Action of the event. e.g. create/update/delete"
59 },
60 "version": {
61 "type": "string",
62 "description": "Version of the event."
63 }
64 }
65 },
66 "payload": {
67 "type": "object",
68 "required": [
69 "extension",
70 "company",
71 "uninstall_message",
72 "uninstalled_on"
73 ],
74 "properties": {
75 "extension": {
76 "type": "object",
77 "required": [
78 "id",
79 "extension_type",
80 "name",
81 "base_url",
82 "organization_id"
83 ],
84 "properties": {
85 "id": {
86 "type": "string",
87 "description": "Extension ID or API_KEY"
88 },
89 "extension_type": {
90 "type": "string",
91 "description": "Type of extension private/public"
92 },
93 "name": {
94 "type": "string",
95 "description": "Extension name"
96 },
97 "base_url": {
98 "type": "string",
99 "description": "Extension launch url"
100 },
101 "organization_id": {
102 "type": "string",
103 "description": "Extension Creator - Partner Organization id"
104 }
105 }
106 },
107 "company": {
108 "type": "object",
109 "required": [
110 "id",
111 "name",
112 "email"
113 ],
114 "properties": {
115 "id": {
116 "type": "integer",
117 "description": "Company id where extension is being installed or uninstalled"
118 },
119 "name": {
120 "type": "string",
121 "description": "Name of company where extension is installed or uninstalled"
122 },
123 "email": {
124 "type": "string",
125 "description": "Company's primary contact email"
126 }
127 }
128 },
129 "uninstall_message": {
130 "type": "string",
131 "description": "Seller submittted reason for uninstalling extension (Only present for uninstall type event)"
132 },
133 "uninstalled_on": {
134 "type": "string",
135 "description": "Date ISOString on extension is uninstalled. (Only present for uninstall type event)"
136 }
137 }
138 }
139 }
140}
Payload Example
1{
2 "event": {
3 "trace_id": [
4 "mixmaster.37455a22-1d6c-4f0e-b07d-0f41b3cf7e9e"
5 ],
6 "name": "extension",
7 "type": "uninstall",
8 "version": "1",
9 "created_timestamp": 1712042137008,
10 "id": "oRr/sglUO8pA6diPjGeDezx1ksodQeVuC30WFF6xSWY=",
11 "category": "extension"
12 },
13 "company_id": 6811,
14 "contains": [
15 "extension",
16 "company",
17 "uninstall_message",
18 "uninstalled_on"
19 ],
20 "payload": {
21 "extension": {
22 "id": "65e54deed85c58b8a10696c8",
23 "name": "visenze_fynd_dev-local",
24 "base_url": "https://98d4-158-140-146-52.ngrok-free.app",
25 "organization_id": "65b8de9ca2c2434448480f5e",
26 "launch_type": "company",
27 "extension_type": "private"
28 },
29 "company": {
30 "id": 6811,
31 "name": "Visenze_caglar_test",
32 "email": ""
33 },
34 "uninstall_message": "",
35 "uninstalled_on": "2024-04-02T07:15:36.291Z"
36 }
37}