webhook.test
— Test webhook
Sent from Developer Portal → Send test event now. Payload mode is full; owner_id / store_id may be null.
Mode: full
· Scope: webhook:notifications
· Domain: system
{
"id": "evt_01EXAMPLE",
"type": "webhook.test",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": null,
"store_id": null,
"data": {
"object": {
"ok": true,
"message": "SalesVu webhook test event",
"subscriber_type": "oauth_app",
"subscriber_id": "app_01EXAMPLE"
}
}
}
order.created
— Order created
Summary ids at queue time; delivery may expand order detail. Refetch: POST data.api_url with location_id, order_id, payment_device (= pos_id). Payment/card are not embedded.
Mode: summary
· Scope: read:orders
· Domain: orders
{
"id": "evt_01EXAMPLE",
"type": "order.created",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"order_id": 5001,
"pos_id": "SalesVu.com"
},
"api_url": "https://api-dev.salesvu.com/v1/orders/get-store-order"
}
}
order.updated
— Order updated
Registered event; same summary / expand shape as order.created. Refetch: POST data.api_url with location_id, order_id, payment_device (= pos_id).
Mode: summary
· Scope: read:orders
· Domain: orders
{
"id": "evt_01EXAMPLE",
"type": "order.updated",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"order_id": 5001,
"pos_id": "SalesVu.com"
},
"api_url": "https://api-dev.salesvu.com/v1/orders/get-store-order"
}
}
order.refunded
— Order refunded
Original order ids plus optional refund fields. Refetch original order: POST data.api_url with location_id, order_id, payment_device (= pos_id).
Mode: summary
· Scope: read:orders
· Domain: orders
{
"id": "evt_01EXAMPLE",
"type": "order.refunded",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"order_id": 5001,
"pos_id": "SalesVu.com",
"refund_id": 7001,
"refund_order_id": 5002,
"refund_pos_id": "SalesVu.com",
"amount": 9.99,
"refund_type": "full",
"full_refund": 1
},
"api_url": "https://api-dev.salesvu.com/v1/orders/get-store-order"
}
}
order.deleted
— Order deleted
Summary-only (no expand). Soft delete sets deleted=1 on the order row. Permanent delete also sets deleted_permanently=1; get-store-order may 404 after hard delete. Optional deleted_by_support=1 when a support user deletes via Orders Report.
Mode: summary
· Scope: read:orders
· Domain: orders
Soft delete (Orders Report Delete):
{
"id": "evt_01EXAMPLE",
"type": "order.deleted",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"order_id": 5001,
"pos_id": "SalesVu.com",
"deleted": 1,
"status": "deleted",
"source": "orders_report_soft_delete"
},
"api_url": "https://api-dev.salesvu.com/v1/orders/get-store-order"
}
}
Permanent delete (support Delete Permanently — includes deleted_permanently):
{
"id": "evt_01EXAMPLE",
"type": "order.deleted",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"order_id": 5001,
"pos_id": "SalesVu.com",
"deleted": 1,
"status": "deleted",
"deleted_permanently": 1,
"source": "orders_report_permanent_delete"
},
"api_url": "https://api-dev.salesvu.com/v1/orders/get-store-order"
}
}
inventory.updated
— Inventory updated
Emitted when stock changes (orders, PO receive, transfers, adjustments, count sheets, RTV, etc.). Not emitted for first inventory row insert at qty 0. Refetch: POST data.api_url with location_id and optional product_id.
Mode: summary
· Scope: read:inventory
· Domain: inventory
{
"id": "evt_01EXAMPLE",
"type": "inventory.updated",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"location_id": 67890,
"product_id": 1001,
"unit_id": 1,
"quantity": 42,
"required_quantity": 0,
"available_quantity": 42,
"threshold_quantity": 5,
"product_name": "Example Product",
"sku": "SKU-1001",
"barcode": "012345678905",
"source": "order_deduction"
},
"api_url": "https://api-dev.salesvu.com/v1/inventory/list"
}
}
catalog.product.created
— Catalog product created
Summary product fields only. Refetch: POST data.api_url with location_id and optional product_id.
Mode: summary
· Scope: read:catalog
· Domain: catalog
{
"id": "evt_01EXAMPLE",
"type": "catalog.product.created",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"product_id": 1001,
"product_name": "Example Product",
"product_short_name": "Example",
"description": "Sample description",
"sku": "SKU-1001",
"barcode": "012345678905",
"selling_price": 9.99,
"ecommerce_price": 9.99,
"category_id": 10,
"top_category_id": 1,
"category_name": "Beverages",
"unit_id": 1,
"parent_product_id": 0,
"for_sale": 1,
"product_type": 0,
"is_active": 1,
"status": "active",
"online_status": 1,
"image": "",
"deleted": 0
},
"api_url": "https://api-dev.salesvu.com/v1/catalog/products"
}
}
catalog.product.updated
— Catalog product updated
Same summary shape as catalog.product.created. Refetch: POST data.api_url with location_id and optional product_id.
Mode: summary
· Scope: read:catalog
· Domain: catalog
{
"id": "evt_01EXAMPLE",
"type": "catalog.product.updated",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"product_id": 1001,
"product_name": "Example Product",
"product_short_name": "Example",
"description": "Sample description",
"sku": "SKU-1001",
"barcode": "012345678905",
"selling_price": 9.99,
"ecommerce_price": 9.99,
"category_id": 10,
"top_category_id": 1,
"category_name": "Beverages",
"unit_id": 1,
"parent_product_id": 0,
"for_sale": 1,
"product_type": 0,
"is_active": 1,
"status": "active",
"online_status": 1,
"image": "",
"deleted": 0
},
"api_url": "https://api-dev.salesvu.com/v1/catalog/products"
}
}
catalog.product.deleted
— Catalog product deleted
Includes soft-deleted product; deleted=1 and status=deleted. Refetch: POST data.api_url with location_id and optional product_id.
Mode: summary
· Scope: read:catalog
· Domain: catalog
{
"id": "evt_01EXAMPLE",
"type": "catalog.product.deleted",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"product_id": 1001,
"product_name": "Example Product",
"product_short_name": "Example",
"description": "Sample description",
"sku": "SKU-1001",
"barcode": "012345678905",
"selling_price": 9.99,
"ecommerce_price": 9.99,
"category_id": 10,
"top_category_id": 1,
"category_name": "Beverages",
"unit_id": 1,
"parent_product_id": 0,
"for_sale": 1,
"product_type": 0,
"is_active": 0,
"status": "deleted",
"online_status": 1,
"image": "",
"deleted": 1
},
"api_url": "https://api-dev.salesvu.com/v1/catalog/products"
}
}
customer.created
— Customer created
customer_id is a string GUID (never cast to int). Refetch: POST data.api_url with customer_ids: [customer_id] and location_id or owner_id.
Mode: summary
· Scope: read:customers
· Domain: customers
{
"id": "evt_01EXAMPLE",
"type": "customer.created",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"customer_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"owner_id": 12345,
"store_id": 67890,
"first_name": "Jane",
"middle_name": "",
"last_name": "Doe",
"email": "[email protected]",
"phone": "+15551234567",
"address": "123 Main St",
"city": "Austin",
"state": "TX",
"country": "US",
"zipcode": "78701",
"account_number": "CUST-1001",
"barcode": "",
"external_customer_id": "",
"source": "pos"
},
"api_url": "https://api-dev.salesvu.com/v1/customers/get"
}
}
customer.updated
— Customer updated
Same summary shape as customer.created. Refetch: POST data.api_url with customer_ids: [customer_id] and location_id or owner_id.
Mode: summary
· Scope: read:customers
· Domain: customers
{
"id": "evt_01EXAMPLE",
"type": "customer.updated",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"customer_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"owner_id": 12345,
"store_id": 67890,
"first_name": "Jane",
"middle_name": "",
"last_name": "Doe",
"email": "[email protected]",
"phone": "+15551234567",
"address": "123 Main St",
"city": "Austin",
"state": "TX",
"country": "US",
"zipcode": "78701",
"account_number": "CUST-1001",
"barcode": "",
"external_customer_id": "",
"source": "pos"
},
"api_url": "https://api-dev.salesvu.com/v1/customers/get"
}
}
purchase_order.created
— Purchase order created
PO header summary. Refetch: POST data.api_url with location_id and purchase_order_id.
Mode: summary
· Scope: read:purchase_orders
· Domain: purchase_orders
{
"id": "evt_01EXAMPLE",
"type": "purchase_order.created",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"purchase_order_id": 9001,
"vendor_id": 55,
"po_name": "PO-9001",
"status": 1,
"payment_status": 0,
"amount": 250,
"discount_amount": 0,
"total_charges": 250,
"external_order_id": "",
"vendor_invoice_number": "INV-55",
"parent_purchase_order_id": 0,
"expected_delivery_date": "2026-08-30",
"receive_date": "",
"create_date": "2026-08-24 10:00:00",
"update_date": "2026-08-24 11:00:00",
"deleted": 0,
"approved_by": 0,
"vendor_approval_status": 0
},
"api_url": "https://api-dev.salesvu.com/v1/purchase-orders/get"
}
}
purchase_order.updated
— Purchase order updated
Same header summary as purchase_order.created. Refetch: POST data.api_url with location_id and purchase_order_id.
Mode: summary
· Scope: read:purchase_orders
· Domain: purchase_orders
{
"id": "evt_01EXAMPLE",
"type": "purchase_order.updated",
"api_version": "2026-07-17",
"created_at": "2026-08-24T12:00:00+00:00",
"owner_id": 12345,
"store_id": 67890,
"data": {
"object": {
"store_id": 67890,
"purchase_order_id": 9001,
"vendor_id": 55,
"po_name": "PO-9001",
"status": 1,
"payment_status": 0,
"amount": 250,
"discount_amount": 0,
"total_charges": 250,
"external_order_id": "",
"vendor_invoice_number": "INV-55",
"parent_purchase_order_id": 0,
"expected_delivery_date": "2026-08-30",
"receive_date": "",
"create_date": "2026-08-24 10:00:00",
"update_date": "2026-08-24 11:00:00",
"deleted": 0,
"approved_by": 0,
"vendor_approval_status": 0
},
"api_url": "https://api-dev.salesvu.com/v1/purchase-orders/get"
}
}