• Tutorials

    Show / Hide Table of Contents
    • Getting Started
    • O2VEND Store
      • My Stores
        • Create Store
      • My Account
        • My Profile
        • Manage Billing
        • Support Desk
    • Store Setup
      • Initial Store Setup
    • Dashboard
      • Dashboard
    • Orders
      • Quotation
      • Sales Order
      • Purchase Order
      • ActiveCarts
    • Vouchers
      • Sales
        • Manage Sales
        • Create Sales Invoice
        • Cancel Sales Invoice
        • How to create GDN(Goods Delivered Note)
        • How to add lot for products in GDN
        • How to view sales details
      • Purchase
        • Manage purchase
        • Create Purchase Invoice
        • Cancel purchase Invoice
        • How to create GRN(Goods Received Note)
        • How to add lot for products in GRN
        • How to print a barcode label in purchase
        • How to view purchase details
      • Credit Notes
      • Debit Notes
      • Receipt
      • Payment
      • Journal
      • Contra
    • Inventory
      • Manage Stocks
      • Stock History
      • Print Barcode Label
      • Delivery Challan
      • Receipt Challan
      • Goods Entries
      • Stock Transfer
      • Stock Take
    • Catalog
      • Set Up Products
        • General
        • Variations
        • Attributes
        • Stock Levels
        • Pricing
        • SEO
      • Product Categories
      • Product Brand
      • Product Option
      • Attributes
      • Attributes Group
      • Product Templates
      • Price List
      • Bulk Product Price update
      • Bulk Product Updates
    • Communication
      • Communication
    • Accounting Master
      • Master
    • Reports
      • Order Reports
        • Sales Order Summary
        • Purchase Order Summary
        • Sales Order Shipment Report
        • Sales Order Pending Item Report
        • Purchase Order Pending Item Report
        • Sales Order Pending Item Summary
      • Inventory Reports
        • Stock Summary
        • Location Summary
        • Stock/Location Summary
        • Reordering Stock Summary
        • Stock Valuation Summary
      • Products
        • Sold Product Categories
        • Category Product Return
        • Product Sale Summary
        • Product Seasonal Demand
      • Pos Reports
        • Cash Register Summary
        • Current Cash Registers
      • Sales/Purchase Reports
        • Sales Report
        • Purchase Report
        • Sales Summary
        • Purchase Summary
        • Receipt Report
        • Sales Items Summary
        • Daily Settlement Report
      • Account Reports
        • Ledger
        • Cash Book
        • Day Book
        • Sales Books
        • Purchase Books
      • Miscellaneous Reports
        • Output Detailed Tax Report
        • Output Tax Report Summary
        • OutStanding Report
        • Gross Profit Report
        • GSTR-1 Report
      • Financial Reports
        • Balance Sheet
        • Profit And Loss Report
        • Trial Balance
    • Settings
      • Settings
      • Store Settings
        • Business Details
        • Tax Classes
        • Tax Rates
        • Operating Countries
        • Operating State or Province
        • Return Rule
      • Users
        • User Role Management
          • Set Up Employee Roles
          • Ecommerce
          • Point Of Sale
          • Back Office
          • Sales App
        • customers
        • Supplier
        • vendors
        • Customer Groups
        • User Date Setup
        • Credit Rules
      • Loyalty and Promotions
        • Reward Points
        • Coupons
        • Benefits
        • Affiliate
      • Point Of Sale
        • Quick Add Buttons
        • Print Settings
        • Payment Methods
        • Delivery Settings
      • Web Store
        • Themes
        • Theme Data
        • Shipping Methods
        • Payment Methods
        • Currency
        • Reviews
        • Review Replies
        • Zones
      • Web Store Content
        • Site Pages
        • Site Menus
          • Main Menu
          • Site Menus
        • Home Page Components
        • Page Header
        • News Categories
        • News
        • News Letter Subscription
      • Stock Settings
        • Unit Of Measure
        • Location
        • Delivery Zones
        • Unit Of Measure Conversions
        • Stock Levels
        • Branches
        • Sub Location
        • Print Barcode Label Settings
      • Account
        • Financial Year
        • Voucher Numbering
    • Features
      • General
      • POS
      • Webstore
      • Integration
    • Profile
      • My Profile
    • Manage Physical Stores
      • Login
      • Sales Bill
        • Manage sales orders
        • How to add products to a customer's shopping cart
        • How to apply discounts/coupons
        • How to search products in Sales Screen
        • How to add products quickly to the Cart
        • How to add serial and lot number
        • How to Print sales bills in POS
      • Receive Payments (Receipts)
      • Delivery
      • Invoice Receipts
      • Manage Cash Register
      • Reprint
      • Dashboard
      • POS Offline
      • Stock Transfer
    • O2VEND App
      • Install O2VEND App
      • Home
      • Customers
      • Orders
      • Products
      • Receipts
      • Stock Movement
    • Webhooks
      • Webhook
      • Examples of JSON format data via webhook
      • Testing webhook

    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"
    }
    
    • Improve this Doc
    Back to top Generated by DocFX