Examples of JSON format data via webhook
Create Product
Product create data in JSON format
{"Id":"8a884d26-ab2d-40aa-9e52-569edb2f8b33",
"Event":"Product.Create","Attempt":0,
"Data":{"UnitOfMeasureIds":[],
"RelatedProducts":[],
"CrossSellProducts":[],
"OrderingUnitOfMeasures":[{"Id":55,"Symbol":"Bb","Name":"Box"}],
"IsShowInOnlineStore":true,
"ProductStatus":0,
"Quantity":0.0,
"BrandName":"Rich",
"Id":168156,
"Price":900.0,
"OldPrice":1000.0,
"IsCallForPricing":false,
"IsAllowToOrder":true,
"Name":"Women Kurti",
"Slug":"women-kurti",
"Sku":"Women Kurti01",
"Gtin":6453646,
"ShortDescription":Beautiful georgette fabric printed dress,
"Description":Trendy fashion dress,
"Specification":Fabric:Geogette,
"IsPublished":true,
"IsFeatured":false,
"StockTrackingIsEnabled":false,
"IsLotTrackingEnabled":false,
"SalesAccountId":9644,
"PurchaseAccountId":9645,
"CategoryIds":[3553],
"CategoriesName":"New Gowns",
"TopCategoryName":"New Gowns",
"Attributes":[],
"Options":[],
"Variations":[],
"BatchProducts":[],
"ThumbnailImageUrl":"https://d2qdxqlzcdfsms.cloudfront.net/9193c32b-6c19-4754-b9f3-63e84c301836/f6016063-5708-43ed-abbe-e4e39c77737b.webp",
"ProductImages":[
{
"Id":41126,
"MediaUrl":"https://d2qdxqlzcdfsms.cloudfront.net/9193c32b-6c19-4754-b9f3-63e84c301836/f6016063-5708-43ed-abbe-e4e39c77737b.webp",
"FileName":"f6016063-5708-43ed-abbe-e4e39c77737b.webp","DisplayOrder":0}],
"ProductDocuments":[],
"DeletedMediaIds":[],
"BrandId":2480,
"TaxClassId":142,
"TaxRate":0.0,
"RowTotal":0.0,
"BaseUnitOfMeasureId":55},
"CreationTimeUtc":"2022-04-16T09:08:49.4580024Z"}
Update Product
Product update data in JSON format
{
"Id": "9982c8c9-7216-4ada-9694-ef106dbba215",
"Event": "Product.Update",
"Attempt": 0,
"Data": {
"UnitOfMeasureIds": [],
"RelatedProducts": [],
"CrossSellProducts": [],
"OrderingUnitOfMeasures": [
{
"Id": 55,
"Symbol": "Bb",
"Name": "Box"
}
],
"IsShowInOnlineStore": true,
"ProductStatus": 0,
"Quantity": 0,
"BrandName": "Adidas",
"Id": 150990,
"Price": 700,
"OldPrice": 800,
"SpecialPrice": 350,
"IsCallForPricing": false,
"IsAllowToOrder": true,
"Name": "Modern dress",
"Slug": "p166",
"Sku": "456457457",
"Gtin": "3452312313234",
"ShortDescription":New arrived,
"Description": "Most elegant dress",
"Specification": Fabric: soft,
"IsPublished": true,
"IsFeatured": false,
"StockTrackingIsEnabled": true,
"IsLotTrackingEnabled": false,
"SalesAccountId": 9644,
"PurchaseAccountId": 9645,
"CategoryIds": [
3663
],
"CategoriesName": "Category New1",
"TopCategoryName": "Category New1",
"Attributes": [
{
"Id": 24485,
"AttributeValueId": 49949,
"Name": "PeakSeason",
"Value": "1,2,3,11",
"IsSerialNumber": false
},
{
"Id": 24486,
"AttributeValueId": 49950,
"Name": "NormalSeason",
"Value": "4,5,6,7,11",
"IsSerialNumber": false
},
{
"Id": 24487,
"AttributeValueId": 49951,
"Name": "OffSeason",
"Value": "8,9,11",
"IsSerialNumber": false
},
],
"Options": [],
"Variations": [],
"BatchProducts": [],
"ThumbnailImageUrl": "https://d2qdxqlzcdfsms.cloudfront.net/9193c32b-6c19-4754-b9f3-63e84c301836/523b2ce1-6d5f-47f1-8fcd-6862fbcd2e7a.jpg",
"ProductImages": [
{
"Id": 29035,
"Caption": null,
"MediaUrl": "https://d2qdxqlzcdfsms.cloudfront.net/9193c32b-6c19-4754-b9f3-63e84c301836/523b2ce1-6d5f-47f1-8fcd-6862fbcd2e7a.jpg",
"FileName": "523b2ce1-6d5f-47f1-8fcd-6862fbcd2e7a.jpg",
"DisplayOrder": 0
}
],
"ProductDocuments": [],
"DeletedMediaIds": [],
"BrandId": 1125,
"TaxClassId": 142,
"TaxRate": 0,
"RowTotal": 0,
"BaseUnitOfMeasureId": 55
},
"CreationTimeUtc": "2022-04-16T10:54:43.1061121Z"
}
Stock Quantity Update
Stock quantity update data in json format
{
"Id": "194b96ad-a985-42f3-9aa4-fb5cca2a6bc0",
"Event": "Stock.QuantityUpdate",
"Attempt": 0,
"Data": {
"ProductId": 168156,
"WarehouseId": 125,
"AdjustedQuantity": 100,
"Note": null,
"CreatedOn": "2022-04-16T10:56:31.3704185+00:00",
"BranchId": 5
},
"CreationTimeUtc": "2022-04-16T10:56:32.3984516Z"
}