Company
Events categorised under company level will be triggered when any action performed on company. e.g. If new brand is created.
Events
company/article/create/v1
# this event is triggered when article is created
company/article/delete/v1
# this event is triggered when article is deleted
company/article/update/v1
# this event is triggered when article is updated
Payload
Properties
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
articles
array of object
Required
Array of Properties
id
string
Unique identifier for the article.
uid
string
Required
Combination of item code and store ID to uniquely identify the article.
size
string
Required
Product size (e.g., S, M, L, XL).
brand
object
Required
Details about the product's brand.
Properties
id
integer
Required
Unique identifier for the brand.
price
object
Required
Pricing details of the product, including various price types.
Properties
marked
number
Required
Marked price or original listed price of the product.
currency
string
Required
Currency used for the product's pricing (e.g., USD, EUR).
transfer
number
Required
Transfer price of the product.
effective
number
Required
Final price after applying discounts.
updated_at
string
| date-time
Date and time when the pricing information was last updated.
store
object
Required
Information about the store selling the product.
Properties
id
integer
Required
Unique identifier for the store.
is_set
boolean
Indicates if the product is sold as part of a set.
weight
object
Required
Weight details of the product.
Properties
unit
string
Required
Unit of weight measurement (e.g., kg, lbs).
shipping
number
Required
Shipping weight of the product.
is_default
boolean
Indicates if this is the default weight configuration.
company
object
Required
Information about the company producing or selling the product.
Properties
id
integer
Required
Unique identifier for the company.
item_id
integer
Required
Unique identifier for the item.
date_meta
object
Timestamps for important events in the product's lifecycle.
Properties
created_on
string
| date-time
Date and time when the product was first created.
modified_on
string
| date-time
Required
Last modification timestamp of the product inventory details.
added_on_store
string
| date-time
Date and time when the product was added to the store.
inventory_updated_on
string
| date-time
Last inventory update timestamp.
dimension
object
Required
Dimension details of the product.
Properties
unit
string
Required
Unit of dimension measurement (e.g., cm, inches).
width
number
Required
Width of the product.
height
number
Required
Height of the product.
length
number
Required
Length of the product.
is_default
boolean
Indicates if these are the default dimensions.
is_active
boolean
Indicates if the product is currently active (available for sale).
identifier
object
Required
Product-specific identifier details.
quantities
object
Information about product quantities, including available and unavailable stock.
Properties
damaged
object
Details of damaged stock.
Properties
count
integer
Required
Number of damaged units.
updated_at
string
Required
Timestamp of the last damaged stock update.
sellable
object
Required
Sellable stock information.
Properties
count
integer
Required
Number of sellable units available.
updated_at
string
Required
Timestamp of the last sellable stock update.
not_available
object
Information about unavailable stock.
Properties
count
integer
Required
Number of unavailable units.
updated_at
string
Required
Timestamp of the last unavailable stock update.
order_committed
object
Details of committed orders.
Properties
count
integer
Number of units committed to orders.
updated_at
string
Timestamp of the last order committed update.
_custom_json
object
Custom JSON data associated with the product.
trader
array of object
List of traders associated with the product.
Array of Properties
name
string
Trader's name.
type
string
Indicates the trader type.
Enum
address
array of string
List of addresses associated with the trader.
manufacturer
object
Required
Information about the product's manufacturer.
Properties
name
string
Required
Manufacturer's name.
address
string
Required
Manufacturer's physical address.
is_default
boolean
Indicates if this is the default manufacturer for the product.
return_config
object
Return policy configuration for the product.
Properties
unit
string
Time unit for the return period (either days or hours).
Enum
time
integer
Duration within which the product can be returned.
returnable
boolean
Required
Indicates if the product is returnable.
fynd_item_code
string
Required
Fynd's unique internal code for the product.
tax_identifier
object
Tax-related identification for the product.
Properties
hsn_code_id
string
HSN (Harmonized System of Nomenclature) code identifier.
total_quantity
integer
Required
Total quantity available for the product.
expiration_date
string
Expiration or validity end date for the product.
track_inventory
boolean
Indicates if inventory tracking is enabled for the product.
country_of_origin
string
Required
Country where the product was manufactured or originated.
stage
string
Current stage of the product lifecycle (e.g., verified).
set
object
Configuration of the set, if the product is sold as one.
Properties
quantity
integer
Total number of items in the set.
size_distribution
object
Size distribution details within the set.
Properties
sizes
array of object
List of sizes and their respective quantities.
Array of Properties
size
string
Label of the size (e.g., S, M, L).
pieces
integer
Quantity of pieces for the corresponding size.
seller_identifier
string
Required
Unique identifier used by the seller for the product.
trace_id
string
internal trace_id for Fynd Platform services
tags
array of string
Tags or labels assigned to the product for categorization or search purposes.
modified_by
object
Details of the user who modified the product inventory.
Properties
user_id
string
User ID of the modifier.
created_by
object
Details of the user who added/created the product inventory.
Properties
user_id
string
User ID of the creator.
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 "articles"70 ],71 "properties": {72 "articles": {73 "type": "array",74 "items": {75 "type": "object",76 "required": [77 "uid",78 "item_id",79 "fynd_item_code",80 "store",81 "brand",82 "company",83 "size",84 "identifier",85 "seller_identifier",86 "price",87 "total_quantity",88 "dimension",89 "weight",90 "manufacturer",91 "country_of_origin"92 ],93 "properties": {94 "id": {95 "type": "string",96 "description": "Unique identifier for the article."97 },98 "uid": {99 "type": "string",100 "description": "Combination of item code and store ID to uniquely identify the article."101 },102 "size": {103 "type": "string",104 "description": "Product size (e.g., S, M, L, XL)."105 },106 "brand": {107 "type": "object",108 "description": "Details about the product's brand.",109 "properties": {110 "id": {111 "type": "integer",112 "description": "Unique identifier for the brand."113 }114 },115 "required": [116 "id"117 ]118 },119 "price": {120 "type": "object",121 "description": "Pricing details of the product, including various price types.",122 "properties": {123 "marked": {124 "type": "number",125 "description": "Marked price or original listed price of the product."126 },127 "currency": {128 "type": "string",129 "description": "Currency used for the product's pricing (e.g., USD, EUR)."130 },131 "transfer": {132 "type": "number",133 "description": "Transfer price of the product."134 },135 "effective": {136 "type": "number",137 "description": "Final price after applying discounts."138 },139 "updated_at": {140 "type": "string",141 "format": "date-time",142 "description": "Date and time when the pricing information was last updated."143 }144 },145 "required": [146 "transfer",147 "effective",148 "marked",149 "currency"150 ]151 },152 "store": {153 "type": "object",154 "description": "Information about the store selling the product.",155 "properties": {156 "id": {157 "type": "integer",158 "description": "Unique identifier for the store."159 }160 },161 "required": [162 "id"163 ]164 },165 "is_set": {166 "type": "boolean",167 "description": "Indicates if the product is sold as part of a set."168 },169 "weight": {170 "type": "object",171 "description": "Weight details of the product.",172 "properties": {173 "unit": {174 "type": "string",175 "description": "Unit of weight measurement (e.g., kg, lbs)."176 },177 "shipping": {178 "type": "number",179 "description": "Shipping weight of the product."180 },181 "is_default": {182 "type": "boolean",183 "description": "Indicates if this is the default weight configuration."184 }185 },186 "required": [187 "unit",188 "shipping"189 ]190 },191 "company": {192 "type": "object",193 "description": "Information about the company producing or selling the product.",194 "properties": {195 "id": {196 "type": "integer",197 "description": "Unique identifier for the company."198 }199 },200 "required": [201 "id"202 ]203 },204 "item_id": {205 "type": "integer",206 "description": "Unique identifier for the item."207 },208 "date_meta": {209 "type": "object",210 "description": "Timestamps for important events in the product's lifecycle.",211 "properties": {212 "created_on": {213 "type": "string",214 "format": "date-time",215 "description": "Date and time when the product was first created."216 },217 "modified_on": {218 "type": "string",219 "format": "date-time",220 "description": "Last modification timestamp of the product inventory details."221 },222 "added_on_store": {223 "type": "string",224 "format": "date-time",225 "description": "Date and time when the product was added to the store."226 },227 "inventory_updated_on": {228 "type": "string",229 "format": "date-time",230 "description": "Last inventory update timestamp."231 }232 },233 "required": [234 "modified_on"235 ]236 },237 "dimension": {238 "type": "object",239 "description": "Dimension details of the product.",240 "properties": {241 "unit": {242 "type": "string",243 "description": "Unit of dimension measurement (e.g., cm, inches)."244 },245 "width": {246 "type": "number",247 "description": "Width of the product."248 },249 "height": {250 "type": "number",251 "description": "Height of the product."252 },253 "length": {254 "type": "number",255 "description": "Length of the product."256 },257 "is_default": {258 "type": "boolean",259 "description": "Indicates if these are the default dimensions."260 }261 },262 "required": [263 "unit",264 "height",265 "width",266 "length"267 ]268 },269 "is_active": {270 "type": "boolean",271 "description": "Indicates if the product is currently active (available for sale)."272 },273 "identifier": {274 "type": "object",275 "additionalProperties": true,276 "description": "Product-specific identifier details."277 },278 "quantities": {279 "type": "object",280 "description": "Information about product quantities, including available and unavailable stock.",281 "properties": {282 "damaged": {283 "type": "object",284 "description": "Details of damaged stock.",285 "properties": {286 "count": {287 "type": "integer",288 "description": "Number of damaged units."289 },290 "updated_at": {291 "type": "string",292 "description": "Timestamp of the last damaged stock update."293 }294 },295 "required": [296 "count",297 "updated_at"298 ]299 },300 "sellable": {301 "type": "object",302 "description": "Sellable stock information.",303 "properties": {304 "count": {305 "type": "integer",306 "description": "Number of sellable units available."307 },308 "updated_at": {309 "type": "string",310 "description": "Timestamp of the last sellable stock update."311 }312 },313 "required": [314 "count",315 "updated_at"316 ]317 },318 "not_available": {319 "type": "object",320 "description": "Information about unavailable stock.",321 "properties": {322 "count": {323 "type": "integer",324 "description": "Number of unavailable units."325 },326 "updated_at": {327 "type": "string",328 "description": "Timestamp of the last unavailable stock update."329 }330 },331 "required": [332 "count",333 "updated_at"334 ]335 },336 "order_committed": {337 "type": "object",338 "description": "Details of committed orders.",339 "properties": {340 "count": {341 "type": "integer",342 "description": "Number of units committed to orders."343 },344 "updated_at": {345 "type": "string",346 "description": "Timestamp of the last order committed update."347 }348 }349 }350 },351 "required": [352 "sellable"353 ]354 },355 "_custom_json": {356 "type": "object",357 "description": "Custom JSON data associated with the product."358 },359 "trader": {360 "type": "array",361 "description": "List of traders associated with the product.",362 "items": {363 "type": "object",364 "properties": {365 "name": {366 "type": "string",367 "description": "Trader's name."368 },369 "type": {370 "type": "string",371 "enum": [372 "Manufacturer",373 "Importer",374 "Packer",375 "Marketer"376 ],377 "description": "Indicates the trader type."378 },379 "address": {380 "type": "array",381 "description": "List of addresses associated with the trader.",382 "items": {383 "type": "string"384 }385 }386 }387 }388 },389 "manufacturer": {390 "type": "object",391 "description": "Information about the product's manufacturer.",392 "properties": {393 "name": {394 "type": "string",395 "description": "Manufacturer's name."396 },397 "address": {398 "type": "string",399 "description": "Manufacturer's physical address."400 },401 "is_default": {402 "type": "boolean",403 "description": "Indicates if this is the default manufacturer for the product."404 }405 },406 "required": [407 "name",408 "address"409 ]410 },411 "return_config": {412 "type": "object",413 "description": "Return policy configuration for the product.",414 "properties": {415 "unit": {416 "type": "string",417 "enum": [418 "days",419 "hours"420 ],421 "description": "Time unit for the return period (either days or hours)."422 },423 "time": {424 "type": "integer",425 "description": "Duration within which the product can be returned."426 },427 "returnable": {428 "type": "boolean",429 "description": "Indicates if the product is returnable."430 }431 },432 "required": [433 "returnable"434 ]435 },436 "fynd_item_code": {437 "type": "string",438 "description": "Fynd's unique internal code for the product."439 },440 "tax_identifier": {441 "type": "object",442 "description": "Tax-related identification for the product.",443 "properties": {444 "hsn_code_id": {445 "type": "string",446 "description": "HSN (Harmonized System of Nomenclature) code identifier."447 }448 }449 },450 "total_quantity": {451 "type": "integer",452 "description": "Total quantity available for the product."453 },454 "expiration_date": {455 "type": "string",456 "description": "Expiration or validity end date for the product."457 },458 "track_inventory": {459 "type": "boolean",460 "description": "Indicates if inventory tracking is enabled for the product."461 },462 "country_of_origin": {463 "type": "string",464 "description": "Country where the product was manufactured or originated."465 },466 "stage": {467 "type": "string",468 "description": "Current stage of the product lifecycle (e.g., verified)."469 },470 "set": {471 "type": "object",472 "description": "Configuration of the set, if the product is sold as one.",473 "properties": {474 "quantity": {475 "type": "integer",476 "description": "Total number of items in the set."477 },478 "size_distribution": {479 "type": "object",480 "description": "Size distribution details within the set.",481 "properties": {482 "sizes": {483 "type": "array",484 "description": "List of sizes and their respective quantities.",485 "items": {486 "type": "object",487 "properties": {488 "size": {489 "type": "string",490 "description": "Label of the size (e.g., S, M, L)."491 },492 "pieces": {493 "type": "integer",494 "description": "Quantity of pieces for the corresponding size."495 }496 }497 }498 }499 }500 }501 }502 },503 "seller_identifier": {504 "type": "string",505 "description": "Unique identifier used by the seller for the product."506 },507 "trace_id": {508 "type": "string",509 "description": "internal trace_id for Fynd Platform services"510 },511 "tags": {512 "type": "array",513 "description": "Tags or labels assigned to the product for categorization or search purposes.",514 "items": {515 "type": "string"516 }517 },518 "modified_by": {519 "type": "object",520 "description": "Details of the user who modified the product inventory.",521 "properties": {522 "user_id": {523 "type": "string",524 "description": "User ID of the modifier."525 }526 }527 },528 "created_by": {529 "type": "object",530 "description": "Details of the user who added/created the product inventory.",531 "properties": {532 "user_id": {533 "type": "string",534 "description": "User ID of the creator."535 }536 }537 }538 }539 }540 }541 }542 }543 }544}
Payload Example
1{2 "company_id": 3932,3 "contains": [4 "articles"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1712213140518,9 "id": "uVxPGUEmbYi7/WCvNFfFY03tJiSTOqP6kgMZOxxmGrI=",10 "name": "article",11 "trace_id": [12 "silverbolt.f3b55ffc-f24e-11ee-ad2e-c227286f4511"13 ],14 "type": "create",15 "version": "1"16 },17 "payload": {18 "articles": [19 {20 "_custom_json": {},21 "brand": {22 "id": 41423 },24 "company": {25 "id": 393226 },27 "country_of_origin": "India",28 "date_meta": {29 "added_on_store": "2024-04-04 06:45:40.083507+00:00",30 "created_on": "2024-04-04 06:45:40.072820",31 "inventory_updated_on": "2024-04-04 06:45:40.072820",32 "modified_on": "2024-04-04 06:45:40.072820"33 },34 "dimension": {35 "height": 5,36 "length": 33,37 "unit": "cm",38 "width": 2539 },40 "expiration_date": "9998-01-30 23:59:00",41 "fynd_item_code": "MFK-9332-Q-163-LIGHT BLUE",42 "id": "",43 "identifier": {44 "ean": "8905310270582"45 },46 "is_active": true,47 "is_set": false,48 "item_id": 8684655,49 "manufacturer": {50 "address": "B-8, MIDC CENTRAL ROAD, MAROL, NEXT TO MIDC POLICE STATION, ANDHERI EAST, MUMBAI -400093, , Maharashtra, Mumbai",51 "name": "Credo Brands Marketing Limited"52 },53 "price": {54 "currency": "INR",55 "effective": 2199,56 "marked": 2199,57 "transfer": 058 },59 "quantities": {60 "sellable": {61 "count": 1,62 "updated_at": "2024-04-04 06:45:40.072820"63 }64 },65 "return_config": {66 "returnable": true,67 "time": 30,68 "unit": "days"69 },70 "seller_identifier": "8905310270582",71 "size": "L",72 "stage": "verified",73 "store": {74 "id": 2363075 },76 "tags": [],77 "tax_identifier": {78 "hsn_code_id": "6277837c5e4c6fdbc8be3e93"79 },80 "total_quantity": 1,81 "trace_id": "inventory.f366a506-f24e-11ee-ad2e-c227286f4511",82 "track_inventory": true,83 "uid": "23630_8905310270582",84 "weight": {85 "shipping": 250,86 "unit": "gram"87 }88 }89 ]90 }91}
Was this section helpful?
Payload
Properties
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
articles
array of object
Required
Array of Properties
id
string
Unique identifier for the article.
uid
string
Required
Combination of item code and store ID to uniquely identify the article.
size
string
Required
Product size (e.g., S, M, L, XL).
brand
object
Required
Details about the product's brand.
Properties
id
integer
Required
Unique identifier for the brand.
price
object
Required
Pricing details of the product, including various price types.
Properties
marked
number
Required
Marked price or original listed price of the product.
currency
string
Required
Currency used for the product's pricing (e.g., USD, EUR).
transfer
number
Required
Transfer price of the product.
effective
number
Required
Final price after applying discounts.
updated_at
string
| date-time
Date and time when the pricing information was last updated.
store
object
Required
Information about the store selling the product.
Properties
id
integer
Required
Unique identifier for the store.
is_set
boolean
Indicates if the product is sold as part of a set.
weight
object
Required
Weight details of the product.
Properties
unit
string
Required
Unit of weight measurement (e.g., kg, lbs).
shipping
number
Required
Shipping weight of the product.
is_default
boolean
Indicates if this is the default weight configuration.
company
object
Required
Information about the company producing or selling the product.
Properties
id
integer
Required
Unique identifier for the company.
item_id
integer
Required
Unique identifier for the item.
date_meta
object
Timestamps for important events in the product's lifecycle.
Properties
created_on
string
| date-time
Date and time when the product was first created.
modified_on
string
| date-time
Required
Last modification timestamp of the product inventory details.
added_on_store
string
| date-time
Date and time when the product was added to the store.
inventory_updated_on
string
| date-time
Last inventory update timestamp.
dimension
object
Required
Dimension details of the product.
Properties
unit
string
Required
Unit of dimension measurement (e.g., cm, inches).
width
number
Required
Width of the product.
height
number
Required
Height of the product.
length
number
Required
Length of the product.
is_default
boolean
Indicates if these are the default dimensions.
is_active
boolean
Indicates if the product is currently active (available for sale).
identifier
object
Required
Product-specific identifier details.
quantities
object
Information about product quantities, including available and unavailable stock.
Properties
damaged
object
Details of damaged stock.
Properties
count
integer
Required
Number of damaged units.
updated_at
string
Required
Timestamp of the last damaged stock update.
sellable
object
Required
Sellable stock information.
Properties
count
integer
Required
Number of sellable units available.
updated_at
string
Required
Timestamp of the last sellable stock update.
not_available
object
Information about unavailable stock.
Properties
count
integer
Required
Number of unavailable units.
updated_at
string
Required
Timestamp of the last unavailable stock update.
order_committed
object
Details of committed orders.
Properties
count
integer
Number of units committed to orders.
updated_at
string
Timestamp of the last order committed update.
_custom_json
object
Custom JSON data associated with the product.
trader
array of object
List of traders associated with the product.
Array of Properties
name
string
Trader's name.
type
string
Indicates the trader type.
Enum
address
array of string
List of addresses associated with the trader.
manufacturer
object
Required
Information about the product's manufacturer.
Properties
name
string
Required
Manufacturer's name.
address
string
Required
Manufacturer's physical address.
is_default
boolean
Indicates if this is the default manufacturer for the product.
return_config
object
Return policy configuration for the product.
Properties
unit
string
Time unit for the return period (either days or hours).
Enum
time
integer
Duration within which the product can be returned.
returnable
boolean
Required
Indicates if the product is returnable.
fynd_item_code
string
Required
Fynd's unique internal code for the product.
tax_identifier
object
Tax-related identification for the product.
Properties
hsn_code_id
string
HSN (Harmonized System of Nomenclature) code identifier.
total_quantity
integer
Required
Total quantity available for the product.
expiration_date
string
Expiration or validity end date for the product.
track_inventory
boolean
Indicates if inventory tracking is enabled for the product.
country_of_origin
string
Required
Country where the product was manufactured or originated.
stage
string
Current stage of the product lifecycle (e.g., verified).
set
object
Configuration of the set, if the product is sold as one.
Properties
quantity
integer
Total number of items in the set.
size_distribution
object
Size distribution details within the set.
Properties
sizes
array of object
List of sizes and their respective quantities.
Array of Properties
size
string
Label of the size (e.g., S, M, L).
pieces
integer
Quantity of pieces for the corresponding size.
seller_identifier
string
Required
Unique identifier used by the seller for the product.
trace_id
string
internal trace_id for Fynd Platform services
tags
array of string
Tags or labels assigned to the product for categorization or search purposes.
modified_by
object
Details of the user who modified the product inventory.
Properties
user_id
string
User ID of the modifier.
created_by
object
Details of the user who added/created the product inventory.
Properties
user_id
string
User ID of the creator.
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 "articles"70 ],71 "properties": {72 "articles": {73 "type": "array",74 "items": {75 "type": "object",76 "required": [77 "uid",78 "item_id",79 "fynd_item_code",80 "store",81 "brand",82 "company",83 "size",84 "identifier",85 "seller_identifier",86 "price",87 "total_quantity",88 "dimension",89 "weight",90 "manufacturer",91 "country_of_origin"92 ],93 "properties": {94 "id": {95 "type": "string",96 "description": "Unique identifier for the article."97 },98 "uid": {99 "type": "string",100 "description": "Combination of item code and store ID to uniquely identify the article."101 },102 "size": {103 "type": "string",104 "description": "Product size (e.g., S, M, L, XL)."105 },106 "brand": {107 "type": "object",108 "description": "Details about the product's brand.",109 "properties": {110 "id": {111 "type": "integer",112 "description": "Unique identifier for the brand."113 }114 },115 "required": [116 "id"117 ]118 },119 "price": {120 "type": "object",121 "description": "Pricing details of the product, including various price types.",122 "properties": {123 "marked": {124 "type": "number",125 "description": "Marked price or original listed price of the product."126 },127 "currency": {128 "type": "string",129 "description": "Currency used for the product's pricing (e.g., USD, EUR)."130 },131 "transfer": {132 "type": "number",133 "description": "Transfer price of the product."134 },135 "effective": {136 "type": "number",137 "description": "Final price after applying discounts."138 },139 "updated_at": {140 "type": "string",141 "format": "date-time",142 "description": "Date and time when the pricing information was last updated."143 }144 },145 "required": [146 "transfer",147 "effective",148 "marked",149 "currency"150 ]151 },152 "store": {153 "type": "object",154 "description": "Information about the store selling the product.",155 "properties": {156 "id": {157 "type": "integer",158 "description": "Unique identifier for the store."159 }160 },161 "required": [162 "id"163 ]164 },165 "is_set": {166 "type": "boolean",167 "description": "Indicates if the product is sold as part of a set."168 },169 "weight": {170 "type": "object",171 "description": "Weight details of the product.",172 "properties": {173 "unit": {174 "type": "string",175 "description": "Unit of weight measurement (e.g., kg, lbs)."176 },177 "shipping": {178 "type": "number",179 "description": "Shipping weight of the product."180 },181 "is_default": {182 "type": "boolean",183 "description": "Indicates if this is the default weight configuration."184 }185 },186 "required": [187 "unit",188 "shipping"189 ]190 },191 "company": {192 "type": "object",193 "description": "Information about the company producing or selling the product.",194 "properties": {195 "id": {196 "type": "integer",197 "description": "Unique identifier for the company."198 }199 },200 "required": [201 "id"202 ]203 },204 "item_id": {205 "type": "integer",206 "description": "Unique identifier for the item."207 },208 "date_meta": {209 "type": "object",210 "description": "Timestamps for important events in the product's lifecycle.",211 "properties": {212 "created_on": {213 "type": "string",214 "format": "date-time",215 "description": "Date and time when the product was first created."216 },217 "modified_on": {218 "type": "string",219 "format": "date-time",220 "description": "Last modification timestamp of the product inventory details."221 },222 "added_on_store": {223 "type": "string",224 "format": "date-time",225 "description": "Date and time when the product was added to the store."226 },227 "inventory_updated_on": {228 "type": "string",229 "format": "date-time",230 "description": "Last inventory update timestamp."231 }232 },233 "required": [234 "modified_on"235 ]236 },237 "dimension": {238 "type": "object",239 "description": "Dimension details of the product.",240 "properties": {241 "unit": {242 "type": "string",243 "description": "Unit of dimension measurement (e.g., cm, inches)."244 },245 "width": {246 "type": "number",247 "description": "Width of the product."248 },249 "height": {250 "type": "number",251 "description": "Height of the product."252 },253 "length": {254 "type": "number",255 "description": "Length of the product."256 },257 "is_default": {258 "type": "boolean",259 "description": "Indicates if these are the default dimensions."260 }261 },262 "required": [263 "unit",264 "height",265 "width",266 "length"267 ]268 },269 "is_active": {270 "type": "boolean",271 "description": "Indicates if the product is currently active (available for sale)."272 },273 "identifier": {274 "type": "object",275 "additionalProperties": true,276 "description": "Product-specific identifier details."277 },278 "quantities": {279 "type": "object",280 "description": "Information about product quantities, including available and unavailable stock.",281 "properties": {282 "damaged": {283 "type": "object",284 "description": "Details of damaged stock.",285 "properties": {286 "count": {287 "type": "integer",288 "description": "Number of damaged units."289 },290 "updated_at": {291 "type": "string",292 "description": "Timestamp of the last damaged stock update."293 }294 },295 "required": [296 "count",297 "updated_at"298 ]299 },300 "sellable": {301 "type": "object",302 "description": "Sellable stock information.",303 "properties": {304 "count": {305 "type": "integer",306 "description": "Number of sellable units available."307 },308 "updated_at": {309 "type": "string",310 "description": "Timestamp of the last sellable stock update."311 }312 },313 "required": [314 "count",315 "updated_at"316 ]317 },318 "not_available": {319 "type": "object",320 "description": "Information about unavailable stock.",321 "properties": {322 "count": {323 "type": "integer",324 "description": "Number of unavailable units."325 },326 "updated_at": {327 "type": "string",328 "description": "Timestamp of the last unavailable stock update."329 }330 },331 "required": [332 "count",333 "updated_at"334 ]335 },336 "order_committed": {337 "type": "object",338 "description": "Details of committed orders.",339 "properties": {340 "count": {341 "type": "integer",342 "description": "Number of units committed to orders."343 },344 "updated_at": {345 "type": "string",346 "description": "Timestamp of the last order committed update."347 }348 }349 }350 },351 "required": [352 "sellable"353 ]354 },355 "_custom_json": {356 "type": "object",357 "description": "Custom JSON data associated with the product."358 },359 "trader": {360 "type": "array",361 "description": "List of traders associated with the product.",362 "items": {363 "type": "object",364 "properties": {365 "name": {366 "type": "string",367 "description": "Trader's name."368 },369 "type": {370 "type": "string",371 "enum": [372 "Manufacturer",373 "Importer",374 "Packer",375 "Marketer"376 ],377 "description": "Indicates the trader type."378 },379 "address": {380 "type": "array",381 "description": "List of addresses associated with the trader.",382 "items": {383 "type": "string"384 }385 }386 }387 }388 },389 "manufacturer": {390 "type": "object",391 "description": "Information about the product's manufacturer.",392 "properties": {393 "name": {394 "type": "string",395 "description": "Manufacturer's name."396 },397 "address": {398 "type": "string",399 "description": "Manufacturer's physical address."400 },401 "is_default": {402 "type": "boolean",403 "description": "Indicates if this is the default manufacturer for the product."404 }405 },406 "required": [407 "name",408 "address"409 ]410 },411 "return_config": {412 "type": "object",413 "description": "Return policy configuration for the product.",414 "properties": {415 "unit": {416 "type": "string",417 "enum": [418 "days",419 "hours"420 ],421 "description": "Time unit for the return period (either days or hours)."422 },423 "time": {424 "type": "integer",425 "description": "Duration within which the product can be returned."426 },427 "returnable": {428 "type": "boolean",429 "description": "Indicates if the product is returnable."430 }431 },432 "required": [433 "returnable"434 ]435 },436 "fynd_item_code": {437 "type": "string",438 "description": "Fynd's unique internal code for the product."439 },440 "tax_identifier": {441 "type": "object",442 "description": "Tax-related identification for the product.",443 "properties": {444 "hsn_code_id": {445 "type": "string",446 "description": "HSN (Harmonized System of Nomenclature) code identifier."447 }448 }449 },450 "total_quantity": {451 "type": "integer",452 "description": "Total quantity available for the product."453 },454 "expiration_date": {455 "type": "string",456 "description": "Expiration or validity end date for the product."457 },458 "track_inventory": {459 "type": "boolean",460 "description": "Indicates if inventory tracking is enabled for the product."461 },462 "country_of_origin": {463 "type": "string",464 "description": "Country where the product was manufactured or originated."465 },466 "stage": {467 "type": "string",468 "description": "Current stage of the product lifecycle (e.g., verified)."469 },470 "set": {471 "type": "object",472 "description": "Configuration of the set, if the product is sold as one.",473 "properties": {474 "quantity": {475 "type": "integer",476 "description": "Total number of items in the set."477 },478 "size_distribution": {479 "type": "object",480 "description": "Size distribution details within the set.",481 "properties": {482 "sizes": {483 "type": "array",484 "description": "List of sizes and their respective quantities.",485 "items": {486 "type": "object",487 "properties": {488 "size": {489 "type": "string",490 "description": "Label of the size (e.g., S, M, L)."491 },492 "pieces": {493 "type": "integer",494 "description": "Quantity of pieces for the corresponding size."495 }496 }497 }498 }499 }500 }501 }502 },503 "seller_identifier": {504 "type": "string",505 "description": "Unique identifier used by the seller for the product."506 },507 "trace_id": {508 "type": "string",509 "description": "internal trace_id for Fynd Platform services"510 },511 "tags": {512 "type": "array",513 "description": "Tags or labels assigned to the product for categorization or search purposes.",514 "items": {515 "type": "string"516 }517 },518 "modified_by": {519 "type": "object",520 "description": "Details of the user who modified the product inventory.",521 "properties": {522 "user_id": {523 "type": "string",524 "description": "User ID of the modifier."525 }526 }527 },528 "created_by": {529 "type": "object",530 "description": "Details of the user who added/created the product inventory.",531 "properties": {532 "user_id": {533 "type": "string",534 "description": "User ID of the creator."535 }536 }537 }538 }539 }540 }541 }542 }543 }544}
Payload Example
1{2 "company_id": 61,3 "contains": [4 "articles"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1711552926254,9 "id": "TnDwx8zqahrSj4ZoX7pGG0wqnchYTJt9BduujJ+RM2M=",10 "name": "article",11 "trace_id": [12 "silverbolt.c5576594-ec4d-11ee-ba7a-36c24ca45877"13 ],14 "type": "delete",15 "version": "1"16 },17 "payload": {18 "articles": [19 {20 "_custom_json": {},21 "brand": {22 "id": 355923 },24 "company": {25 "id": 6126 },27 "country_of_origin": "India",28 "date_meta": {29 "added_on_store": "2024-03-27 15:20:48.796000",30 "created_on": "2024-03-27 15:20:48.787000",31 "inventory_updated_on": "2024-03-27 15:20:48.787000",32 "modified_on": "2024-03-27 15:21:26.432000"33 },34 "dimension": {35 "height": 5,36 "length": 5,37 "unit": "cm",38 "width": 539 },40 "expiration_date": "9998-01-30 23:59:00",41 "fynd_item_code": "DSJHJJKSVD",42 "id": "6604399e1d962a270d7bf31b",43 "identifier": {44 "ean": "SDVKJNSVD"45 },46 "is_active": true,47 "is_set": false,48 "item_id": 10198724,49 "manufacturer": {50 "address": "FYND, KONDIVITA, MAHARASHTRA, MUMBAI",51 "name": "FUCHSIA VINE DESIGNS PRIVATE LIMITED"52 },53 "price": {54 "currency": "INR",55 "effective": 50000,56 "marked": 100000,57 "transfer": 058 },59 "quantities": {60 "sellable": {61 "count": 10000,62 "updated_at": "2024-03-27 15:20:48.787000"63 }64 },65 "return_config": {66 "returnable": false,67 "time": 0,68 "unit": "days"69 },70 "seller_identifier": "SDVKJNSVD",71 "size": "OS",72 "stage": "verified",73 "store": {74 "id": 1541175 },76 "tags": [],77 "tax_identifier": {78 "hsn_code_id": "65fd783dc528d7515782df49"79 },80 "total_quantity": 10000,81 "trace_id": "inventory.9727cd26-ec4d-11ee-bd11-aa1ad4821f40",82 "track_inventory": true,83 "uid": "15411_SDVKJNSVD",84 "weight": {85 "shipping": 5,86 "unit": "gram"87 }88 }89 ]90 }91}
Was this section helpful?
Payload
Properties
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
articles
array of object
Required
Array of Properties
id
string
Unique identifier for the article.
uid
string
Required
Combination of item code and store ID to uniquely identify the article.
size
string
Required
Product size (e.g., S, M, L, XL).
brand
object
Required
Details about the product's brand.
Properties
id
integer
Required
Unique identifier for the brand.
price
object
Required
Pricing details of the product, including various price types.
Properties
marked
number
Required
Marked price or original listed price of the product.
currency
string
Required
Currency used for the product's pricing (e.g., USD, EUR).
transfer
number
Required
Transfer price of the product.
effective
number
Required
Final price after applying discounts.
updated_at
string
| date-time
Date and time when the pricing information was last updated.
store
object
Required
Information about the store selling the product.
Properties
id
integer
Required
Unique identifier for the store.
is_set
boolean
Indicates if the product is sold as part of a set.
weight
object
Required
Weight details of the product.
Properties
unit
string
Required
Unit of weight measurement (e.g., kg, lbs).
shipping
number
Required
Shipping weight of the product.
is_default
boolean
Indicates if this is the default weight configuration.
company
object
Required
Information about the company producing or selling the product.
Properties
id
integer
Required
Unique identifier for the company.
item_id
integer
Required
Unique identifier for the item.
date_meta
object
Timestamps for important events in the product's lifecycle.
Properties
created_on
string
| date-time
Date and time when the product was first created.
modified_on
string
| date-time
Required
Last modification timestamp of the product inventory details.
added_on_store
string
| date-time
Date and time when the product was added to the store.
inventory_updated_on
string
| date-time
Last inventory update timestamp.
dimension
object
Required
Dimension details of the product.
Properties
unit
string
Required
Unit of dimension measurement (e.g., cm, inches).
width
number
Required
Width of the product.
height
number
Required
Height of the product.
length
number
Required
Length of the product.
is_default
boolean
Indicates if these are the default dimensions.
is_active
boolean
Indicates if the product is currently active (available for sale).
identifier
object
Required
Product-specific identifier details.
quantities
object
Information about product quantities, including available and unavailable stock.
Properties
damaged
object
Details of damaged stock.
Properties
count
integer
Required
Number of damaged units.
updated_at
string
Required
Timestamp of the last damaged stock update.
sellable
object
Required
Sellable stock information.
Properties
count
integer
Required
Number of sellable units available.
updated_at
string
Required
Timestamp of the last sellable stock update.
not_available
object
Information about unavailable stock.
Properties
count
integer
Required
Number of unavailable units.
updated_at
string
Required
Timestamp of the last unavailable stock update.
order_committed
object
Details of committed orders.
Properties
count
integer
Number of units committed to orders.
updated_at
string
Timestamp of the last order committed update.
_custom_json
object
Custom JSON data associated with the product.
trader
array of object
List of traders associated with the product.
Array of Properties
name
string
Trader's name.
type
string
Indicates the trader type.
Enum
address
array of string
List of addresses associated with the trader.
manufacturer
object
Required
Information about the product's manufacturer.
Properties
name
string
Required
Manufacturer's name.
address
string
Required
Manufacturer's physical address.
is_default
boolean
Indicates if this is the default manufacturer for the product.
return_config
object
Return policy configuration for the product.
Properties
unit
string
Time unit for the return period (either days or hours).
Enum
time
integer
Duration within which the product can be returned.
returnable
boolean
Required
Indicates if the product is returnable.
fynd_item_code
string
Required
Fynd's unique internal code for the product.
tax_identifier
object
Tax-related identification for the product.
Properties
hsn_code_id
string
HSN (Harmonized System of Nomenclature) code identifier.
total_quantity
integer
Required
Total quantity available for the product.
expiration_date
string
Expiration or validity end date for the product.
track_inventory
boolean
Indicates if inventory tracking is enabled for the product.
country_of_origin
string
Required
Country where the product was manufactured or originated.
stage
string
Current stage of the product lifecycle (e.g., verified).
set
object
Configuration of the set, if the product is sold as one.
Properties
quantity
integer
Total number of items in the set.
size_distribution
object
Size distribution details within the set.
Properties
sizes
array of object
List of sizes and their respective quantities.
Array of Properties
size
string
Label of the size (e.g., S, M, L).
pieces
integer
Quantity of pieces for the corresponding size.
seller_identifier
string
Required
Unique identifier used by the seller for the product.
trace_id
string
internal trace_id for Fynd Platform services
tags
array of string
Tags or labels assigned to the product for categorization or search purposes.
modified_by
object
Details of the user who modified the product inventory.
Properties
user_id
string
User ID of the modifier.
created_by
object
Details of the user who added/created the product inventory.
Properties
user_id
string
User ID of the creator.
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 "articles"70 ],71 "properties": {72 "articles": {73 "type": "array",74 "items": {75 "type": "object",76 "required": [77 "uid",78 "item_id",79 "fynd_item_code",80 "store",81 "brand",82 "company",83 "size",84 "identifier",85 "seller_identifier",86 "price",87 "total_quantity",88 "dimension",89 "weight",90 "manufacturer",91 "country_of_origin"92 ],93 "properties": {94 "id": {95 "type": "string",96 "description": "Unique identifier for the article."97 },98 "uid": {99 "type": "string",100 "description": "Combination of item code and store ID to uniquely identify the article."101 },102 "size": {103 "type": "string",104 "description": "Product size (e.g., S, M, L, XL)."105 },106 "brand": {107 "type": "object",108 "description": "Details about the product's brand.",109 "properties": {110 "id": {111 "type": "integer",112 "description": "Unique identifier for the brand."113 }114 },115 "required": [116 "id"117 ]118 },119 "price": {120 "type": "object",121 "description": "Pricing details of the product, including various price types.",122 "properties": {123 "marked": {124 "type": "number",125 "description": "Marked price or original listed price of the product."126 },127 "currency": {128 "type": "string",129 "description": "Currency used for the product's pricing (e.g., USD, EUR)."130 },131 "transfer": {132 "type": "number",133 "description": "Transfer price of the product."134 },135 "effective": {136 "type": "number",137 "description": "Final price after applying discounts."138 },139 "updated_at": {140 "type": "string",141 "format": "date-time",142 "description": "Date and time when the pricing information was last updated."143 }144 },145 "required": [146 "transfer",147 "effective",148 "marked",149 "currency"150 ]151 },152 "store": {153 "type": "object",154 "description": "Information about the store selling the product.",155 "properties": {156 "id": {157 "type": "integer",158 "description": "Unique identifier for the store."159 }160 },161 "required": [162 "id"163 ]164 },165 "is_set": {166 "type": "boolean",167 "description": "Indicates if the product is sold as part of a set."168 },169 "weight": {170 "type": "object",171 "description": "Weight details of the product.",172 "properties": {173 "unit": {174 "type": "string",175 "description": "Unit of weight measurement (e.g., kg, lbs)."176 },177 "shipping": {178 "type": "number",179 "description": "Shipping weight of the product."180 },181 "is_default": {182 "type": "boolean",183 "description": "Indicates if this is the default weight configuration."184 }185 },186 "required": [187 "unit",188 "shipping"189 ]190 },191 "company": {192 "type": "object",193 "description": "Information about the company producing or selling the product.",194 "properties": {195 "id": {196 "type": "integer",197 "description": "Unique identifier for the company."198 }199 },200 "required": [201 "id"202 ]203 },204 "item_id": {205 "type": "integer",206 "description": "Unique identifier for the item."207 },208 "date_meta": {209 "type": "object",210 "description": "Timestamps for important events in the product's lifecycle.",211 "properties": {212 "created_on": {213 "type": "string",214 "format": "date-time",215 "description": "Date and time when the product was first created."216 },217 "modified_on": {218 "type": "string",219 "format": "date-time",220 "description": "Last modification timestamp of the product inventory details."221 },222 "added_on_store": {223 "type": "string",224 "format": "date-time",225 "description": "Date and time when the product was added to the store."226 },227 "inventory_updated_on": {228 "type": "string",229 "format": "date-time",230 "description": "Last inventory update timestamp."231 }232 },233 "required": [234 "modified_on"235 ]236 },237 "dimension": {238 "type": "object",239 "description": "Dimension details of the product.",240 "properties": {241 "unit": {242 "type": "string",243 "description": "Unit of dimension measurement (e.g., cm, inches)."244 },245 "width": {246 "type": "number",247 "description": "Width of the product."248 },249 "height": {250 "type": "number",251 "description": "Height of the product."252 },253 "length": {254 "type": "number",255 "description": "Length of the product."256 },257 "is_default": {258 "type": "boolean",259 "description": "Indicates if these are the default dimensions."260 }261 },262 "required": [263 "unit",264 "height",265 "width",266 "length"267 ]268 },269 "is_active": {270 "type": "boolean",271 "description": "Indicates if the product is currently active (available for sale)."272 },273 "identifier": {274 "type": "object",275 "additionalProperties": true,276 "description": "Product-specific identifier details."277 },278 "quantities": {279 "type": "object",280 "description": "Information about product quantities, including available and unavailable stock.",281 "properties": {282 "damaged": {283 "type": "object",284 "description": "Details of damaged stock.",285 "properties": {286 "count": {287 "type": "integer",288 "description": "Number of damaged units."289 },290 "updated_at": {291 "type": "string",292 "description": "Timestamp of the last damaged stock update."293 }294 },295 "required": [296 "count",297 "updated_at"298 ]299 },300 "sellable": {301 "type": "object",302 "description": "Sellable stock information.",303 "properties": {304 "count": {305 "type": "integer",306 "description": "Number of sellable units available."307 },308 "updated_at": {309 "type": "string",310 "description": "Timestamp of the last sellable stock update."311 }312 },313 "required": [314 "count",315 "updated_at"316 ]317 },318 "not_available": {319 "type": "object",320 "description": "Information about unavailable stock.",321 "properties": {322 "count": {323 "type": "integer",324 "description": "Number of unavailable units."325 },326 "updated_at": {327 "type": "string",328 "description": "Timestamp of the last unavailable stock update."329 }330 },331 "required": [332 "count",333 "updated_at"334 ]335 },336 "order_committed": {337 "type": "object",338 "description": "Details of committed orders.",339 "properties": {340 "count": {341 "type": "integer",342 "description": "Number of units committed to orders."343 },344 "updated_at": {345 "type": "string",346 "description": "Timestamp of the last order committed update."347 }348 }349 }350 },351 "required": [352 "sellable"353 ]354 },355 "_custom_json": {356 "type": "object",357 "description": "Custom JSON data associated with the product."358 },359 "trader": {360 "type": "array",361 "description": "List of traders associated with the product.",362 "items": {363 "type": "object",364 "properties": {365 "name": {366 "type": "string",367 "description": "Trader's name."368 },369 "type": {370 "type": "string",371 "enum": [372 "Manufacturer",373 "Importer",374 "Packer",375 "Marketer"376 ],377 "description": "Indicates the trader type."378 },379 "address": {380 "type": "array",381 "description": "List of addresses associated with the trader.",382 "items": {383 "type": "string"384 }385 }386 }387 }388 },389 "manufacturer": {390 "type": "object",391 "description": "Information about the product's manufacturer.",392 "properties": {393 "name": {394 "type": "string",395 "description": "Manufacturer's name."396 },397 "address": {398 "type": "string",399 "description": "Manufacturer's physical address."400 },401 "is_default": {402 "type": "boolean",403 "description": "Indicates if this is the default manufacturer for the product."404 }405 },406 "required": [407 "name",408 "address"409 ]410 },411 "return_config": {412 "type": "object",413 "description": "Return policy configuration for the product.",414 "properties": {415 "unit": {416 "type": "string",417 "enum": [418 "days",419 "hours"420 ],421 "description": "Time unit for the return period (either days or hours)."422 },423 "time": {424 "type": "integer",425 "description": "Duration within which the product can be returned."426 },427 "returnable": {428 "type": "boolean",429 "description": "Indicates if the product is returnable."430 }431 },432 "required": [433 "returnable"434 ]435 },436 "fynd_item_code": {437 "type": "string",438 "description": "Fynd's unique internal code for the product."439 },440 "tax_identifier": {441 "type": "object",442 "description": "Tax-related identification for the product.",443 "properties": {444 "hsn_code_id": {445 "type": "string",446 "description": "HSN (Harmonized System of Nomenclature) code identifier."447 }448 }449 },450 "total_quantity": {451 "type": "integer",452 "description": "Total quantity available for the product."453 },454 "expiration_date": {455 "type": "string",456 "description": "Expiration or validity end date for the product."457 },458 "track_inventory": {459 "type": "boolean",460 "description": "Indicates if inventory tracking is enabled for the product."461 },462 "country_of_origin": {463 "type": "string",464 "description": "Country where the product was manufactured or originated."465 },466 "stage": {467 "type": "string",468 "description": "Current stage of the product lifecycle (e.g., verified)."469 },470 "set": {471 "type": "object",472 "description": "Configuration of the set, if the product is sold as one.",473 "properties": {474 "quantity": {475 "type": "integer",476 "description": "Total number of items in the set."477 },478 "size_distribution": {479 "type": "object",480 "description": "Size distribution details within the set.",481 "properties": {482 "sizes": {483 "type": "array",484 "description": "List of sizes and their respective quantities.",485 "items": {486 "type": "object",487 "properties": {488 "size": {489 "type": "string",490 "description": "Label of the size (e.g., S, M, L)."491 },492 "pieces": {493 "type": "integer",494 "description": "Quantity of pieces for the corresponding size."495 }496 }497 }498 }499 }500 }501 }502 },503 "seller_identifier": {504 "type": "string",505 "description": "Unique identifier used by the seller for the product."506 },507 "trace_id": {508 "type": "string",509 "description": "internal trace_id for Fynd Platform services"510 },511 "tags": {512 "type": "array",513 "description": "Tags or labels assigned to the product for categorization or search purposes.",514 "items": {515 "type": "string"516 }517 },518 "modified_by": {519 "type": "object",520 "description": "Details of the user who modified the product inventory.",521 "properties": {522 "user_id": {523 "type": "string",524 "description": "User ID of the modifier."525 }526 }527 },528 "created_by": {529 "type": "object",530 "description": "Details of the user who added/created the product inventory.",531 "properties": {532 "user_id": {533 "type": "string",534 "description": "User ID of the creator."535 }536 }537 }538 }539 }540 }541 }542 }543 }544}
Payload Example
1{2 "company_id": 3932,3 "contains": [4 "articles"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1712143546633,9 "id": "JTxFS9aTWX0Jzkzgher4YEpDoRWtok4kUdIwPHtufiQ=",10 "name": "article",11 "trace_id": [12 "silverbolt.ea855272-f1ac-11ee-b06f-aeef32a192b9"13 ],14 "type": "update",15 "version": "1"16 },17 "payload": {18 "articles": [19 {20 "_custom_json": {},21 "brand": {22 "id": 41423 },24 "company": {25 "id": 393226 },27 "country_of_origin": "India",28 "date_meta": {29 "inventory_updated_on": "2024-04-03 11:25:46.620269",30 "modified_on": "2024-04-03 11:25:46.620269"31 },32 "dimension": {33 "height": 5,34 "length": 33,35 "unit": "cm",36 "width": 2537 },38 "expiration_date": "9998-01-30 23:59:00",39 "fynd_item_code": "MFT-28408-P-01-BLACK",40 "id": "64a8bb0c3834e4c1b96f72f2",41 "identifier": {42 "ean": "8905310163563"43 },44 "is_active": true,45 "is_set": false,46 "item_id": 8696234,47 "manufacturer": {48 "address": "B-8, ANDHERI EAST, MUMBAI -400093, , MAHARASHTRA, MUMBAI SUBURBAN",49 "name": "Credo Brands Marketing Limited"50 },51 "price": {52 "currency": "INR",53 "effective": 4099,54 "marked": 4099,55 "transfer": 056 },57 "quantities": {58 "damaged": {59 "count": 0,60 "updated_at": "2024-04-03 11:25:46.620269"61 },62 "not_available": {63 "count": 0,64 "updated_at": "2024-04-03 11:25:46.620269"65 },66 "sellable": {67 "count": 2,68 "updated_at": "2024-04-03 11:25:46.620269"69 }70 },71 "return_config": {72 "returnable": true,73 "time": 30,74 "unit": "days"75 },76 "seller_identifier": "8905310163563",77 "size": "30",78 "stage": "verified",79 "store": {80 "id": 1810481 },82 "tags": [],83 "tax_identifier": {84 "hsn_code_id": "6277838c5e4c6fdbc8be402d"85 },86 "total_quantity": 2,87 "trace_id": "660d3cb866632959e7348904",88 "track_inventory": true,89 "uid": "18104_8905310163563",90 "weight": {91 "shipping": 600,92 "unit": "gram"93 }94 }95 ]96 }97}
Was this section helpful?
Events
company/brand/create/v1
# this event is triggered when brand is created
company/brand/update/v1
# this event is triggered when brand is updated
Payload
Properties
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
brand
object
Required
Brand details.
Properties
id
string
The unique ID of the brand.
uid
integer
Required
The UID of the brand.
_cls
string
Class information of the brand.
logo
string
Required
The URL of the brand's logo.
mode
string
The mode of the brand.
name
string
Required
The name of the brand.
stage
string
Required
The stage of the brand.
banner
object
The banner images of the brand.
Properties
portrait
string
The URL of the brand's portrait banner.
landscape
string
The URL of the brand's landscape banner.
slug_key
string
Required
The slug key of the brand.
synonyms
array of string
A list of synonyms for the brand name.
warnings
object
A dictionary of warnings related to the brand.
meta_json
object
The meta data for the brand.
Properties
company_id
integer
The ID of the company associated with this meta data.
company_id
integer
Required
The ID of the company the brand belongs to.
created_by
object
The user who created the brand.
Properties
user_id
string
Required
The unique ID of the user who created the brand.
username
string
Required
The username of the user who created the brand.
created_on
string
The date and time when the brand was created.
description
string
A description of the brand.
modified_by
object
The user who last modified the brand.
Properties
user_id
string
Required
The unique ID of the user who last modified the brand.
username
string
Required
The username of the user who last modified the brand.
modified_on
string
The date and time when the brand was last modified.
verified_by
object
The user who verified the brand.
Properties
user_id
string
Required
The unique ID of the user who verified the brand.
username
string
Required
The username of the user who verified the brand.
verified_on
string
The date and time when the brand was verified.
_custom_json
object
Custom JSON data for the brand.
_locale_language
object
The language settings for the brand.
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 "brand"70 ],71 "properties": {72 "brand": {73 "type": "object",74 "required": [75 "name",76 "uid",77 "company_id",78 "slug_key",79 "stage",80 "logo"81 ],82 "properties": {83 "id": {84 "type": "string",85 "description": "The unique ID of the brand."86 },87 "uid": {88 "type": "integer",89 "description": "The UID of the brand."90 },91 "_cls": {92 "type": "string",93 "description": "Class information of the brand."94 },95 "logo": {96 "type": "string",97 "description": "The URL of the brand's logo."98 },99 "mode": {100 "type": "string",101 "description": "The mode of the brand."102 },103 "name": {104 "type": "string",105 "description": "The name of the brand."106 },107 "stage": {108 "type": "string",109 "description": "The stage of the brand."110 },111 "banner": {112 "type": "object",113 "required": [],114 "properties": {115 "portrait": {116 "type": "string",117 "description": "The URL of the brand's portrait banner."118 },119 "landscape": {120 "type": "string",121 "description": "The URL of the brand's landscape banner."122 }123 },124 "description": "The banner images of the brand."125 },126 "slug_key": {127 "type": "string",128 "description": "The slug key of the brand."129 },130 "synonyms": {131 "type": "array",132 "items": {133 "type": "string"134 },135 "description": "A list of synonyms for the brand name."136 },137 "warnings": {138 "type": "object",139 "description": "A dictionary of warnings related to the brand."140 },141 "meta_json": {142 "type": "object",143 "properties": {144 "company_id": {145 "type": "integer",146 "description": "The ID of the company associated with this meta data."147 }148 },149 "description": "The meta data for the brand."150 },151 "company_id": {152 "type": "integer",153 "description": "The ID of the company the brand belongs to."154 },155 "created_by": {156 "type": "object",157 "required": [158 "user_id",159 "username"160 ],161 "properties": {162 "user_id": {163 "type": "string",164 "description": "The unique ID of the user who created the brand."165 },166 "username": {167 "type": "string",168 "description": "The username of the user who created the brand."169 }170 },171 "description": "The user who created the brand."172 },173 "created_on": {174 "type": "string",175 "description": "The date and time when the brand was created."176 },177 "description": {178 "type": "string",179 "description": "A description of the brand."180 },181 "modified_by": {182 "type": "object",183 "required": [184 "user_id",185 "username"186 ],187 "properties": {188 "user_id": {189 "type": "string",190 "description": "The unique ID of the user who last modified the brand."191 },192 "username": {193 "type": "string",194 "description": "The username of the user who last modified the brand."195 }196 },197 "description": "The user who last modified the brand."198 },199 "modified_on": {200 "type": "string",201 "description": "The date and time when the brand was last modified."202 },203 "verified_by": {204 "type": "object",205 "required": [206 "user_id",207 "username"208 ],209 "properties": {210 "user_id": {211 "type": "string",212 "description": "The unique ID of the user who verified the brand."213 },214 "username": {215 "type": "string",216 "description": "The username of the user who verified the brand."217 }218 },219 "description": "The user who verified the brand."220 },221 "verified_on": {222 "type": "string",223 "description": "The date and time when the brand was verified."224 },225 "_custom_json": {226 "type": "object",227 "description": "Custom JSON data for the brand."228 },229 "_locale_language": {230 "type": "object",231 "description": "The language settings for the brand."232 }233 },234 "description": "Brand details."235 }236 }237 }238 }239}
Payload Example
1{2 "company_id": 61,3 "contains": [4 "brand"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1711688290399,9 "id": "UZKh3R1YKpTUlQx5AL970V72Y2Z2bSwOIATEwLXAu6I=",10 "name": "brand",11 "trace_id": [12 "WheelJack.f0a8c382-ed88-11ee-bea0-620952f5da1a"13 ],14 "type": "create",15 "version": "1"16 },17 "payload": {18 "brand": {19 "_locale_language": {},20 "banner": {21 "landscape": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/brands/pictures/landscape-banner/original/Cb_ArFhPE-Landsacpe-Banner.png",22 "portrait": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/brands/pictures/portrait-banner/original/k3ety-h39-Portrait-Banner.png"23 },24 "company_id": 61,25 "description": "",26 "id": "66064a624ebfdd9d40a91309",27 "logo": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/brands/pictures/square-logo/original/Eg3oiR_bw-Logo.jpeg",28 "mode": "live",29 "name": "Mirraw",30 "slug_key": "mirraw",31 "stage": "complete",32 "uid": 799033 }34 }35}
Was this section helpful?
Payload
Properties
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
brand
object
Required
Brand details.
Properties
uid
integer
Required
The UID of the brand.
name
string
Required
The name of the brand.
stage
string
Required
The stage of the brand.
logo
string
Required
The URL of the brand's logo.
banner
object
Required
The banner images of the brand.
Properties
portrait
string
Required
The URL of the brand's portrait banner.
landscape
string
Required
The URL of the brand's landscape banner.
description
string
A description of the brand.
_locale_language
object
The language settings for the brand.
company_id
integer
Required
The ID of the company the brand belongs to.
id
string
Required
The unique ID of the brand.
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 "properties": {69 "brand": {70 "type": "object",71 "properties": {72 "uid": {73 "type": "integer",74 "description": "The UID of the brand."75 },76 "name": {77 "type": "string",78 "description": "The name of the brand."79 },80 "stage": {81 "type": "string",82 "description": "The stage of the brand."83 },84 "logo": {85 "type": "string",86 "description": "The URL of the brand's logo."87 },88 "banner": {89 "type": "object",90 "properties": {91 "portrait": {92 "type": "string",93 "description": "The URL of the brand's portrait banner."94 },95 "landscape": {96 "type": "string",97 "description": "The URL of the brand's landscape banner."98 }99 },100 "required": [101 "portrait",102 "landscape"103 ],104 "description": "The banner images of the brand."105 },106 "description": {107 "type": "string",108 "description": "A description of the brand."109 },110 "_locale_language": {111 "type": "object",112 "description": "The language settings for the brand."113 },114 "company_id": {115 "type": "integer",116 "description": "The ID of the company the brand belongs to."117 },118 "id": {119 "type": "string",120 "description": "The unique ID of the brand."121 }122 },123 "required": [124 "uid",125 "name",126 "stage",127 "logo",128 "banner",129 "company_id",130 "id"131 ],132 "description": "Brand details."133 }134 },135 "required": [136 "brand"137 ]138 }139 }140}
Payload Example
1{2 "company_id": 61,3 "contains": [4 "brand"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1711643753177,9 "id": "RHL08gMG11SDwyix7lwCN1lMrRCVPbkv72mje0AOrXQ=",10 "name": "brand",11 "trace_id": [12 "WheelJack.3e681ebe-ed21-11ee-aaad-9e29e151ef18"13 ],14 "type": "update",15 "version": "1"16 },17 "payload": {18 "brand": {19 "_locale_language": {},20 "banner": {21 "landscape": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/brands/pictures/landscape-banner/original/xS3yYSccB-3Y7m0I3J5-Landsacpe-Banner.jpeg",22 "portrait": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/brands/pictures/portrait-banner/original/kCTYrsIHp-0QOLHIHiT-Portrait-Banner.jpeg"23 },24 "company_id": 61,25 "description": "",26 "id": "65241a754c42bd82ac09e1bd",27 "logo": "https://cdn.fynd.com/v2/falling-surf-7c8bb8/fyprod/wrkr/brands/pictures/square-logo/original/LnJda98-q-juwas-TRj-Logo.png",28 "name": "DIOR",29 "stage": "complete",30 "uid": 739231 }32 }33}
Was this section helpful?
Events
company/company/create/v2
# this event is triggered when company is created
company/company/update/v2
# this event is triggered when company is updated
Payload
Properties
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
uid
integer
The user ID associated with the company
mode
string
The mode of the company
Enum
name
string
Required
The name of the company
stage
string
The stage of the company
Enum
taxes
array of object
The list of taxes associated with the company.
Array of Properties
rate
number
The GST tax rate value added at company level.
enable
boolean
A boolean value indicating whether the rate is enabled or not.
effective_date
string
The effective date of the rate.
domain
string
The domain associated with the company added during onboard for application creation.
warnings
object
The warnings associated with the company ( can contain any key value pair )
addresses
array of object
Required
The list of addresses associated with the company.
Array of Properties
city
string
Required
The city of the address.
state
string
Required
The state of the address.
country
string
Required
The country of the address.
pincode
string
Required
The pincode of the address.
address1
string
Required
The first line of the address.
address2
string
The second line of the address.
landmark
string
The landmark near the address.
latitude
number
Required
The latitude of the address.
longitude
number
Required
The longitude of the address.
address_type
string
The type of address.
Enum
country_code
string
The ISO 3166-1 alpha-2 country code of the country where the business operates.
created_on
string
The date and time when the company was created
modified_on
string
The date and time when the company was last modified
documents
array of object
Required
The list of documents associated with the company
Array of Properties
url
string
The URL of the document.
type
string
Required
The type of the document.
Enum
value
string
Required
The value of the document.
verified
boolean
Indicates whether the document is verified.
legal_name
string
The legal name associated with the document.
verified_by
object
The user who verified the brand.
Properties
user_id
string
Required
User ID of the user who verified the company
verified_on
string
The date and time when the company was verified
_custom_json
object
Custom JSON data associated with the company
company_type
string
The type of the company
Enum
marketplaces
array of string
The list of marketplaces associated with the company
business_info
string
The business information of the company
business_type
string
The business type of the company
Enum
referral_info
object
The referral information associated with the company
Properties
referral_code
string
Referral code for the user
reject_reason
string
The reason why the company was rejected
contact_details
object
The contact details associated with the company
Properties
phone
array of object
List of phone numbers.
Array of Properties
number
string
Required
The phone number for contact person.
country_code
integer
Required
The country code for the contact person.
emails
array of string
List of email addresses.
business_details
object
Additional business details
Properties
website
object
Required
Details about the website of the business.
Properties
url
string
The URL of the website.
franchise_enabled
boolean
Whether the company is a franchise
notification_emails
array of string
The list of email addresses for notifications
business_country_info
object
The country and country code of the company
Properties
country
string
The name of the country where the business operates
country_code
string
The ISO 3166-1 alpha-2 country code of the country where the business operates
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 "company"70 ],71 "properties": {72 "company": {73 "type": "object",74 "required": [75 "name",76 "addresses",77 "documents"78 ],79 "properties": {80 "uid": {81 "type": "integer",82 "description": "The user ID associated with the company"83 },84 "mode": {85 "type": "string",86 "enum": [87 "live",88 "development"89 ],90 "description": "The mode of the company"91 },92 "name": {93 "type": "string",94 "description": "The name of the company"95 },96 "stage": {97 "type": "string",98 "description": "The stage of the company",99 "enum": [100 "verified",101 "complete"102 ]103 },104 "taxes": {105 "type": "array",106 "items": {107 "type": "object",108 "required": [],109 "properties": {110 "rate": {111 "type": "number",112 "description": "The GST tax rate value added at company level."113 },114 "enable": {115 "type": "boolean",116 "description": "A boolean value indicating whether the rate is enabled or not."117 },118 "effective_date": {119 "type": "string",120 "description": "The effective date of the rate."121 }122 }123 },124 "description": "The list of taxes associated with the company."125 },126 "domain": {127 "type": "string",128 "description": "The domain associated with the company added during onboard for application creation."129 },130 "warnings": {131 "type": "object",132 "description": "The warnings associated with the company ( can contain any key value pair )",133 "example": "{company: Company not verified!}"134 },135 "addresses": {136 "type": "array",137 "items": {138 "type": "object",139 "required": [140 "country",141 "state",142 "city",143 "pincode",144 "address1",145 "latitude",146 "longitude"147 ],148 "properties": {149 "city": {150 "type": "string",151 "description": "The city of the address."152 },153 "state": {154 "type": "string",155 "description": "The state of the address."156 },157 "country": {158 "type": "string",159 "description": "The country of the address."160 },161 "pincode": {162 "type": "string",163 "description": "The pincode of the address."164 },165 "address1": {166 "type": "string",167 "description": "The first line of the address."168 },169 "address2": {170 "type": "string",171 "description": "The second line of the address."172 },173 "landmark": {174 "type": "string",175 "description": "The landmark near the address."176 },177 "latitude": {178 "type": "number",179 "description": "The latitude of the address."180 },181 "longitude": {182 "type": "number",183 "description": "The longitude of the address."184 },185 "address_type": {186 "type": "string",187 "description": "The type of address.",188 "enum": [189 "office",190 "registered"191 ]192 },193 "country_code": {194 "type": "string",195 "description": "The ISO 3166-1 alpha-2 country code of the country where the business operates."196 }197 }198 },199 "description": "The list of addresses associated with the company."200 },201 "created_on": {202 "type": "string",203 "description": "The date and time when the company was created"204 },205 "modified_on": {206 "type": "string",207 "description": "The date and time when the company was last modified"208 },209 "documents": {210 "type": "array",211 "items": {212 "type": "object",213 "required": [214 "type",215 "value"216 ],217 "properties": {218 "url": {219 "type": "string",220 "description": "The URL of the document."221 },222 "type": {223 "type": "string",224 "description": "The type of the document.",225 "enum": [226 "pan",227 "gst",228 "cin",229 "digital_signature"230 ]231 },232 "value": {233 "type": "string",234 "description": "The value of the document."235 },236 "verified": {237 "type": "boolean",238 "description": "Indicates whether the document is verified."239 },240 "legal_name": {241 "type": "string",242 "description": "The legal name associated with the document."243 }244 }245 },246 "description": "The list of documents associated with the company"247 },248 "verified_by": {249 "type": "object",250 "required": [251 "user_id"252 ],253 "properties": {254 "user_id": {255 "type": "string",256 "description": "User ID of the user who verified the company"257 }258 },259 "description": "The user who verified the brand."260 },261 "verified_on": {262 "type": "string",263 "description": "The date and time when the company was verified"264 },265 "_custom_json": {266 "type": "object",267 "description": "Custom JSON data associated with the company"268 },269 "company_type": {270 "type": "string",271 "description": "The type of the company",272 "enum": [273 "distributor",274 "franchise",275 "mbo",276 "manufacturer-owner"277 ]278 },279 "marketplaces": {280 "type": "array",281 "items": {282 "type": "string"283 },284 "description": "The list of marketplaces associated with the company",285 "example": [286 "flipkart",287 "ajio"288 ]289 },290 "business_info": {291 "type": "string",292 "description": "The business information of the company"293 },294 "business_type": {295 "type": "string",296 "description": "The business type of the company",297 "enum": [298 "Private",299 "LLP-Partnership",300 "HUF-Proprietorship"301 ]302 },303 "referral_info": {304 "type": "object",305 "required": [],306 "properties": {307 "referral_code": {308 "type": "string",309 "description": "Referral code for the user"310 }311 },312 "description": "The referral information associated with the company"313 },314 "reject_reason": {315 "type": "string",316 "description": "The reason why the company was rejected"317 },318 "contact_details": {319 "type": "object",320 "required": [],321 "properties": {322 "phone": {323 "type": "array",324 "items": {325 "type": "object",326 "required": [327 "number",328 "country_code"329 ],330 "properties": {331 "number": {332 "type": "string",333 "description": "The phone number for contact person."334 },335 "country_code": {336 "type": "integer",337 "description": "The country code for the contact person."338 }339 }340 },341 "description": "List of phone numbers."342 },343 "emails": {344 "type": "array",345 "items": {346 "type": "string"347 },348 "description": "List of email addresses."349 }350 },351 "description": "The contact details associated with the company"352 },353 "business_details": {354 "type": "object",355 "required": [356 "website"357 ],358 "properties": {359 "website": {360 "type": "object",361 "required": [],362 "properties": {363 "url": {364 "type": "string",365 "description": "The URL of the website."366 }367 },368 "description": "Details about the website of the business."369 }370 },371 "description": "Additional business details"372 },373 "franchise_enabled": {374 "type": "boolean",375 "description": "Whether the company is a franchise"376 },377 "notification_emails": {378 "type": "array",379 "items": {380 "type": "string"381 },382 "description": "The list of email addresses for notifications"383 },384 "business_country_info": {385 "type": "object",386 "required": [],387 "properties": {388 "country": {389 "type": "string",390 "description": "The name of the country where the business operates"391 },392 "country_code": {393 "type": "string",394 "description": "The ISO 3166-1 alpha-2 country code of the country where the business operates"395 }396 },397 "description": "The country and country code of the company"398 }399 },400 "description": ""401 }402 }403 }404 }405}
Payload Example
1{2 "event": {3 "trace_id": [4 "WheelJack.797f1d88-f1a7-11ee-b6ea-debb6fb35f76"5 ],6 "name": "company",7 "type": "create",8 "version": "2",9 "created_timestamp": 1712141209527,10 "id": "xPc6LLIyH5FO3grgqrPAb4+AL+chQf4/yToehgQR9FE=",11 "category": "company"12 },13 "company_id": 7186,14 "contains": [15 "company"16 ],17 "payload": {18 "company": {19 "uid": 7186,20 "name": "TALKING SOX PRIVATE LIMITED",21 "addresses": [22 {23 "country": "INDIA",24 "state": "DELHI",25 "city": "EAST DELHI",26 "pincode": 110096,27 "address1": "dummy address",28 "latitude": 19.0653252,29 "longitude": 72.8423802,30 "country_code": "IN",31 "address_type": "office"32 },33 {34 "country": "INDIA",35 "state": "DELHI",36 "city": "EAST DELHI",37 "pincode": 110096,38 "address1": "dummy address",39 "latitude": 19.0653252,40 "longitude": 72.8423802,41 "country_code": "IN",42 "address_type": "registered"43 }44 ],45 "company_type": "mbo",46 "stage": "complete",47 "notification_emails": [48 "test@example.com"49 ],50 "documents": [51 {52 "type": "pan",53 "value": "xxxxxx",54 "verified": true55 }56 ],57 "business_country_info": {58 "country": "India",59 "country_code": "IN",60 "currency": {61 "code": "INR",62 "symbol": "₹",63 "name": "Indian Rupee"64 },65 "timezone": "Asia/Kolkata"66 },67 "franchise_enabled": false,68 "warnings": {},69 "marketplaces": [70 "Ajio"71 ],72 "mode": "live"73 }74 }75}
Was this section helpful?
Payload
Properties
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
uid
integer
Required
The user ID associated with the company
mode
Undefined Type
The mode of the company
Enum
name
string
The name of the company
stage
string
Required
The stage of the company
Enum
taxes
array of object
The list of taxes associated with the company.
Array of Properties
rate
number
The GST tax rate value added at company level.
enable
boolean
A boolean value indicating whether the rate is enabled or not.
effective_date
string
The effective date of the rate.
domain
string
The domain associated with the company added during onboard for application creation.
warnings
object
The warnings associated with the company ( can contain any key value pair )
addresses
array of object
The list of addresses associated with the company.
Array of Properties
city
string
Required
The city of the address.
state
string
Required
The state of the address.
country
string
Required
The country of the address.
pincode
string
Required
The pincode of the address.
address1
string
Required
The first line of the address.
address2
string
The second line of the address.
landmark
string
The landmark near the address.
latitude
number
Required
The latitude of the address.
longitude
number
Required
The longitude of the address.
address_type
string
The type of address.
Enum
country_code
string
The country code of the address.
created_on
string
The date and time when the company was created
modified_on
string
The date and time when the company was last modified
documents
array of object
The list of documents associated with the company
Array of Properties
url
string
The URL of the document.
type
string
Required
The type of the document.
value
string
Required
The value of the document.
verified
boolean
Indicates whether the document is verified.
legal_name
string
The legal name associated with the document.
verified_by
object
The user who verified the brand.
Properties
user_id
string
Required
User ID of the user who verified the company
verified_on
string
The date and time when the company was verified
_custom_json
object
Custom JSON data associated with the company
company_type
string
The type of the company
Enum
marketplaces
array of string
The list of marketplaces associated with the company
business_info
string
The business information of the company
business_type
string
The business type of the company
Enum
referral_info
object
The referral information associated with the company
Properties
referral_code
string
Referral code for the user
reject_reason
string
The reason why the company was rejected
contact_details
object
The contact details associated with the company
Properties
phone
array of object
List of phone numbers.
Array of Properties
number
string
Required
country_code
integer
Required
emails
array of string
List of email addresses.
business_details
object
Additional business details
Properties
website
object
Required
Details about the website of the business.
Properties
url
string
The URL of the website.
franchise_enabled
boolean
Whether the company is a franchise
notification_emails
array of string
The list of email addresses for notifications
business_country_info
object
The country and country code of the company
Properties
country
string
The name of the country where the business operates
country_code
string
The ISO 3166-1 alpha-2 country code of the country where the business operates
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 "company"70 ],71 "properties": {72 "company": {73 "type": "object",74 "required": [75 "uid",76 "stage"77 ],78 "properties": {79 "uid": {80 "type": "integer",81 "description": "The user ID associated with the company"82 },83 "mode": {84 "enum": [85 "live",86 "development"87 ],88 "description": "The mode of the company"89 },90 "name": {91 "type": "string",92 "description": "The name of the company"93 },94 "stage": {95 "type": "string",96 "description": "The stage of the company",97 "enum": [98 "verified",99 "complete"100 ]101 },102 "taxes": {103 "type": "array",104 "items": {105 "type": "object",106 "required": [],107 "properties": {108 "rate": {109 "type": "number",110 "description": "The GST tax rate value added at company level."111 },112 "enable": {113 "type": "boolean",114 "description": "A boolean value indicating whether the rate is enabled or not."115 },116 "effective_date": {117 "type": "string",118 "description": "The effective date of the rate."119 }120 }121 },122 "description": "The list of taxes associated with the company."123 },124 "domain": {125 "type": "string",126 "description": "The domain associated with the company added during onboard for application creation."127 },128 "warnings": {129 "type": "object",130 "description": "The warnings associated with the company ( can contain any key value pair )",131 "example": "{company: Company not verified!}"132 },133 "addresses": {134 "type": "array",135 "items": {136 "type": "object",137 "required": [138 "country",139 "state",140 "city",141 "pincode",142 "address1",143 "latitude",144 "longitude"145 ],146 "properties": {147 "city": {148 "type": "string",149 "description": "The city of the address."150 },151 "state": {152 "type": "string",153 "description": "The state of the address."154 },155 "country": {156 "type": "string",157 "description": "The country of the address."158 },159 "pincode": {160 "type": "string",161 "description": "The pincode of the address."162 },163 "address1": {164 "type": "string",165 "description": "The first line of the address."166 },167 "address2": {168 "type": "string",169 "description": "The second line of the address."170 },171 "landmark": {172 "type": "string",173 "description": "The landmark near the address."174 },175 "latitude": {176 "type": "number",177 "description": "The latitude of the address."178 },179 "longitude": {180 "type": "number",181 "description": "The longitude of the address."182 },183 "address_type": {184 "type": "string",185 "description": "The type of address.",186 "enum": [187 "office",188 "registered"189 ]190 },191 "country_code": {192 "type": "string",193 "description": "The country code of the address."194 }195 }196 },197 "description": "The list of addresses associated with the company."198 },199 "created_on": {200 "type": "string",201 "description": "The date and time when the company was created"202 },203 "modified_on": {204 "type": "string",205 "description": "The date and time when the company was last modified"206 },207 "documents": {208 "type": "array",209 "items": {210 "type": "object",211 "required": [212 "type",213 "value"214 ],215 "properties": {216 "url": {217 "type": "string",218 "description": "The URL of the document."219 },220 "type": {221 "type": "string",222 "description": "The type of the document."223 },224 "value": {225 "type": "string",226 "description": "The value of the document."227 },228 "verified": {229 "type": "boolean",230 "description": "Indicates whether the document is verified."231 },232 "legal_name": {233 "type": "string",234 "description": "The legal name associated with the document."235 }236 }237 },238 "description": "The list of documents associated with the company"239 },240 "verified_by": {241 "type": "object",242 "required": [243 "user_id"244 ],245 "properties": {246 "user_id": {247 "type": "string",248 "description": "User ID of the user who verified the company"249 }250 },251 "description": "The user who verified the brand."252 },253 "verified_on": {254 "type": "string",255 "description": "The date and time when the company was verified"256 },257 "_custom_json": {258 "type": "object",259 "description": "Custom JSON data associated with the company"260 },261 "company_type": {262 "type": "string",263 "description": "The type of the company",264 "enum": [265 "distributor",266 "franchise",267 "mbo",268 "manufacturer-owner"269 ]270 },271 "marketplaces": {272 "type": "array",273 "items": {274 "type": "string"275 },276 "description": "The list of marketplaces associated with the company"277 },278 "business_info": {279 "type": "string",280 "description": "The business information of the company"281 },282 "business_type": {283 "type": "string",284 "description": "The business type of the company",285 "enum": [286 "Private",287 "LLP-Partnership",288 "HUF-Proprietorship"289 ]290 },291 "referral_info": {292 "type": "object",293 "required": [],294 "properties": {295 "referral_code": {296 "type": "string",297 "description": "Referral code for the user"298 }299 },300 "description": "The referral information associated with the company"301 },302 "reject_reason": {303 "type": "string",304 "description": "The reason why the company was rejected"305 },306 "contact_details": {307 "type": "object",308 "required": [],309 "properties": {310 "phone": {311 "type": "array",312 "items": {313 "type": "object",314 "required": [315 "number",316 "country_code"317 ],318 "properties": {319 "number": {320 "type": "string"321 },322 "country_code": {323 "type": "integer"324 }325 }326 },327 "description": "List of phone numbers."328 },329 "emails": {330 "type": "array",331 "items": {332 "type": "string"333 },334 "description": "List of email addresses."335 }336 },337 "description": "The contact details associated with the company"338 },339 "business_details": {340 "type": "object",341 "required": [342 "website"343 ],344 "properties": {345 "website": {346 "type": "object",347 "required": [],348 "properties": {349 "url": {350 "type": "string",351 "description": "The URL of the website."352 }353 },354 "description": "Details about the website of the business."355 }356 },357 "description": "Additional business details"358 },359 "franchise_enabled": {360 "type": "boolean",361 "description": "Whether the company is a franchise"362 },363 "notification_emails": {364 "type": "array",365 "items": {366 "type": "string"367 },368 "description": "The list of email addresses for notifications"369 },370 "business_country_info": {371 "type": "object",372 "required": [],373 "properties": {374 "country": {375 "type": "string",376 "description": "The name of the country where the business operates"377 },378 "country_code": {379 "type": "string",380 "description": "The ISO 3166-1 alpha-2 country code of the country where the business operates"381 }382 },383 "description": "The country and country code of the company"384 }385 },386 "description": ""387 }388 }389 }390 }391}
Payload Example
1{2 "event": {3 "trace_id": [4 "WheelJack.7a9e835c-f1a7-11ee-bfd0-8e34926824aa"5 ],6 "name": "company",7 "type": "update",8 "version": "2",9 "created_timestamp": 1712141211410,10 "id": "/xQ2OXxIcI7BEDB6N2Pg0RAxuB5JQXSNn9V/FpsPju4=",11 "category": "company"12 },13 "company_id": 7186,14 "contains": [15 "company"16 ],17 "payload": {18 "company": {19 "verified_on": "2024-04-03T10:46:50.756214",20 "verified_by": {21 "user_id": "0"22 },23 "uid": 7186,24 "name": "TALKING SOX PRIVATE LIMITED",25 "addresses": [26 {27 "country": "INDIA",28 "state": "DELHI",29 "city": "EAST DELHI",30 "pincode": 110096,31 "address1": "dummy address",32 "latitude": 19.0653252,33 "longitude": 72.8423802,34 "country_code": "IN",35 "address_type": "office"36 },37 {38 "country": "INDIA",39 "state": "DELHI",40 "city": "EAST DELHI",41 "pincode": 110096,42 "address1": "dummy address",43 "latitude": 19.0653252,44 "longitude": 72.8423802,45 "country_code": "IN",46 "address_type": "registered"47 }48 ],49 "company_type": "mbo",50 "stage": "verified",51 "notification_emails": [52 "test@example.com"53 ],54 "documents": [55 {56 "type": "pan",57 "value": "XXXXXXXX",58 "verified": true59 }60 ],61 "business_country_info": {62 "country": "India",63 "country_code": "IN",64 "currency": {65 "code": "INR",66 "symbol": "₹",67 "name": "Indian Rupee"68 },69 "timezone": "Asia/Kolkata"70 },71 "franchise_enabled": false,72 "warnings": {},73 "marketplaces": [74 "Ajio"75 ],76 "mode": "live"77 }78 }79}
Was this section helpful?
Events
company/courier-partner/account-status/v1
# this event is triggered when courier-partner is account-statused
Payload
Properties
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
courier-partner
object
Required
Object containing the details for the courier partner including accouunt_id, extension id and such.
Properties
stage
string
Required
A string indicating current stage of account
scheme_id
string
Required
unique id of scheme
account_id
string
Required
unique id of account
extension_id
string
Required
extension api key
is_own_account
boolean
Required
Indicates whether the account belongs to the seller
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 "courier-partner"70 ],71 "properties": {72 "courier-partner": {73 "type": "object",74 "description": "Object containing the details for the courier partner including accouunt_id, extension id and such.",75 "required": [76 "extension_id",77 "scheme_id",78 "account_id",79 "stage",80 "is_own_account"81 ],82 "properties": {83 "stage": {84 "type": "string",85 "description": "A string indicating current stage of account"86 },87 "scheme_id": {88 "type": "string",89 "description": "unique id of scheme"90 },91 "account_id": {92 "type": "string",93 "description": "unique id of account"94 },95 "extension_id": {96 "type": "string",97 "description": "extension api key"98 },99 "is_own_account": {100 "type": "boolean",101 "description": "Indicates whether the account belongs to the seller"102 }103 }104 }105 }106 }107 }108}
Payload Example
1{2 "event": {3 "trace_id": [4 "830da154-da02-40be-b062-580c52978885"5 ],6 "name": "courier-partner",7 "type": "account-status",8 "version": "1",9 "created_timestamp": 1712041565,10 "id": "WPITfT3LYD9cGByJjPbRLzDsJI8Z9JYXcTzzHfdtUfU=",11 "category": "company"12 },13 "company_id": 327,14 "contains": [15 "courier-partner"16 ],17 "payload": {18 "courier-partner": {19 "extension_id": "656f1f18c24dabc79325b1ba",20 "scheme_id": "65952a7b199ac0fd9537b1a7",21 "account_id": "65a69abfbae4d80f1f4294ca",22 "stage": "disabled",23 "is_own_account": false24 }25 }26}
Was this section helpful?
This event will be generated where there is any action done on customfield_definition
Events
company/customfield_definition/create/v1
# This event is triggered when a customfield definition is created
company/customfield_definition/delete/v1
# This event is triggered when a customfield definition is deleted
company/customfield_definition/update/v1
# This event is triggered when a customfield definition is updated
Payload
Properties
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
slug
string
Required
A unique identifier for the custom fields definition. Its required and will not be modified once created.
namespace
string
Required
Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable.
name
string
Required
Name of the custom fields. Its editable.
description
string
This is description about the custom field definition.
id
string
Required
Uniquely generated mongoId of custom field definition and its not editable.
type
string
Required
This is field_type of the custom field definition. Its non-editable
is_deleted
boolean
This indicates that this custom fields definition is deleted or not.
validations
array of Undefined Type
Validations array have supported validations for the custom field definition
multi_value
boolean
Required
This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value.
resource
string
Required
Resource indicate that this custom field is assosiated with this resource.This is non-editable
company_id
string
Required
This is company id where this custom fields created.
updated_by
string
The last user that edited this definition
required
boolean
This indicates whether the field is required or not
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 "properties": {69 "slug": {70 "type": "string",71 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."72 },73 "namespace": {74 "type": "string",75 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."76 },77 "name": {78 "type": "string",79 "description": "Name of the custom fields. Its editable."80 },81 "description": {82 "type": "string",83 "description": "This is description about the custom field definition."84 },85 "id": {86 "type": "string",87 "description": "Uniquely generated mongoId of custom field definition and its not editable."88 },89 "type": {90 "type": "string",91 "description": "This is field_type of the custom field definition. Its non-editable"92 },93 "is_deleted": {94 "type": "boolean",95 "description": "This indicates that this custom fields definition is deleted or not."96 },97 "validations": {98 "type": "array",99 "items": {},100 "description": "Validations array have supported validations for the custom field definition"101 },102 "multi_value": {103 "type": "boolean",104 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."105 },106 "resource": {107 "type": "string",108 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"109 },110 "company_id": {111 "type": "string",112 "description": "This is company id where this custom fields created."113 },114 "updated_by": {115 "type": "string",116 "description": "The last user that edited this definition"117 },118 "required": {119 "type": "boolean",120 "description": "This indicates whether the field is required or not"121 }122 },123 "required": [124 "slug",125 "namespace",126 "name",127 "type",128 "id",129 "multi_value",130 "resource",131 "company_id"132 ]133 }134 }135}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.d1c35cc8-57b7-43a6-9453-0129ab7242c0"5 ],6 "name": "customfield_definition",7 "type": "create",8 "version": "1",9 "created_timestamp": 1712488632605,10 "id": "dysGEBnlnRD6purMmL9tCi5ZN4Y78kjBxb7PUjN3O+o=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 26518,15 "contains": [16 "resource",17 "name",18 "namespace",19 "description",20 "slug",21 "type",22 "multi_value",23 "validations",24 "company_id",25 "required",26 "is_deleted",27 "id"28 ],29 "payload": {30 "resource": "product",31 "name": "pmwza",32 "namespace": "ajddn",33 "slug": "nfcnt",34 "description": "kndnetfqozowndcsnsqsedjln",35 "type": "string_single_line",36 "multi_value": false,37 "validations": [38 {39 "name": "min",40 "type": "integer",41 "value": 542 },43 {44 "name": "max",45 "type": "integer",46 "value": 647 }48 ],49 "company_id": "26518",50 "required": false,51 "is_deleted": false,52 "id": "661280b811eefc90fd21fbb5"53 }54}
Was this section helpful?
Payload
Properties
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
slug
string
Required
A unique identifier for the custom fields definition. Its required and will not be modified once created.
namespace
string
Required
Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable.
name
string
Required
Name of the custom fields. Its editable.
description
string
This is description about the custom field definition.
id
string
Required
Uniquely generated mongoId of custom field definition and its not editable.
type
string
Required
This is field_type of the custom field definition. Its non-editable
is_deleted
boolean
Required
This indicates that this custom fields definition is deleted or not.
validations
array of Undefined Type
Validations array have supported validations for the custom field definition
multi_value
boolean
Required
This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value.
resource
string
Required
Resource indicate that this custom field is assosiated with this resource.This is non-editable
company_id
string
Required
This is company id where this custom fields created.
required
boolean
This indicates whether the field is required or not
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 "properties": {69 "slug": {70 "type": "string",71 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."72 },73 "namespace": {74 "type": "string",75 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."76 },77 "name": {78 "type": "string",79 "description": "Name of the custom fields. Its editable."80 },81 "description": {82 "type": "string",83 "description": "This is description about the custom field definition."84 },85 "id": {86 "type": "string",87 "description": "Uniquely generated mongoId of custom field definition and its not editable."88 },89 "type": {90 "type": "string",91 "description": "This is field_type of the custom field definition. Its non-editable"92 },93 "is_deleted": {94 "type": "boolean",95 "description": "This indicates that this custom fields definition is deleted or not."96 },97 "validations": {98 "type": "array",99 "items": {},100 "description": "Validations array have supported validations for the custom field definition"101 },102 "multi_value": {103 "type": "boolean",104 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."105 },106 "resource": {107 "type": "string",108 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"109 },110 "company_id": {111 "type": "string",112 "description": "This is company id where this custom fields created."113 },114 "required": {115 "type": "boolean",116 "description": "This indicates whether the field is required or not"117 }118 },119 "required": [120 "slug",121 "namespace",122 "name",123 "type",124 "id",125 "is_deleted",126 "multi_value",127 "resource",128 "company_id"129 ]130 }131 }132}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.61dece8c-e8c9-43d0-af29-5d1d3daeef2c"5 ],6 "name": "customfield_definition",7 "type": "delete",8 "version": "1",9 "created_timestamp": 1712488634113,10 "id": "+puowDa2Lp6dTntMMjNw4PUBKpJ4FsmynQEYporGxbY=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 26518,15 "contains": [16 "id",17 "resource",18 "name",19 "namespace",20 "slug",21 "description",22 "type",23 "multi_value",24 "validations",25 "company_id",26 "required",27 "is_deleted"28 ],29 "payload": {30 "id": "661280b811eefc90fd21fbb5",31 "resource": "product",32 "name": "sicoenvqeu",33 "namespace": "ajddn",34 "slug": "nfcnt",35 "description": "ljicgwvaypelmjhmjomhuwvzf",36 "type": "string_single_line",37 "multi_value": false,38 "validations": [39 {40 "name": "min",41 "type": "integer",42 "value": 543 },44 {45 "name": "max",46 "type": "integer",47 "value": 648 }49 ],50 "company_id": "26518",51 "required": false,52 "is_deleted": true53 }54}
Was this section helpful?
Payload
Properties
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
slug
string
Required
A unique identifier for the custom fields definition. Its required and will not be modified once created.
namespace
string
Required
Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable.
name
string
Required
Name of the custom fields. Its editable.
description
string
This is description about the custom field definition.
id
string
Required
Uniquely generated mongoId of custom field definition and its not editable.
type
string
Required
This is field_type of the custom field definition. Its non-editable
is_deleted
boolean
This indicates that this custom fields definition is deleted or not.
validations
array of Undefined Type
Validations array have supported validations for the custom field definition
multi_value
boolean
Required
This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value.
resource
string
Required
Resource indicate that this custom field is assosiated with this resource.This is non-editable
company_id
string
Required
This is company id where this custom fields created.
required
boolean
This indicates whether the field is required or not
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 "properties": {69 "slug": {70 "type": "string",71 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."72 },73 "namespace": {74 "type": "string",75 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."76 },77 "name": {78 "type": "string",79 "description": "Name of the custom fields. Its editable."80 },81 "description": {82 "type": "string",83 "description": "This is description about the custom field definition."84 },85 "id": {86 "type": "string",87 "description": "Uniquely generated mongoId of custom field definition and its not editable."88 },89 "type": {90 "type": "string",91 "description": "This is field_type of the custom field definition. Its non-editable"92 },93 "is_deleted": {94 "type": "boolean",95 "description": "This indicates that this custom fields definition is deleted or not."96 },97 "validations": {98 "type": "array",99 "items": {},100 "description": "Validations array have supported validations for the custom field definition"101 },102 "multi_value": {103 "type": "boolean",104 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."105 },106 "resource": {107 "type": "string",108 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"109 },110 "company_id": {111 "type": "string",112 "description": "This is company id where this custom fields created."113 },114 "required": {115 "type": "boolean",116 "description": "This indicates whether the field is required or not"117 }118 },119 "required": [120 "slug",121 "namespace",122 "name",123 "type",124 "id",125 "multi_value",126 "resource",127 "company_id"128 ]129 }130 }131}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.72bfcadf-a2f9-4aa8-9ebb-0e7dc0036520"5 ],6 "name": "customfield_definition",7 "type": "update",8 "version": "1",9 "created_timestamp": 1712488632881,10 "id": "bL8DS0iVxJAWexpE+BNCaSkhGFkmZzh/FsBHMbWl2Kw=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 26518,15 "contains": [16 "id",17 "resource",18 "name",19 "namespace",20 "slug",21 "description",22 "type",23 "multi_value",24 "validations",25 "company_id",26 "required",27 "is_deleted"28 ],29 "payload": {30 "id": "661280b811eefc90fd21fbb5",31 "resource": "product",32 "name": "sicoenvqeu",33 "namespace": "ajddn",34 "slug": "nfcnt",35 "description": "ljicgwvaypelmjhmjomhuwvzf",36 "type": "string_single_line",37 "multi_value": false,38 "validations": [39 {40 "name": "min",41 "type": "integer",42 "value": 543 },44 {45 "name": "max",46 "type": "integer",47 "value": 648 }49 ],50 "company_id": "26518",51 "required": false,52 "is_deleted": false53 }54}
Was this section helpful?
Events
company/customfields/inventory-delete/v1
# This event is triggered when a custom field from inventory is deleted
company/customfields/inventory-update/v1
# This event is triggered when a custom field from inventory is updated
company/customfields/product-delete/v1
# This event is triggered when a custom field from product is deleted
company/customfields/product-update/v1
# This event is triggered when a custom field from product is updated
company/customfields/product-size-delete/v1
# This event is triggered when a custom field from product size is deleted
company/customfields/product-size-update/v1
# This event is triggered when a custom field from product size is updated
company/customfields/selling-location-update/v1
# This event is triggered when a custom field from selling location is updated
Payload
Properties
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
array of Undefined Type
Required
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": "array",68 "items": [69 {70 "type": "object",71 "properties": {72 "id": {73 "type": "string",74 "description": "Uniquely generated mongoId of custom field and its not editable."75 },76 "namespace": {77 "type": "string",78 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."79 },80 "slug": {81 "type": "string",82 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."83 },84 "resource": {85 "type": "string",86 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"87 },88 "resource_slug": {89 "type": "string",90 "description": "This indicate the resource id where this custom field value is assosiated."91 },92 "type": {93 "type": "string",94 "description": "This is field_type of the custom field definition. Its non-editable",95 "enum": [96 "string_single_line",97 "string_multi_line",98 "dropdown",99 "integer",100 "float_type",101 "boolean_type",102 "date",103 "datetime",104 "json",105 "file",106 "url",107 "metaobject",108 "product"109 ]110 },111 "multi_value": {112 "type": "boolean",113 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."114 },115 "company_id": {116 "type": "string",117 "description": "This is company id where this custom fields created."118 },119 "value": {120 "type": "array",121 "items": {122 "type": [123 "string",124 "number",125 "object",126 "boolean"127 ]128 },129 "description": "This is array of values of custom fields. if multi value false then it has only single value in array. and in case of json this is json object."130 }131 },132 "required": [133 "id",134 "namespace",135 "slug",136 "resource",137 "resource_slug",138 "type",139 "multi_value",140 "company_id",141 "value"142 ]143 }144 ]145 }146 }147}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.50a12eec-1903-471e-9475-64ef9f3c3c4d"5 ],6 "name": "customfields",7 "type": "inventory-delete",8 "version": "1",9 "created_timestamp": 1711970264456,10 "id": "8K4FWSNo3x2t5IA1atkT3BKeII/MB+gXKEUiKxKTHaI=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 1,15 "contains": [],16 "payload": []17}
Was this section helpful?
Payload
Properties
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
array of Undefined Type
Required
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": "array",68 "items": [69 {70 "type": "object",71 "properties": {72 "id": {73 "type": "string",74 "description": "Uniquely generated mongoId of custom field and its not editable."75 },76 "namespace": {77 "type": "string",78 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."79 },80 "slug": {81 "type": "string",82 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."83 },84 "resource": {85 "type": "string",86 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"87 },88 "resource_slug": {89 "type": "string",90 "description": "This indicate the resource id where this custom field value is assosiated."91 },92 "type": {93 "type": "string",94 "description": "This is field_type of the custom field definition. Its non-editable",95 "enum": [96 "string_single_line",97 "string_multi_line",98 "dropdown",99 "integer",100 "float_type",101 "boolean_type",102 "date",103 "datetime",104 "json",105 "file",106 "url",107 "metaobject",108 "product"109 ]110 },111 "multi_value": {112 "type": "boolean",113 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."114 },115 "company_id": {116 "type": "string",117 "description": "This is company id where this custom fields created."118 },119 "value": {120 "type": "array",121 "items": {122 "type": [123 "string",124 "number",125 "object",126 "boolean"127 ]128 },129 "description": "This is array of values of custom fields. if multi value false then it has only single value in array. and in case of json this is json object."130 }131 },132 "required": [133 "id",134 "namespace",135 "slug",136 "resource",137 "resource_slug",138 "type",139 "multi_value",140 "company_id",141 "value"142 ]143 }144 ]145 }146 }147}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.153654a1-d988-4d39-aa87-8515d5e42aa5"5 ],6 "name": "customfields",7 "type": "inventory-update",8 "version": "1",9 "created_timestamp": 1712060467980,10 "id": "dyci3lT07XseHaDQPLUhjk1QSdl9b+koDs3MZsejFKI=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 123,15 "contains": [16 "0"17 ],18 "payload": [19 {20 "id": "660bf833d88ca61624eed2ef",21 "namespace": "custom",22 "slug": "testinventory",23 "resource": "inventory",24 "resource_slug": "2002_SDCLOINSKDFV",25 "type": "dropdown",26 "multi_value": false,27 "company_id": "123",28 "invalid_value_errors": [],29 "has_invalid_values": false,30 "value": [31 "15"32 ]33 }34 ]35}
Was this section helpful?
Payload
Properties
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
array of Undefined Type
Required
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": "array",68 "items": [69 {70 "type": "object",71 "properties": {72 "id": {73 "type": "string",74 "description": "Uniquely generated mongoId of custom field and its not editable."75 },76 "namespace": {77 "type": "string",78 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."79 },80 "slug": {81 "type": "string",82 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."83 },84 "resource": {85 "type": "string",86 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"87 },88 "resource_slug": {89 "type": "string",90 "description": "This indicate the resource id where this custom field value is assosiated."91 },92 "type": {93 "type": "string",94 "description": "This is field_type of the custom field definition. Its non-editable",95 "enum": [96 "string_single_line",97 "string_multi_line",98 "dropdown",99 "integer",100 "float_type",101 "boolean_type",102 "date",103 "datetime",104 "json",105 "file",106 "url",107 "metaobject",108 "product"109 ]110 },111 "multi_value": {112 "type": "boolean",113 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."114 },115 "company_id": {116 "type": "string",117 "description": "This is company id where this custom fields created."118 },119 "value": {120 "type": "array",121 "items": {122 "type": [123 "string",124 "number",125 "object",126 "boolean"127 ]128 },129 "description": "This is array of values of custom fields. if multi value false then it has only single value in array. and in case of json this is json object."130 }131 },132 "required": [133 "id",134 "namespace",135 "slug",136 "resource",137 "resource_slug",138 "type",139 "multi_value",140 "company_id",141 "value"142 ]143 }144 ]145 }146 }147}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.455949e3-aeae-4961-8660-857927b6c355"5 ],6 "name": "customfields",7 "type": "product-delete",8 "version": "1",9 "created_timestamp": 1712572109757,10 "id": "mLoBXO+HoSLffGUFuO6DEFVNiRMA2/UTmY+GM3TPt9c=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 26778,15 "contains": [],16 "payload": []17}
Was this section helpful?
Payload
Properties
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
array of Undefined Type
Required
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": "array",68 "items": [69 {70 "type": "object",71 "properties": {72 "id": {73 "type": "string",74 "description": "Uniquely generated mongoId of custom field and its not editable."75 },76 "namespace": {77 "type": "string",78 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."79 },80 "slug": {81 "type": "string",82 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."83 },84 "resource": {85 "type": "string",86 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"87 },88 "resource_slug": {89 "type": "string",90 "description": "This indicate the resource id where this custom field value is assosiated."91 },92 "type": {93 "type": "string",94 "description": "This is field_type of the custom field definition. Its non-editable",95 "enum": [96 "string_single_line",97 "string_multi_line",98 "dropdown",99 "integer",100 "float_type",101 "boolean_type",102 "date",103 "datetime",104 "json",105 "file",106 "url",107 "metaobject",108 "product"109 ]110 },111 "multi_value": {112 "type": "boolean",113 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."114 },115 "company_id": {116 "type": "string",117 "description": "This is company id where this custom fields created."118 },119 "value": {120 "type": "array",121 "items": {122 "type": [123 "string",124 "number",125 "object",126 "boolean"127 ]128 },129 "description": "This is array of values of custom fields. if multi value false then it has only single value in array. and in case of json this is json object."130 }131 },132 "required": [133 "id",134 "namespace",135 "slug",136 "resource",137 "resource_slug",138 "type",139 "multi_value",140 "company_id",141 "value"142 ]143 }144 ]145 }146 }147}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.b8611b3f-9def-442f-896d-489efc61d662"5 ],6 "name": "customfields",7 "type": "product-update",8 "version": "1",9 "created_timestamp": 1712577828434,10 "id": "axvEXh33Uj4DohGqJ1QZ8ktwoow2Rcdrigj8oht8LOI=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 1,15 "contains": [16 "0",17 "1",18 "2",19 "3",20 "4"21 ],22 "payload": [23 {24 "id": "6613dd2438506758ac6c53ca",25 "namespace": "custom",26 "slug": "object-value",27 "resource": "product",28 "resource_slug": "7643471",29 "type": "metaobject",30 "multi_value": false,31 "company_id": "1",32 "invalid_value_errors": [],33 "has_invalid_values": false,34 "value": [35 "66138964e7202ce6d4544d2c"36 ]37 },38 {39 "id": "6613dd2438506758ac6c53cb",40 "namespace": "custom",41 "slug": "kafka-def-product",42 "resource": "product",43 "resource_slug": "7643471",44 "type": "float_type",45 "multi_value": false,46 "company_id": "1",47 "invalid_value_errors": [],48 "has_invalid_values": false,49 "value": [50 1.235651 ]52 },53 {54 "id": "6613dd2438506758ac6c53cc",55 "namespace": "custom",56 "slug": "kafka-pro-def",57 "resource": "product",58 "resource_slug": "7643471",59 "type": "string_single_line",60 "multi_value": false,61 "company_id": "1",62 "invalid_value_errors": [],63 "has_invalid_values": false,64 "value": [65 "pro input value"66 ]67 },68 {69 "id": "6613dd2438506758ac6c53cd",70 "namespace": "custom",71 "slug": "slt",72 "resource": "product",73 "resource_slug": "7643471",74 "type": "string_single_line",75 "multi_value": false,76 "company_id": "1",77 "invalid_value_errors": [],78 "has_invalid_values": false,79 "value": [80 "SLT pro"81 ]82 },83 {84 "id": "6613dd2438506758ac6c53ce",85 "namespace": "custom",86 "slug": "url",87 "resource": "product",88 "resource_slug": "7643471",89 "type": "url",90 "multi_value": false,91 "company_id": "1",92 "invalid_value_errors": [],93 "has_invalid_values": false,94 "value": [95 "https://dev.azure.com/GoFynd/FyndPlatformCore/_testPlans/execute?planId=603&suiteId=50419"96 ]97 }98 ]99}
Was this section helpful?
Payload
Properties
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
array of Undefined Type
Required
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": "array",68 "items": [69 {70 "type": "object",71 "properties": {72 "id": {73 "type": "string",74 "description": "Uniquely generated mongoId of custom field and its not editable."75 },76 "namespace": {77 "type": "string",78 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."79 },80 "slug": {81 "type": "string",82 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."83 },84 "resource": {85 "type": "string",86 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"87 },88 "resource_slug": {89 "type": "string",90 "description": "This indicate the resource id where this custom field value is assosiated."91 },92 "type": {93 "type": "string",94 "description": "This is field_type of the custom field definition. Its non-editable",95 "enum": [96 "string_single_line",97 "string_multi_line",98 "dropdown",99 "integer",100 "float_type",101 "boolean_type",102 "date",103 "datetime",104 "json",105 "file",106 "url",107 "metaobject",108 "product"109 ]110 },111 "multi_value": {112 "type": "boolean",113 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."114 },115 "company_id": {116 "type": "string",117 "description": "This is company id where this custom fields created."118 },119 "value": {120 "type": "array",121 "items": {122 "type": [123 "string",124 "number",125 "object",126 "boolean"127 ]128 },129 "description": "This is array of values of custom fields. if multi value false then it has only single value in array. and in case of json this is json object."130 }131 },132 "required": [133 "id",134 "namespace",135 "slug",136 "resource",137 "resource_slug",138 "type",139 "multi_value",140 "company_id",141 "value"142 ]143 }144 ]145 }146 }147}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.455949e3-aeae-4961-8660-857927b6c355"5 ],6 "name": "customfields",7 "type": "product-size-delete",8 "version": "1",9 "created_timestamp": 1712572109757,10 "id": "mLoBXO+HoSLffGUFuO6DEFVNiRMA2/UTmY+GM3TPt9c=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 26778,15 "contains": [],16 "payload": []17}
Was this section helpful?
Payload
Properties
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
array of Undefined Type
Required
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": "array",68 "items": [69 {70 "type": "object",71 "properties": {72 "id": {73 "type": "string",74 "description": "Uniquely generated mongoId of custom field and its not editable."75 },76 "namespace": {77 "type": "string",78 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."79 },80 "slug": {81 "type": "string",82 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."83 },84 "resource": {85 "type": "string",86 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"87 },88 "resource_slug": {89 "type": "string",90 "description": "This indicate the resource id where this custom field value is assosiated."91 },92 "type": {93 "type": "string",94 "description": "This is field_type of the custom field definition. Its non-editable",95 "enum": [96 "string_single_line",97 "string_multi_line",98 "dropdown",99 "integer",100 "float_type",101 "boolean_type",102 "date",103 "datetime",104 "json",105 "file",106 "url",107 "metaobject",108 "product"109 ]110 },111 "multi_value": {112 "type": "boolean",113 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."114 },115 "company_id": {116 "type": "string",117 "description": "This is company id where this custom fields created."118 },119 "value": {120 "type": "array",121 "items": {122 "type": [123 "string",124 "number",125 "object",126 "boolean"127 ]128 },129 "description": "This is array of values of custom fields. if multi value false then it has only single value in array. and in case of json this is json object."130 }131 },132 "required": [133 "id",134 "namespace",135 "slug",136 "resource",137 "resource_slug",138 "type",139 "multi_value",140 "company_id",141 "value"142 ]143 }144 ]145 }146 }147}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.b8611b3f-9def-442f-896d-489efc61d662"5 ],6 "name": "customfields",7 "type": "product-size-update",8 "version": "1",9 "created_timestamp": 1712577828434,10 "id": "axvEXh33Uj4DohGqJ1QZ8ktwoow2Rcdrigj8oht8LOI=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 1,15 "contains": [16 "0",17 "1",18 "2",19 "3",20 "4"21 ],22 "payload": [23 {24 "id": "6613dd2438506758ac6c53ca",25 "namespace": "custom",26 "slug": "object-value",27 "resource": "product-size",28 "resource_slug": "7643471",29 "type": "metaobject",30 "multi_value": false,31 "company_id": "1",32 "invalid_value_errors": [],33 "has_invalid_values": false,34 "value": [35 "66138964e7202ce6d4544d2c"36 ]37 },38 {39 "id": "6613dd2438506758ac6c53cb",40 "namespace": "custom",41 "slug": "kafka-def-product",42 "resource": "product-size",43 "resource_slug": "7643471",44 "type": "float_type",45 "multi_value": false,46 "company_id": "1",47 "invalid_value_errors": [],48 "has_invalid_values": false,49 "value": [50 1.235651 ]52 },53 {54 "id": "6613dd2438506758ac6c53cc",55 "namespace": "custom",56 "slug": "kafka-pro-def",57 "resource": "product-size",58 "resource_slug": "7643471",59 "type": "string_single_line",60 "multi_value": false,61 "company_id": "1",62 "invalid_value_errors": [],63 "has_invalid_values": false,64 "value": [65 "pro input value"66 ]67 },68 {69 "id": "6613dd2438506758ac6c53cd",70 "namespace": "custom",71 "slug": "slt",72 "resource": "product-size",73 "resource_slug": "7643471",74 "type": "string_single_line",75 "multi_value": false,76 "company_id": "1",77 "invalid_value_errors": [],78 "has_invalid_values": false,79 "value": [80 "SLT pro"81 ]82 },83 {84 "id": "6613dd2438506758ac6c53ce",85 "namespace": "custom",86 "slug": "url",87 "resource": "product-size",88 "resource_slug": "7643471",89 "type": "url",90 "multi_value": false,91 "company_id": "1",92 "invalid_value_errors": [],93 "has_invalid_values": false,94 "value": [95 "https://dev.azure.com/GoFynd/FyndPlatformCore/_testPlans/execute?planId=603&suiteId=50419"96 ]97 }98 ]99}
Was this section helpful?
Payload
Properties
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
array of Undefined Type
Required
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": "array",68 "items": [69 {70 "type": "object",71 "properties": {72 "id": {73 "type": "string",74 "description": "Uniquely generated mongoId of custom field and its not editable."75 },76 "namespace": {77 "type": "string",78 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."79 },80 "slug": {81 "type": "string",82 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."83 },84 "resource": {85 "type": "string",86 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"87 },88 "resource_slug": {89 "type": "string",90 "description": "This indicate the resource id where this custom field value is assosiated."91 },92 "type": {93 "type": "string",94 "description": "This is field_type of the custom field definition. Its non-editable",95 "enum": [96 "string_single_line",97 "string_multi_line",98 "dropdown",99 "integer",100 "float_type",101 "boolean_type",102 "date",103 "datetime",104 "json",105 "file",106 "url",107 "metaobject",108 "product"109 ]110 },111 "multi_value": {112 "type": "boolean",113 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."114 },115 "company_id": {116 "type": "string",117 "description": "This is company id where this custom fields created."118 },119 "value": {120 "type": "array",121 "items": {122 "type": [123 "string",124 "number",125 "object",126 "boolean"127 ]128 },129 "description": "This is array of values of custom fields. if multi value false then it has only single value in array. and in case of json this is json object."130 }131 },132 "required": [133 "id",134 "namespace",135 "slug",136 "resource",137 "resource_slug",138 "type",139 "multi_value",140 "company_id",141 "value"142 ]143 }144 ]145 }146 }147}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.24f67c49-d700-494c-9c42-64750bd8d22b"5 ],6 "name": "customfields",7 "type": "selling-location-update",8 "version": "1",9 "created_timestamp": 1715059049046,10 "id": "8JXCa9H19KRSaPChT9opbnGLtG2ZGhND6oIA7wcmq78=",11 "category": "company",12 "referer": "sit.fyndx1.de"13 },14 "company_id": 1,15 "contains": [16 "0"17 ],18 "payload": [19 {20 "id": "6639b969e1e66b3239ffab39",21 "namespace": "custom",22 "key": "mlt-01",23 "resource": "store",24 "resource_slug": "1",25 "type": "string_multi_line",26 "multi_value": false,27 "company_id": "1",28 "invalid_value_errors": [],29 "has_invalid_values": false,30 "value": [31 "7 May"32 ]33 }34 ]35}
Was this section helpful?
This event will be generated where there is any action done on customobject_definition
Events
company/customobject_definition/create/v1
# This event is triggered when customobject definition is created
company/customobject_definition/delete/v1
# This event is triggered when customobject definition is deleted"
company/customobject_definition/update/v1
# This event is triggered when customobject definition is updated
Payload
Properties
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
Uniquely generated mongoId of custom object definition and its not editable.
name
string
Required
Name is use for the custom object definition name
slug
string
Required
A unique identifier for the custom object definition. Its required and will not be modified once created.
field_definitions
array of Undefined Type
Required
This indicates all the custom field definitions part of the custom 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 "properties": {69 "id": {70 "type": "string",71 "description": "Uniquely generated mongoId of custom object definition and its not editable."72 },73 "name": {74 "type": "string",75 "description": "Name is use for the custom object definition name"76 },77 "slug": {78 "type": "string",79 "description": "A unique identifier for the custom object definition. Its required and will not be modified once created."80 },81 "field_definitions": {82 "type": "array",83 "description": "This indicates all the custom field definitions part of the custom object",84 "items": [85 {86 "type": "object",87 "properties": {88 "resource": {89 "type": "string",90 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"91 },92 "name": {93 "type": "string",94 "description": "Name of the custom fields. Its editable."95 },96 "namespace": {97 "type": "string",98 "description": "namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."99 },100 "slug": {101 "type": "string",102 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."103 },104 "type": {105 "type": "string",106 "description": "This is field_type of the custom field definition. Its non-editable"107 },108 "multi_value": {109 "type": "boolean",110 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."111 },112 "company_id": {113 "type": "string",114 "description": "This is company id where this custom fields created."115 },116 "required": {117 "type": "boolean",118 "description": "This indicates whether the field is required or not"119 },120 "is_deleted": {121 "type": "boolean",122 "description": "This indicates that this custom fields definition is deleted or not."123 }124 },125 "required": [126 "resource",127 "name",128 "slug",129 "type",130 "company_id"131 ]132 }133 ]134 }135 },136 "required": [137 "id",138 "name",139 "slug",140 "field_definitions"141 ]142 }143 }144}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.f00de8ea-426a-4c20-b786-c0fcce8689fb"5 ],6 "name": "customobject_definition",7 "type": "create",8 "version": "1",9 "created_timestamp": 1710313407546,10 "id": "2+4TJIsF8RLLmR5718bbeaK3QT9c0mCPuNNt/WB3gF8=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 2,15 "contains": [16 "id",17 "name",18 "type",19 "display_name_key",20 "description",21 "company_id",22 "field_definitions"23 ],24 "payload": {25 "id": "65f14fbf95ae139810b51b35",26 "name": "testubg oibkject",27 "slug": "testubg-oibkject",28 "display_name_key": "name",29 "description": "",30 "company_id": "2",31 "field_definitions": [32 {33 "resource": "metaobject",34 "name": "name",35 "namespace": "testubg-oibkject",36 "slug": "name",37 "description": "",38 "type": "string_single_line",39 "multi_value": false,40 "validations": [],41 "company_id": "2",42 "required": false,43 "is_deleted": false,44 "id": "65f14fbf95ae139810b51b38"45 },46 {47 "resource": "metaobject",48 "name": "age",49 "namespace": "testubg-oibkject",50 "slug": "age",51 "description": "",52 "type": "string_single_line",53 "multi_value": false,54 "validations": [],55 "company_id": "2",56 "required": false,57 "is_deleted": false,58 "id": "65f14fbf95ae139810b51b39"59 },60 {61 "resource": "metaobject",62 "name": "mobile",63 "namespace": "testubg-oibkject",64 "slug": "mobile",65 "description": "",66 "type": "string_single_line",67 "multi_value": false,68 "validations": [],69 "company_id": "2",70 "required": false,71 "is_deleted": false,72 "id": "65f14fbf95ae139810b51b3a"73 },74 {75 "resource": "metaobject",76 "name": "p name",77 "namespace": "testubg-oibkject",78 "slug": "p-name",79 "description": "",80 "type": "string_single_line",81 "multi_value": false,82 "validations": [],83 "company_id": "2",84 "required": false,85 "is_deleted": false,86 "id": "65f14fbf95ae139810b51b3b"87 }88 ]89 }90}
Was this section helpful?
Payload
Properties
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
Uniquely generated mongoId of custom object definition and its not editable.
name
string
Required
Name is use for the custom object definition name
slug
string
Required
A unique identifier for the custom object definition. Its required and will not be modified once created.
field_definitions
array of Undefined Type
Required
This indicates all the custom field definitions part of the custom 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 "properties": {69 "id": {70 "type": "string",71 "description": "Uniquely generated mongoId of custom object definition and its not editable."72 },73 "name": {74 "type": "string",75 "description": "Name is use for the custom object definition name"76 },77 "slug": {78 "type": "string",79 "description": "A unique identifier for the custom object definition. Its required and will not be modified once created."80 },81 "field_definitions": {82 "type": "array",83 "description": "This indicates all the custom field definitions part of the custom object",84 "items": [85 {86 "type": "object",87 "properties": {88 "resource": {89 "type": "string",90 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"91 },92 "name": {93 "type": "string",94 "description": "Name of the custom fields. Its editable."95 },96 "namespace": {97 "type": "string",98 "description": "namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."99 },100 "slug": {101 "type": "string",102 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."103 },104 "type": {105 "type": "string",106 "description": "This is field_type of the custom field definition. Its non-editable"107 },108 "multi_value": {109 "type": "boolean",110 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."111 },112 "company_id": {113 "type": "string",114 "description": "This is company id where this custom fields created."115 },116 "required": {117 "type": "boolean",118 "description": "This indicates whether the field is required or not"119 },120 "is_deleted": {121 "type": "boolean",122 "description": "This indicates that this custom fields definition is deleted or not."123 }124 },125 "required": [126 "resource",127 "name",128 "slug",129 "type",130 "company_id"131 ]132 }133 ]134 }135 },136 "required": [137 "id",138 "name",139 "slug",140 "field_definitions"141 ]142 }143 }144}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.24a0e0a8-9951-443c-b26f-1b2ffd6f3a0e"5 ],6 "name": "customobject_definition",7 "type": "delete",8 "version": "1",9 "created_timestamp": 1709218134685,10 "id": "lI2JDxvIxNFr/ahkmiASqjD6O6b4AAso1T8MH7QTEmk=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 1,15 "contains": [16 "id",17 "name",18 "slug",19 "description",20 "display_name_key",21 "company_id",22 "field_definitions",23 "is_deleted"24 ],25 "payload": {26 "id": "655c706ad5ff69fd3b95a1d9",27 "name": "coCustomObject",28 "slug": "cocustomobject",29 "description": "",30 "display_name_key": "coslt",31 "company_id": "1",32 "field_definitions": [33 {34 "id": "655c706ad5ff69fd3b95a1dd",35 "resource": "metaobject",36 "name": "coMLT",37 "namespace": "cocustomobject",38 "slug": "comlt",39 "description": "custom object multi line text",40 "type": "string_multi_line",41 "multi_value": false,42 "validations": [],43 "company_id": "1",44 "required": false,45 "is_deleted": false46 },47 {48 "id": "655c706ad5ff69fd3b95a1dc",49 "resource": "metaobject",50 "name": "coSLT",51 "namespace": "cocustomobject",52 "slugs": "coslt",53 "description": "this is a custom object SLT",54 "type": "string_single_line",55 "multi_value": false,56 "validations": [],57 "company_id": "1",58 "required": false,59 "is_deleted": false60 }61 ],62 "is_deleted": true63 }64}
Was this section helpful?
Payload
Properties
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
Uniquely generated mongoId of custom object definition and its not editable.
name
string
Required
Name is use for the custom object definition name
slug
string
Required
A unique identifier for the custom object definition. Its required and will not be modified once created.
field_definitions
array of Undefined Type
Required
This indicates all the custom field definitions part of the custom 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 "properties": {69 "id": {70 "type": "string",71 "description": "Uniquely generated mongoId of custom object definition and its not editable."72 },73 "name": {74 "type": "string",75 "description": "Name is use for the custom object definition name"76 },77 "slug": {78 "type": "string",79 "description": "A unique identifier for the custom object definition. Its required and will not be modified once created."80 },81 "field_definitions": {82 "type": "array",83 "description": "This indicates all the custom field definitions part of the custom object",84 "items": [85 {86 "type": "object",87 "properties": {88 "resource": {89 "type": "string",90 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"91 },92 "name": {93 "type": "string",94 "description": "Name of the custom fields. Its editable."95 },96 "namespace": {97 "type": "string",98 "description": "namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."99 },100 "slug": {101 "type": "string",102 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."103 },104 "type": {105 "type": "string",106 "description": "This is field_type of the custom field definition. Its non-editable"107 },108 "multi_value": {109 "type": "boolean",110 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."111 },112 "company_id": {113 "type": "string",114 "description": "This is company id where this custom fields created."115 },116 "required": {117 "type": "boolean",118 "description": "This indicates whether the field is required or not"119 },120 "is_deleted": {121 "type": "boolean",122 "description": "This indicates that this custom fields definition is deleted or not."123 }124 },125 "required": [126 "resource",127 "name",128 "slug",129 "type",130 "company_id"131 ]132 }133 ]134 }135 },136 "required": [137 "id",138 "name",139 "slug",140 "field_definitions"141 ]142 }143 }144}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.bb245540-b8be-4cba-a7c7-87c5fad817d0"5 ],6 "name": "customobject_definition",7 "type": "update",8 "version": "1",9 "created_timestamp": 1707717291057,10 "id": "OMYai+tli6FE4357LlgYCy0QJDNeHrumddyzN9J8ims=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 1,15 "contains": [16 "id",17 "name",18 "slug",19 "display_name_key",20 "description",21 "company_id",22 "field_definitions"23 ],24 "payload": {25 "id": "65b22d42ddb6c44d923e445f",26 "name": "25 Jan Custom object 4",27 "slug": "25-jan-custom-object-4",28 "display_name_key": "",29 "description": "25 Jan Custom object 4",30 "company_id": "1",31 "field_definitions": [32 {33 "resource": "metaobject",34 "name": "25 Jan custom object created custom field 4",35 "namespace": "25-jan-custom-object-4",36 "slug": "25-jan-custom-object-created-custom-field-4",37 "type": "integer",38 "description": "",39 "multi_value": false,40 "validations": [],41 "company_id": "1",42 "required": false43 }44 ]45 }46}
Was this section helpful?
Events
company/customobjects/create/v1
# This event is triggered when a custom object is created
company/customobjects/update/v1
# This event is triggered when a custom object is updated
company/customobjects/delete/v1
# This event is triggered when a custom object is deleted
Payload
Properties
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
Uniquely generated mongoId of custom object and its not editable.
company_id
string
Required
This is company id where this custom object created.
status
string
This is use for active/inactive status of custom object entry
slug
string
Required
This is a unique identifier for a custom object under a custom object definition
definition_slug
string
Required
A unique identifier for the custom object definition. Its required and will not be modified once created.
fields
array of Undefined Type
Required
This is list of custom fields values.
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 "properties": {69 "id": {70 "type": "string",71 "description": "Uniquely generated mongoId of custom object and its not editable."72 },73 "company_id": {74 "type": "string",75 "description": "This is company id where this custom object created."76 },77 "status": {78 "type": "string",79 "description": "This is use for active/inactive status of custom object entry"80 },81 "slug": {82 "type": "string",83 "description": "This is a unique identifier for a custom object under a custom object definition"84 },85 "definition_slug": {86 "type": "string",87 "description": "A unique identifier for the custom object definition. Its required and will not be modified once created."88 },89 "fields": {90 "type": "array",91 "description": "This is list of custom fields values.",92 "items": [93 {94 "type": "object",95 "properties": {96 "id": {97 "type": "string",98 "description": "Uniquely generated mongoId of custom field entry and its not editable."99 },100 "namespace": {101 "type": "string",102 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."103 },104 "slug": {105 "type": "string",106 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."107 },108 "resource": {109 "type": "string",110 "description": "Resource indicate that this custom field is assosiated with this resource.This is non-editable"111 },112 "type": {113 "type": "string",114 "description": "This is field_type of the custom field definition. Its non-editable"115 },116 "multi_value": {117 "type": "boolean",118 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."119 },120 "company_id": {121 "type": "string",122 "description": "This is company id where this custom fields created."123 },124 "metaobject_definition_id": {125 "type": "string",126 "description": "This indicates the current custom field is associated with which custom object"127 },128 "value": {129 "type": "array",130 "items": {131 "type": [132 "string",133 "number",134 "object",135 "boolean"136 ]137 },138 "description": "This tells the values against the custom definition"139 }140 },141 "required": [142 "slug",143 "type",144 "value"145 ]146 }147 ]148 }149 },150 "required": [151 "id",152 "company_id",153 "slug",154 "definition_slug",155 "fields"156 ]157 }158 }159}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.3a324961-84f6-4c63-b929-e550837e0a7e"5 ],6 "name": "customobjects",7 "type": "create",8 "version": "1",9 "created_timestamp": 1711112937649,10 "id": "gOkWjc1vYD0p0wgOpgxc3oMUcspHw7cPrvJu/8c7A4M=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 1,15 "contains": [16 "id",17 "company_id",18 "status",19 "slug",20 "definition_slug",21 "display_name",22 "fields"23 ],24 "payload": {25 "id": "65fd82e99074516f7d7d9786",26 "company_id": "1",27 "status": "active",28 "slug": "65fd82e99074516f7d7d9786",29 "type": "test",30 "display_name": "SLT 0001",31 "fields": [32 {33 "id": "65fd82e99074516f7d7d978a",34 "namespace": "test",35 "slug": "mlt",36 "type": "string_multi_line",37 "multi_value": false,38 "company_id": "1",39 "invalid_value_errors": [],40 "has_invalid_values": false,41 "value": [42 "qswadsf\nwadesf\nqsswade\nawdesrfg"43 ]44 },45 {46 "id": "65fd82e99074516f7d7d978b",47 "namespace": "test",48 "slug": "slt",49 "type": "string_single_line",50 "multi_value": false,51 "company_id": "1",52 "invalid_value_errors": [],53 "has_invalid_values": false,54 "value": [55 "SLT 0001"56 ]57 }58 ]59 }60}
Was this section helpful?
Payload
Properties
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
Uniquely generated mongoId of custom object and its not editable.
company_id
string
Required
This is company id where this custom object created.
status
string
This is use for active/inactive status of custom object entry
slug
string
Required
This is a unique identifier for a custom object
definition_slug
string
Required
Unique identifier for the custom object definition. Its required and will not be modified once created.
fields
array of Undefined Type
Required
This is list of custom fields values.
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 "properties": {69 "id": {70 "type": "string",71 "description": "Uniquely generated mongoId of custom object and its not editable."72 },73 "company_id": {74 "type": "string",75 "description": "This is company id where this custom object created."76 },77 "status": {78 "type": "string",79 "description": "This is use for active/inactive status of custom object entry"80 },81 "slug": {82 "type": "string",83 "description": "This is a unique identifier for a custom object"84 },85 "definition_slug": {86 "type": "string",87 "description": "Unique identifier for the custom object definition. Its required and will not be modified once created."88 },89 "fields": {90 "type": "array",91 "description": "This is list of custom fields values.",92 "items": [93 {94 "type": "object",95 "properties": {96 "id": {97 "type": "string",98 "description": "Uniquely generated mongoId of custom field entry and its not editable."99 },100 "namespace": {101 "type": "string",102 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."103 },104 "slug": {105 "type": "string",106 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."107 },108 "type": {109 "type": "string",110 "description": "This is field_type of the custom field definition. Its non-editable"111 },112 "multi_value": {113 "type": "boolean",114 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."115 },116 "company_id": {117 "type": "string",118 "description": "This is company id where this custom fields created."119 },120 "value": {121 "type": "array",122 "items": {123 "type": [124 "string",125 "number",126 "object",127 "boolean"128 ]129 },130 "description": "This tells the values against the custom definition"131 }132 },133 "required": [134 "slug",135 "type",136 "value"137 ]138 }139 ]140 }141 },142 "required": [143 "id",144 "company_id",145 "slug",146 "definition_slug",147 "fields"148 ]149 }150 }151}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.3a79c376-1144-4ca7-a310-79afd0bf3b0d"5 ],6 "name": "customobjects",7 "type": "update",8 "version": "1",9 "created_timestamp": 1708683294673,10 "id": "gkr95+EzbC3D/TrRVe7T/iVI5olpUBRXLy05Obm22vU=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 1,15 "contains": [16 "id",17 "definition_slug",18 "company_id",19 "status",20 "type",21 "display_name",22 "fields"23 ],24 "payload": {25 "id": "65d74aa58f97e6c1942f6ff9",26 "definition_slug": "65d7471e0664a7dbc45a5292",27 "company_id": "1",28 "status": "active",29 "type": "algolia",30 "display_name": "kuldeep test",31 "fields": [32 {33 "id": "65d74aa58f97e6c1942f6fff",34 "namespace": "algolia",35 "slug": "name",36 "resource": "metaobject",37 "resource_id": "65d74aa58f97e6c1942f6ff9",38 "type": "string_single_line",39 "multi_value": false,40 "company_id": "1",41 "invalid_value_errors": [],42 "has_invalid_values": false,43 "value": [44 "kuldeep test"45 ]46 },47 {48 "id": "65d74aa58f97e6c1942f6ffe",49 "namespace": "algolia",50 "slug": "distance",51 "resource": "metaobject",52 "resource_id": "65d74aa58f97e6c1942f6ff9",53 "type": "integer",54 "multi_value": false,55 "company_id": "1",56 "invalid_value_errors": [],57 "has_invalid_values": false,58 "value": [59 1260 ]61 },62 {63 "id": "65d74aa58f97e6c1942f7000",64 "namespace": "algolia",65 "slug": "productid",66 "resource": "metaobject",67 "resource_id": "65d74aa58f97e6c1942f6ff9",68 "type": "integer",69 "multi_value": false,70 "company_id": "1",71 "invalid_value_errors": [],72 "has_invalid_values": false,73 "value": [74 43275 ]76 },77 {78 "id": "65d74aa58f97e6c1942f6ffd",79 "namespace": "algolia",80 "slug": "discount",81 "resource": "metaobject",82 "resource_id": "65d74aa58f97e6c1942f6ff9",83 "type": "string_single_line",84 "multi_value": false,85 "company_id": "1",86 "invalid_value_errors": [],87 "has_invalid_values": false,88 "value": [89 "test"90 ]91 },92 {93 "id": "65d74aa58f97e6c1942f7001",94 "namespace": "algolia",95 "slug": "sizes",96 "resource": "metaobject",97 "resource_id": "65d74aa58f97e6c1942f6ff9",98 "type": "string_single_line",99 "multi_value": false,100 "company_id": "1",101 "invalid_value_errors": [],102 "has_invalid_values": false,103 "value": [104 "test"105 ]106 }107 ]108 }109}
Was this section helpful?
Payload
Properties
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
Uniquely generated mongoId of custom object and its not editable.
company_id
string
Required
This is company id where this custom object created.
status
string
This is use for active/inactive status of custom object entry
slug
string
Required
This is a unique identifier for a custom object
definition_slug
string
Required
Unique identifier for the custom object definition. Its required and will not be modified once created.
fields
array of Undefined Type
Required
This is list of custom fields values.
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 "properties": {69 "id": {70 "type": "string",71 "description": "Uniquely generated mongoId of custom object and its not editable."72 },73 "company_id": {74 "type": "string",75 "description": "This is company id where this custom object created."76 },77 "status": {78 "type": "string",79 "description": "This is use for active/inactive status of custom object entry"80 },81 "slug": {82 "type": "string",83 "description": "This is a unique identifier for a custom object"84 },85 "definition_slug": {86 "type": "string",87 "description": "Unique identifier for the custom object definition. Its required and will not be modified once created."88 },89 "fields": {90 "type": "array",91 "description": "This is list of custom fields values.",92 "items": [93 {94 "type": "object",95 "properties": {96 "id": {97 "type": "string",98 "description": "Uniquely generated mongoId of custom field entry and its not editable."99 },100 "namespace": {101 "type": "string",102 "description": "Namespace is the initial part of the slug, like slug is designer.name then here designer is namespace and name is key. Its also not editable."103 },104 "slug": {105 "type": "string",106 "description": "A unique identifier for the custom fields definition. Its required and will not be modified once created."107 },108 "type": {109 "type": "string",110 "description": "This is field_type of the custom field definition. Its non-editable"111 },112 "multi_value": {113 "type": "boolean",114 "description": "This indicate that this custom fields can accept multiple values or not.multi_value false means it can have only 1 value."115 },116 "company_id": {117 "type": "string",118 "description": "This is company id where this custom fields created."119 },120 "value": {121 "type": "array",122 "items": {123 "type": [124 "string",125 "number",126 "object",127 "boolean"128 ]129 },130 "description": "This tells the values against the custom definition"131 }132 },133 "required": [134 "slug",135 "type",136 "value"137 ]138 }139 ]140 }141 },142 "required": [143 "id",144 "company_id",145 "slug",146 "definition_slug",147 "fields"148 ]149 }150 }151}
Payload Example
1{2 "event": {3 "trace_id": [4 "convex.3a79c376-1144-4ca7-a310-79afd0bf3b0d"5 ],6 "name": "customobjects",7 "type": "update",8 "version": "1",9 "created_timestamp": 1708683294673,10 "id": "gkr95+EzbC3D/TrRVe7T/iVI5olpUBRXLy05Obm22vU=",11 "category": "company",12 "referer": "fyndx1.de"13 },14 "company_id": 1,15 "contains": [16 "id",17 "definition_slug",18 "company_id",19 "status",20 "type",21 "display_name",22 "fields"23 ],24 "payload": {25 "id": "65d74aa58f97e6c1942f6ff9",26 "definition_slug": "65d7471e0664a7dbc45a5292",27 "company_id": "1",28 "status": "active",29 "type": "algolia",30 "display_name": "kuldeep test",31 "fields": [32 {33 "id": "65d74aa58f97e6c1942f6fff",34 "namespace": "algolia",35 "slug": "name",36 "resource": "metaobject",37 "resource_id": "65d74aa58f97e6c1942f6ff9",38 "type": "string_single_line",39 "multi_value": false,40 "company_id": "1",41 "invalid_value_errors": [],42 "has_invalid_values": false,43 "value": [44 "kuldeep test"45 ]46 },47 {48 "id": "65d74aa58f97e6c1942f6ffe",49 "namespace": "algolia",50 "slug": "distance",51 "resource": "metaobject",52 "resource_id": "65d74aa58f97e6c1942f6ff9",53 "type": "integer",54 "multi_value": false,55 "company_id": "1",56 "invalid_value_errors": [],57 "has_invalid_values": false,58 "value": [59 1260 ]61 },62 {63 "id": "65d74aa58f97e6c1942f7000",64 "namespace": "algolia",65 "slug": "productid",66 "resource": "metaobject",67 "resource_id": "65d74aa58f97e6c1942f6ff9",68 "type": "integer",69 "multi_value": false,70 "company_id": "1",71 "invalid_value_errors": [],72 "has_invalid_values": false,73 "value": [74 43275 ]76 },77 {78 "id": "65d74aa58f97e6c1942f6ffd",79 "namespace": "algolia",80 "slug": "discount",81 "resource": "metaobject",82 "resource_id": "65d74aa58f97e6c1942f6ff9",83 "type": "string_single_line",84 "multi_value": false,85 "company_id": "1",86 "invalid_value_errors": [],87 "has_invalid_values": false,88 "value": [89 "test"90 ]91 },92 {93 "id": "65d74aa58f97e6c1942f7001",94 "namespace": "algolia",95 "slug": "sizes",96 "resource": "metaobject",97 "resource_id": "65d74aa58f97e6c1942f6ff9",98 "type": "string_single_line",99 "multi_value": false,100 "company_id": "1",101 "invalid_value_errors": [],102 "has_invalid_values": false,103 "value": [104 "test"105 ]106 }107 ]108 }109}
Was this section helpful?
Events
company/location-price/create/v1
# this event is triggered when location price is created
company/location-price/update/v1
# this event is triggered when location price is updated
company/location-price/delete/v1
# this event is triggered when location price is deleted
Payload
Properties
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
prices
array of object
Required
Array of Properties
uid
string
Required
Combination of item code and store ID to uniquely identify the article.
size
string
Required
Product size (e.g., S, M, L, XL).
brand
object
Required
Details about the product's brand.
Properties
id
integer
Required
Unique identifier for the brand.
price
object
Required
Pricing details of the product, including various price types.
Properties
marked
number
Required
Marked price or original listed price of the product.
currency
string
Required
Currency used for the product's pricing (e.g., USD, EUR).
transfer
number
Required
Transfer price of the product.
effective
number
Required
Final price after applying discounts.
updated_at
string|null
| date-time
Date and time when the pricing information was last updated.
store
object
Required
Information about the store selling the product.
Properties
id
integer
Required
Unique identifier for the store.
company
object
Required
Information about the company producing or selling the product.
Properties
id
integer
Required
Unique identifier for the company.
item_id
integer
Required
Unique identifier for the item.
date_meta
object
Timestamps for important events in the product's lifecycle.
Properties
created_on
string
| date-time
Date and time when the product was first created.
modified_on
string
| date-time
Required
Last modification timestamp of the product inventory details.
added_on_store
string
| date-time
Date and time when the product was added to the store.
inventory_updated_on
string
| date-time
Last inventory update timestamp.
fynd_item_code
string
Required
Fynd's unique internal code for the product.
seller_identifier
string
Required
Unique identifier used by the seller for the product.
stage
string
Current stage of the product lifecycle (e.g., verified).
is_active
boolean
Indicates if the product is currently active (available for sale).
tags
array of string
Tags or labels assigned to the product for categorization or search purposes.
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 "prices"70 ],71 "properties": {72 "prices": {73 "type": "array",74 "items": {75 "type": "object",76 "required": [77 "uid",78 "item_id",79 "fynd_item_code",80 "store",81 "brand",82 "company",83 "size",84 "seller_identifier",85 "price"86 ],87 "properties": {88 "uid": {89 "type": "string",90 "description": "Combination of item code and store ID to uniquely identify the article."91 },92 "size": {93 "type": "string",94 "description": "Product size (e.g., S, M, L, XL)."95 },96 "brand": {97 "type": "object",98 "description": "Details about the product's brand.",99 "properties": {100 "id": {101 "type": "integer",102 "description": "Unique identifier for the brand."103 }104 },105 "required": [106 "id"107 ]108 },109 "price": {110 "type": "object",111 "description": "Pricing details of the product, including various price types.",112 "properties": {113 "marked": {114 "type": "number",115 "description": "Marked price or original listed price of the product."116 },117 "currency": {118 "type": "string",119 "description": "Currency used for the product's pricing (e.g., USD, EUR)."120 },121 "transfer": {122 "type": "number",123 "description": "Transfer price of the product."124 },125 "effective": {126 "type": "number",127 "description": "Final price after applying discounts."128 },129 "updated_at": {130 "type": [131 "string",132 "null"133 ],134 "format": "date-time",135 "description": "Date and time when the pricing information was last updated."136 }137 },138 "required": [139 "transfer",140 "effective",141 "marked",142 "currency"143 ]144 },145 "store": {146 "type": "object",147 "description": "Information about the store selling the product.",148 "properties": {149 "id": {150 "type": "integer",151 "description": "Unique identifier for the store."152 }153 },154 "required": [155 "id"156 ]157 },158 "company": {159 "type": "object",160 "description": "Information about the company producing or selling the product.",161 "properties": {162 "id": {163 "type": "integer",164 "description": "Unique identifier for the company."165 }166 },167 "required": [168 "id"169 ]170 },171 "item_id": {172 "type": "integer",173 "description": "Unique identifier for the item."174 },175 "date_meta": {176 "type": "object",177 "description": "Timestamps for important events in the product's lifecycle.",178 "properties": {179 "created_on": {180 "type": "string",181 "format": "date-time",182 "description": "Date and time when the product was first created."183 },184 "modified_on": {185 "type": "string",186 "format": "date-time",187 "description": "Last modification timestamp of the product inventory details."188 },189 "added_on_store": {190 "type": "string",191 "format": "date-time",192 "description": "Date and time when the product was added to the store."193 },194 "inventory_updated_on": {195 "type": "string",196 "format": "date-time",197 "description": "Last inventory update timestamp."198 }199 },200 "required": [201 "modified_on"202 ]203 },204 "fynd_item_code": {205 "type": "string",206 "description": "Fynd's unique internal code for the product."207 },208 "seller_identifier": {209 "type": "string",210 "description": "Unique identifier used by the seller for the product."211 },212 "stage": {213 "type": "string",214 "description": "Current stage of the product lifecycle (e.g., verified)."215 },216 "is_active": {217 "type": "boolean",218 "description": "Indicates if the product is currently active (available for sale)."219 },220 "tags": {221 "type": "array",222 "description": "Tags or labels assigned to the product for categorization or search purposes.",223 "items": {224 "type": "string"225 }226 }227 }228 }229 }230 }231 }232 }233}
Payload Example
1{2 "company_id": 3932,3 "contains": [4 "prices"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1712213140518,9 "id": "uVxPGUEmbYi7/WCvNFfFY03tJiSTOqP6kgMZOxxmGrI=",10 "name": "location-price",11 "trace_id": [12 "silverbolt.f3b55ffc-f24e-11ee-ad2e-c227286f4511"13 ],14 "type": "create",15 "version": "1"16 },17 "payload": {18 "prices": [19 {20 "brand": {21 "id": 41422 },23 "company": {24 "id": 393225 },26 "date_meta": {27 "added_on_store": "2024-04-04 06:45:40.083507+00:00",28 "created_on": "2024-04-04 06:45:40.072820",29 "inventory_updated_on": "2024-04-04 06:45:40.072820",30 "modified_on": "2024-04-04 06:45:40.072820"31 },32 "fynd_item_code": "MFK-9332-Q-163-LIGHT BLUE",33 "item_id": 8684655,34 "price": {35 "currency": "INR",36 "effective": 2199,37 "marked": 2199,38 "transfer": 039 },40 "seller_identifier": "8905310270582",41 "size": "L",42 "store": {43 "id": 2363044 },45 "uid": "23630_8905310270582",46 "is_active": true,47 "stage": "verified",48 "tags": []49 }50 ]51 }52}
Was this section helpful?
Payload
Properties
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
prices
array of object
Required
Array of Properties
uid
string
Required
Combination of item code and store ID to uniquely identify the article.
size
string
Required
Product size (e.g., S, M, L, XL).
brand
object
Required
Details about the product's brand.
Properties
id
integer
Required
Unique identifier for the brand.
price
object
Required
Pricing details of the product, including various price types.
Properties
marked
number
Required
Marked price or original listed price of the product.
currency
string
Required
Currency used for the product's pricing (e.g., USD, EUR).
transfer
number
Required
Transfer price of the product.
effective
number
Required
Final price after applying discounts.
updated_at
string|null
| date-time
Date and time when the pricing information was last updated.
store
object
Required
Information about the store selling the product.
Properties
id
integer
Required
Unique identifier for the store.
company
object
Required
Information about the company producing or selling the product.
Properties
id
integer
Required
Unique identifier for the company.
item_id
integer
Required
Unique identifier for the item.
date_meta
object
Timestamps for important events in the product's lifecycle.
Properties
created_on
string
| date-time
Date and time when the product was first created.
modified_on
string
| date-time
Required
Last modification timestamp of the product inventory details.
added_on_store
string
| date-time
Date and time when the product was added to the store.
inventory_updated_on
string
| date-time
Last inventory update timestamp.
fynd_item_code
string
Required
Fynd's unique internal code for the product.
seller_identifier
string
Required
Unique identifier used by the seller for the product.
stage
string
Current stage of the product lifecycle (e.g., verified).
is_active
boolean
Indicates if the product is currently active (available for sale).
tags
array of string
Tags or labels assigned to the product for categorization or search purposes.
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 "prices"70 ],71 "properties": {72 "prices": {73 "type": "array",74 "items": {75 "type": "object",76 "required": [77 "uid",78 "item_id",79 "fynd_item_code",80 "store",81 "brand",82 "company",83 "size",84 "seller_identifier",85 "price"86 ],87 "properties": {88 "uid": {89 "type": "string",90 "description": "Combination of item code and store ID to uniquely identify the article."91 },92 "size": {93 "type": "string",94 "description": "Product size (e.g., S, M, L, XL)."95 },96 "brand": {97 "type": "object",98 "description": "Details about the product's brand.",99 "properties": {100 "id": {101 "type": "integer",102 "description": "Unique identifier for the brand."103 }104 },105 "required": [106 "id"107 ]108 },109 "price": {110 "type": "object",111 "description": "Pricing details of the product, including various price types.",112 "properties": {113 "marked": {114 "type": "number",115 "description": "Marked price or original listed price of the product."116 },117 "currency": {118 "type": "string",119 "description": "Currency used for the product's pricing (e.g., USD, EUR)."120 },121 "transfer": {122 "type": "number",123 "description": "Transfer price of the product."124 },125 "effective": {126 "type": "number",127 "description": "Final price after applying discounts."128 },129 "updated_at": {130 "type": [131 "string",132 "null"133 ],134 "format": "date-time",135 "description": "Date and time when the pricing information was last updated."136 }137 },138 "required": [139 "transfer",140 "effective",141 "marked",142 "currency"143 ]144 },145 "store": {146 "type": "object",147 "description": "Information about the store selling the product.",148 "properties": {149 "id": {150 "type": "integer",151 "description": "Unique identifier for the store."152 }153 },154 "required": [155 "id"156 ]157 },158 "company": {159 "type": "object",160 "description": "Information about the company producing or selling the product.",161 "properties": {162 "id": {163 "type": "integer",164 "description": "Unique identifier for the company."165 }166 },167 "required": [168 "id"169 ]170 },171 "item_id": {172 "type": "integer",173 "description": "Unique identifier for the item."174 },175 "date_meta": {176 "type": "object",177 "description": "Timestamps for important events in the product's lifecycle.",178 "properties": {179 "created_on": {180 "type": "string",181 "format": "date-time",182 "description": "Date and time when the product was first created."183 },184 "modified_on": {185 "type": "string",186 "format": "date-time",187 "description": "Last modification timestamp of the product inventory details."188 },189 "added_on_store": {190 "type": "string",191 "format": "date-time",192 "description": "Date and time when the product was added to the store."193 },194 "inventory_updated_on": {195 "type": "string",196 "format": "date-time",197 "description": "Last inventory update timestamp."198 }199 },200 "required": [201 "modified_on"202 ]203 },204 "fynd_item_code": {205 "type": "string",206 "description": "Fynd's unique internal code for the product."207 },208 "seller_identifier": {209 "type": "string",210 "description": "Unique identifier used by the seller for the product."211 },212 "stage": {213 "type": "string",214 "description": "Current stage of the product lifecycle (e.g., verified)."215 },216 "is_active": {217 "type": "boolean",218 "description": "Indicates if the product is currently active (available for sale)."219 },220 "tags": {221 "type": "array",222 "description": "Tags or labels assigned to the product for categorization or search purposes.",223 "items": {224 "type": "string"225 }226 }227 }228 }229 }230 }231 }232 }233}
Payload Example
1{2 "company_id": 3932,3 "contains": [4 "prices"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1712213140518,9 "id": "uVxPGUEmbYi7/WCvNFfFY03tJiSTOqP6kgMZOxxmGrI=",10 "name": "location-price",11 "trace_id": [12 "silverbolt.f3b55ffc-f24e-11ee-ad2e-c227286f4511"13 ],14 "type": "update",15 "version": "1"16 },17 "payload": {18 "prices": [19 {20 "brand": {21 "id": 41422 },23 "company": {24 "id": 393225 },26 "date_meta": {27 "added_on_store": "2024-04-04 06:45:40.083507+00:00",28 "created_on": "2024-04-04 06:45:40.072820",29 "inventory_updated_on": "2024-04-04 06:45:40.072820",30 "modified_on": "2024-04-04 06:45:40.072820"31 },32 "fynd_item_code": "MFK-9332-Q-163-LIGHT BLUE",33 "item_id": 8684655,34 "price": {35 "currency": "INR",36 "effective": 2199,37 "marked": 2199,38 "transfer": 039 },40 "seller_identifier": "8905310270582",41 "size": "L",42 "store": {43 "id": 2363044 },45 "uid": "23630_8905310270582",46 "is_active": true,47 "stage": "verified",48 "tags": []49 }50 ]51 }52}
Was this section helpful?
Payload
Properties
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
prices
array of object
Required
Array of Properties
uid
string
Required
Combination of item code and store ID to uniquely identify the article.
size
string
Required
Product size (e.g., S, M, L, XL).
brand
object
Required
Details about the product's brand.
Properties
id
integer
Required
Unique identifier for the brand.
store
object
Required
Information about the store selling the product.
Properties
id
integer
Required
Unique identifier for the store.
company
object
Required
Information about the company producing or selling the product.
Properties
id
integer
Required
Unique identifier for the company.
item_id
integer
Required
Unique identifier for the item.
fynd_item_code
string
Required
Fynd's unique internal code for the product.
seller_identifier
string
Required
Unique identifier used by the seller for the product.
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 "prices"70 ],71 "properties": {72 "prices": {73 "type": "array",74 "items": {75 "type": "object",76 "required": [77 "uid",78 "item_id",79 "fynd_item_code",80 "store",81 "brand",82 "company",83 "size",84 "seller_identifier"85 ],86 "properties": {87 "uid": {88 "type": "string",89 "description": "Combination of item code and store ID to uniquely identify the article."90 },91 "size": {92 "type": "string",93 "description": "Product size (e.g., S, M, L, XL)."94 },95 "brand": {96 "type": "object",97 "description": "Details about the product's brand.",98 "properties": {99 "id": {100 "type": "integer",101 "description": "Unique identifier for the brand."102 }103 },104 "required": [105 "id"106 ]107 },108 "store": {109 "type": "object",110 "description": "Information about the store selling the product.",111 "properties": {112 "id": {113 "type": "integer",114 "description": "Unique identifier for the store."115 }116 },117 "required": [118 "id"119 ]120 },121 "company": {122 "type": "object",123 "description": "Information about the company producing or selling the product.",124 "properties": {125 "id": {126 "type": "integer",127 "description": "Unique identifier for the company."128 }129 },130 "required": [131 "id"132 ]133 },134 "item_id": {135 "type": "integer",136 "description": "Unique identifier for the item."137 },138 "fynd_item_code": {139 "type": "string",140 "description": "Fynd's unique internal code for the product."141 },142 "seller_identifier": {143 "type": "string",144 "description": "Unique identifier used by the seller for the product."145 }146 }147 }148 }149 }150 }151 }152}
Payload Example
1{2 "company_id": 61,3 "contains": [4 "prices"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1711552926254,9 "id": "TnDwx8zqahrSj4ZoX7pGG0wqnchYTJt9BduujJ+RM2M=",10 "name": "location-price",11 "trace_id": [12 "silverbolt.c5576594-ec4d-11ee-ba7a-36c24ca45877"13 ],14 "type": "delete",15 "version": "1"16 },17 "payload": {18 "articles": [19 {20 "brand": {21 "id": 355922 },23 "company": {24 "id": 6125 },26 "fynd_item_code": "DSJHJJKSVD",27 "item_id": 10198724,28 "seller_identifier": "SDVKJNSVD",29 "size": "OS",30 "store": {31 "id": 1541132 },33 "uid": "15411_SDVKJNSVD"34 }35 ]36 }37}
Was this section helpful?
Events
company/location-quantity/create/v1
# this event is triggered when location quantity is created
company/location-quantity/update/v1
# this event is triggered when location quantity is updated
Payload
Properties
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
quantities
array of object
Required
Array of Properties
uid
string
Required
Combination of item code and store ID to uniquely identify the article.
size
string
Required
Product size (e.g., S, M, L, XL).
brand
object
Required
Details about the product's brand.
Properties
id
integer
Required
Unique identifier for the brand.
total_quantity
integer
Required
Total quantity available for the product.
quantities
object
Required
Information about product quantities, including available and unavailable stock.
Properties
damaged
object|null
Details of damaged stock.
Properties
count
integer
Required
Number of damaged units.
updated_at
string
Required
Timestamp of the last damaged stock update.
sellable
object
Required
Sellable stock information.
Properties
count
integer
Required
Number of sellable units available.
updated_at
string
Required
Timestamp of the last sellable stock update.
not_available
object|null
Information about unavailable stock.
Properties
count
integer
Required
Number of unavailable units.
updated_at
string
Required
Timestamp of the last unavailable stock update.
order_committed
object|null
Details of committed orders.
Properties
count
integer
Number of units committed to orders.
updated_at
string
Timestamp of the last order committed update.
expiration_date
string
Expiration or validity end date for the product.
store
object
Required
Information about the store selling the product.
Properties
id
integer
Required
Unique identifier for the store.
company
object
Required
Information about the company producing or selling the product.
Properties
id
integer
Required
Unique identifier for the company.
item_id
integer
Required
Unique identifier for the item.
date_meta
object
Timestamps for important events in the product's lifecycle.
Properties
created_on
string
| date-time
Date and time when the product was first created.
modified_on
string
| date-time
Required
Last modification timestamp of the product inventory details.
added_on_store
string
| date-time
Date and time when the product was added to the store.
inventory_updated_on
string
| date-time
Last inventory update timestamp.
fynd_item_code
string
Required
Fynd's unique internal code for the product.
seller_identifier
string
Required
Unique identifier used by the seller for the product.
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 "quantities"70 ],71 "properties": {72 "quantities": {73 "type": "array",74 "items": {75 "type": "object",76 "required": [77 "uid",78 "item_id",79 "fynd_item_code",80 "store",81 "brand",82 "company",83 "size",84 "seller_identifier",85 "total_quantity",86 "quantities"87 ],88 "properties": {89 "uid": {90 "type": "string",91 "description": "Combination of item code and store ID to uniquely identify the article."92 },93 "size": {94 "type": "string",95 "description": "Product size (e.g., S, M, L, XL)."96 },97 "brand": {98 "type": "object",99 "description": "Details about the product's brand.",100 "properties": {101 "id": {102 "type": "integer",103 "description": "Unique identifier for the brand."104 }105 },106 "required": [107 "id"108 ]109 },110 "total_quantity": {111 "type": "integer",112 "description": "Total quantity available for the product."113 },114 "quantities": {115 "type": "object",116 "description": "Information about product quantities, including available and unavailable stock.",117 "properties": {118 "damaged": {119 "type": [120 "object",121 "null"122 ],123 "description": "Details of damaged stock.",124 "properties": {125 "count": {126 "type": "integer",127 "description": "Number of damaged units."128 },129 "updated_at": {130 "type": "string",131 "description": "Timestamp of the last damaged stock update."132 }133 },134 "required": [135 "count",136 "updated_at"137 ]138 },139 "sellable": {140 "type": "object",141 "description": "Sellable stock information.",142 "properties": {143 "count": {144 "type": "integer",145 "description": "Number of sellable units available."146 },147 "updated_at": {148 "type": "string",149 "description": "Timestamp of the last sellable stock update."150 }151 },152 "required": [153 "count",154 "updated_at"155 ]156 },157 "not_available": {158 "type": [159 "object",160 "null"161 ],162 "description": "Information about unavailable stock.",163 "properties": {164 "count": {165 "type": "integer",166 "description": "Number of unavailable units."167 },168 "updated_at": {169 "type": "string",170 "description": "Timestamp of the last unavailable stock update."171 }172 },173 "required": [174 "count",175 "updated_at"176 ]177 },178 "order_committed": {179 "type": [180 "object",181 "null"182 ],183 "description": "Details of committed orders.",184 "properties": {185 "count": {186 "type": "integer",187 "description": "Number of units committed to orders."188 },189 "updated_at": {190 "type": "string",191 "description": "Timestamp of the last order committed update."192 }193 }194 }195 },196 "required": [197 "sellable"198 ]199 },200 "expiration_date": {201 "type": "string",202 "description": "Expiration or validity end date for the product."203 },204 "store": {205 "type": "object",206 "description": "Information about the store selling the product.",207 "properties": {208 "id": {209 "type": "integer",210 "description": "Unique identifier for the store."211 }212 },213 "required": [214 "id"215 ]216 },217 "company": {218 "type": "object",219 "description": "Information about the company producing or selling the product.",220 "properties": {221 "id": {222 "type": "integer",223 "description": "Unique identifier for the company."224 }225 },226 "required": [227 "id"228 ]229 },230 "item_id": {231 "type": "integer",232 "description": "Unique identifier for the item."233 },234 "date_meta": {235 "type": "object",236 "description": "Timestamps for important events in the product's lifecycle.",237 "properties": {238 "created_on": {239 "type": "string",240 "format": "date-time",241 "description": "Date and time when the product was first created."242 },243 "modified_on": {244 "type": "string",245 "format": "date-time",246 "description": "Last modification timestamp of the product inventory details."247 },248 "added_on_store": {249 "type": "string",250 "format": "date-time",251 "description": "Date and time when the product was added to the store."252 },253 "inventory_updated_on": {254 "type": "string",255 "format": "date-time",256 "description": "Last inventory update timestamp."257 }258 },259 "required": [260 "modified_on"261 ]262 },263 "fynd_item_code": {264 "type": "string",265 "description": "Fynd's unique internal code for the product."266 },267 "seller_identifier": {268 "type": "string",269 "description": "Unique identifier used by the seller for the product."270 }271 }272 }273 }274 }275 }276 }277}
Payload Example
1{2 "company_id": 3932,3 "contains": [4 "quantities"5 ],6 "event": {7 "category": "company",8 "created_timestamp": 1712213140518,9 "id": "uVxPGUEmbYi7/WCvNFfFY03tJiSTOqP6kgMZOxxmGrI=",10 "name": "location-quantity",11 "trace_id": [12 "silverbolt.f3b55ffc-f24e-11ee-ad2e-c227286f4511"13 ],14 "type": "update",15 "version": "1"16 },17 "payload": {18 "quantities": [19 {20 "brand": {21 "id": 41422 },23 "company": {24 "id": 393225 },26 "date_meta": {27 "added_on_store": "2024-04-04 06:45:40.083507+00:00",28 "created_on": "2024-04-04 06:45:40.072820",29 "inventory_updated_on": "2024-04-04 06:45:40.072820",30 "modified_on": "2024-04-04 06:45:40.072820"31 },32 "fynd_item_code": "MFK-9332-Q-163-LIGHT BLUE",33 "item_id": 8684655,34 "seller_identifier": "8905310270582",35 "size": "L",36 "store": {37 "id": 2363038 },39 "uid": "23630_8905310270582",40 "quantities": {41 "sellable": {42 "count": 1,43 "updated_at": "2024-04-04 06:45:40.072820"44 }45 },46 "total_quantity": 1,47 "expiration_date": "9998-01-30 23:59:00"48 }49 ]50 }51}
Was this section helpful?
Payload
Properties
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
quantities
array of object
Required
Array of Properties
uid
string
Required
Combination of item code and store ID to uniquely identify the article.
size
string
Required
Product size (e.g., S, M, L, XL).
brand
object
Required
Details about the product's brand.
Properties
id
integer
Required
Unique identifier for the brand.
total_quantity
integer
Required
Total quantity available for the product.
quantities
object
Required
Information about product quantities, including available and unavailable stock.
Properties
damaged
object|null
Details of damaged stock.
Properties
count
integer
Required
Number of damaged units.
updated_at
string
Required
Timestamp of the last damaged stock update.
sellable
object
Required
Sellable stock information.
Properties
count
integer
Required
Number of sellable units available.
updated_at
string
Required
Timestamp of the last sellable stock update.
not_available
object|null
Information about unavailable stock.
Properties
count
integer
Required
Number of unavailable units.
updated_at
string
Required
Timestamp of the last unavailable stock update.
order_committed
object|null
Details of committed orders.
Properties
count
integer
Number of units committed to orders.
updated_at
string
Timestamp of the last order committed update.
expiration_date
string
Expiration or validity end date for the product.
store
object
Required
Information about the store selling the product.
Properties
id
integer
Required
Unique identifier for the store.
company
object
Required
Information about the company producing or selling the product.
Properties
id
integer
Required
Unique identifier for the company.
item_id
integer
Required
Unique identifier for the item.
date_meta
object
Timestamps for important events in the product's lifecycle.
Properties
created_on
string
| date-time
Date and time when the product was first created.
modified_on
string
| date-time
Required
Last modification timestamp of the product inventory details.
added_on_store
string
| date-time
Date and time when the product was added to the store.
inventory_updated_on
string
| date-time
Last inventory update timestamp.
fynd_item_code
string
Required
Fynd's unique internal code for the product.
seller_identifier
string
Required
Unique identifier used by the seller for the product.
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 "quantities"