Webhooks
Events
On this page
Your store can send 20 events. Choose the ones you need for each endpoint. Each message has the shape described on the overview; only type and data change.
Orders#
| Event | Sent when | Data |
|---|---|---|
order.created | A customer places an order (cash on delivery, or an online order before it is paid). | Order |
order.paid | An online payment is confirmed, or staff mark an order as paid. | Order |
order.updated | An order moves to another status (also sent together with order.shipped, order.delivered and the other status events). | Order |
order.cancelled | An order is cancelled. | Order |
order.shipped | An order is marked shipped. | Order |
order.out_for_delivery | An order is marked out for delivery. | Order |
order.delivered | An order is marked delivered. | Order |
order.refunded | A refund of an order is recorded as processed (the gateway reports it, or staff record a refund they paid by hand). | Order |
shipment.updated | The courier, AWB number or tracking link of an order changes. | Shipment |
Products#
| Event | Sent when | Data |
|---|---|---|
product.created | A product is added (in the admin or through the API). Product imports do not send this. | Product |
product.updated | A product, its sizes or its prices are edited, or it is published or set back to draft. | Product |
product.archived | A product is archived. | Product |
Stock#
| Event | Sent when | Data |
|---|---|---|
inventory.low | A size drops to its reorder level (sent once each time it crosses). | Stock row |
inventory.out | A size runs out of stock (sent once each time it crosses). | Stock row |
People#
| Event | Sent when | Data |
|---|---|---|
customer.created | A new person is added to your contact list (a customer, lead or subscriber: see the type field). | Contact |
review.created | A customer posts a product review (it may still be waiting for moderation: see the status field). | Review |
Returns#
| Event | Sent when | Data |
|---|---|---|
return.requested | A customer asks to return items, or a staff member enters a return for a customer. | Return |
return.approved | A return is approved. | Return |
return.received | The items of a return are marked received (each one put back on sale or written off). | Return |
return.refunded | The refund of a return is recorded as done. Never sent while the refund is only requested. | Return |
Good to know
order.updated is also sent together with order.shipped, order.delivered and the other status events. inventory.low and inventory.out are sent once each time a size crosses its level. Product imports do not send product.created. An order that a staff member creates for a customer sends the same order events as any other order; its source says where it came from.
Good to know
Return events. return.requested, return.approved, return.received and return.refunded follow the life of a return. A return that is rejected or closed without a refund sends no event. Customer return requests are off until a Super Admin switches them on in the store; a return that staff enter themselves sends events too. A return is not available through the API calls: use the order number in the event to read the order.
The data of each event#
The data of an event is the object the API returns for that thing (for returns, the object described below). The example values are made up.
The order#
It is the full order, with the expand=full fields, the read-only source and the read-only gift fields. For order.cancelled the cancel_reason is filled; for order.shipped the courier, awb and tracking_url are filled; for order.refunded the refund_status and refunded_amount are filled.
| Field | Type | Meaning |
|---|---|---|
id | integer | The order id. |
number | string | The order number: the store's order prefix, the date as yymmdd, a dash and four letters or digits. It is text, and it is what you put in the address of an order call. |
status | string | placed, packed, shipped, out_for_delivery, delivered or cancelled. |
payment_method | string | How the order is paid, for example cod for cash on delivery. |
payment_status | string | pending, awaiting, paid, failed, partially_refunded or refunded. It cannot be changed through the API. |
subtotal | integer | Total of the item lines, in whole units of the store's currency. |
discount | integer | Discount applied, in whole units of the store's currency. |
shipping | integer | Shipping charge, in whole units of the store's currency. |
total | integer | Amount to pay, in whole units of the store's currency. |
coupon | string or null | The coupon code used, if any. |
customer | object | The customer who placed the order. |
customer.name | string | The customer's name. |
customer.email | string or null | The customer's email address. |
customer.phone | string or null | The customer's phone number. |
address | object | The delivery address. |
address.line1 | string | First address line. |
address.line2 | string or null | Second address line. |
address.city | string or null | City. |
address.state | string or null | State. |
address.pincode | string | Pincode. |
courier | string or null | The courier, once shipment details are saved. |
awb | string or null | The AWB (consignment) number. |
items | array | The order lines. They cannot be changed through the API. |
items[].product_id | integer or null | The product id. |
items[].name | string | The product name when it was ordered. |
items[].variant | string | The size label when it was ordered. |
items[].price | integer | Price of one unit, in whole units of the store's currency. |
items[].qty | integer | Units ordered. |
created_at | string | When the order was placed (ISO 8601, with its UTC offset). |
source | string | Where the order came from: website, phone, whatsapp, counter, marketplace or other. Read only: it cannot be changed through the API. An order placed at the online checkout is always website. |
tracking_url | string or null | The tracking link. |
cancel_reason | string or null | Why the order was cancelled. |
refund_status | string | none when no refund is recorded. Other values describe the refund; order.refunded is sent when one is processed. |
refunded_amount | number | Amount refunded, in the store's currency. 0 when nothing was refunded. |
updated_at | string | When the order was last changed (ISO 8601, UTC). |
gift | boolean | true when the shopper marked the order as a gift. Read only. |
gift_message | string or null | The plain-text gift message the shopper wrote, or null. Read only. A webhook endpoint that is set not to include personal details always gets null here. |
packaging | object or null | The gift packaging chosen, as it was when the order was placed. null when none was chosen. Read only. |
packaging.name | string | The name of the packaging option. |
packaging.fee | integer | The packaging fee, in whole units of the store's currency. It is already inside the order total. |
packaging.gst_rate | number or null | The GST rate of the packaging fee, in percent. |
The product#
It is the full product, with the expand=full fields.
| Field | Type | Meaning |
|---|---|---|
id | integer | The product id. Ids never change and are never reused. |
sku | string or null | The product SKU. null when the product has none. |
name | string | The product name. |
slug | string | The web address part of the product page. |
active | boolean | true when the product is published. false for a draft or an archived product (status tells which). |
category | string or null | The name of the category. |
url | string | The address of the product page in the shop. |
short | string or null | The short description. |
images | array | Addresses of the product pictures. |
variants | array | The sizes of the product. |
variants[].id | integer | The size id. |
variants[].label | string | The size label, for example "250 g". |
variants[].price | integer | Selling price, in whole units of the store's currency. |
variants[].mrp | integer | MRP, in whole units of the store's currency. |
variants[].stock | integer | Units available to sell. Read only: stock changes only through stock adjustments. |
status | string | published, draft or archived. |
category_id | integer or null | The category id. |
hsn | string or null | HSN code used on GST invoices. |
gst_rate | number or null | GST rate in percent. null means the store default applies. |
sort | integer | Position in lists (lower first). |
created_at | string | When the product was created (ISO 8601, UTC). |
updated_at | string | When the product was last changed (ISO 8601, UTC). |
description | string | The description as plain text. |
The stock row#
The same row the stock list returns.
| Field | Type | Meaning |
|---|---|---|
variant_id | integer | The size id. |
product_id | integer | The product id. |
product | string | The product name. |
size | string | The size label. |
sku | string or null | The SKU of the size (or of the product when it has one size). |
on_hand | integer | Units counted on the shelf. |
reserved | integer | Units held for orders. |
available | integer | Units the shop can sell from. |
reorder_level | integer or null | The level at which the size counts as low. null means the store's default level applies. |
status | string | in_stock, low or out. |
counted_at | string or null | When the size was last counted (ISO 8601, UTC). |
updated_at | string or null | When the stock level last changed (ISO 8601, UTC). |
The contact#
With personal details switched off, email and phone are masked.
| Field | Type | Meaning |
|---|---|---|
id | integer | The contact id. |
name | string | The contact's name. A contact without a name shows as "Contact #id" while personal details are hidden. |
type | string | customer, lead, partner, subscriber, retailer, distributor, restaurant, bulk_buyer, consumer or other. |
status | string | active, inactive or archived. |
email | string or null | Email address. Masked (for example c***@example.com) unless the key has the personal details option. |
phone | string or null | Phone number. Masked (only the last 4 digits show) unless the key has the personal details option. |
city | string or null | City. |
state | string or null | State. |
orders_count | integer | How many orders the contact has placed. |
paid_orders_count | integer | How many of those orders are paid. |
last_order_at | string or null | When the contact last ordered (ISO 8601, UTC). |
created_at | string | When the contact was added (ISO 8601, UTC). |
updated_at | string | When the contact was last changed (ISO 8601, UTC). |
The review#
With personal details switched off, name and email are masked.
| Field | Type | Meaning |
|---|---|---|
id | integer | The review id. |
product_id | integer | The product the review is about. |
rating | integer or null | The star rating. |
status | string | The moderation status. A new review may still be waiting for moderation, for example pending. |
verified_owner | boolean | true when the reviewer really bought the product. |
name | string | The reviewer's name (first letter and *** when personal details are off). |
email | string or null | The reviewer's email address (masked when personal details are off). |
body | string | The review text. |
created_at | string | When the review was posted (ISO 8601, UTC). |
The shipment#
The courier, AWB and tracking link of an order.
| Field | Type | Meaning |
|---|---|---|
order_id | integer | The order id. |
order_number | string | The order number. |
status | string | The order status. |
courier | string or null | The courier. |
awb | string or null | The AWB (consignment) number. |
tracking_url | string or null | The tracking link. |
updated_at | string | When the shipment details were last changed (ISO 8601, UTC). |
The return#
The items a customer sends back and what happened to them. The sample shows a finished return; in return.requested and return.approved the received quantities, the action and the refund amounts are null. With personal details switched off, the customer's email and phone are masked.
| Field | Type | Meaning |
|---|---|---|
id | integer | The return id. |
number | string | The return number. It is text: RT-, the date as yymmdd, a dash and four letters or digits. |
status | string | requested, approved, received or refunded in a return event. (A return can also be rejected or closed without a refund; no event is sent for those.) |
source | string | Who started the return: customer (the shopper asked) or staff (a team member entered it). |
order_id | integer | The id of the order the items were bought on. |
order_number | string | The number of that order. Use it to read the order from the API. |
reason | string | A short code for the reason chosen when the return was made. |
reason_label | string | The reason in words. |
customer | object | The customer who placed the order. |
customer.name | string | The customer's name. |
customer.email | string or null | The customer's email address. Masked when the endpoint is set not to include personal details. |
customer.phone | string or null | The customer's phone number. Masked when the endpoint is set not to include personal details. |
items | array | The items being returned. |
items[].order_item_id | integer | The id of the order line. |
items[].product_id | integer or null | The product id. |
items[].name | string | The product name when it was ordered. |
items[].variant | string | The size label when it was ordered. |
items[].qty | integer | Units the customer wants to return. |
items[].qty_received | integer or null | Units that arrived. null until the return is marked received. |
items[].action | string or null | What was done with the received items: resell (back on sale) or writeoff (not sellable). null until the return is marked received. |
shipping_payer | string | Who pays to send the items back: store or customer. |
refund_amount | number or null | The refund amount worked out or set for this return, in whole units of the store's currency. null until a refund is started. |
refunded_amount | number or null | The amount refunded, in whole units of the store's currency. null until the refund is recorded as done. |
requested_at | string | When the return was requested (ISO 8601, UTC). |
updated_at | string | When the return was last changed (ISO 8601, UTC). |
Sample message of each event#
order.created#
A customer places an order (cash on delivery, or an online order before it is paid).
{
"id": "evt_example0001",
"type": "order.created",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 1024,
"number": "GK-261008-7WNM",
"status": "placed",
"payment_method": "cod",
"payment_status": "pending",
"subtotal": 1197,
"discount": 100,
"shipping": 60,
"total": 1217,
"coupon": "WELCOME10",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"address": {
"line1": "12 Sample Street",
"line2": null,
"city": "Sample City",
"state": "Sample State",
"pincode": "123456"
},
"courier": null,
"awb": null,
"items": [
{
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"price": 399,
"qty": 3
}
],
"created_at": "2026-11-21T10:15:00+00:00",
"source": "website",
"tracking_url": null,
"cancel_reason": null,
"refund_status": "none",
"refunded_amount": 0,
"updated_at": "2026-11-21T10:15:00Z",
"gift": true,
"gift_message": "Happy celebrations! With best wishes.",
"packaging": {
"name": "Sample Packaging",
"fee": 60,
"gst_rate": 18
}
}
}order.paid#
An online payment is confirmed, or staff mark an order as paid.
{
"id": "evt_example0001",
"type": "order.paid",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 1024,
"number": "GK-261008-7WNM",
"status": "placed",
"payment_method": "cod",
"payment_status": "paid",
"subtotal": 1197,
"discount": 100,
"shipping": 60,
"total": 1217,
"coupon": "WELCOME10",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"address": {
"line1": "12 Sample Street",
"line2": null,
"city": "Sample City",
"state": "Sample State",
"pincode": "123456"
},
"courier": null,
"awb": null,
"items": [
{
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"price": 399,
"qty": 3
}
],
"created_at": "2026-11-21T10:15:00+00:00",
"source": "website",
"tracking_url": null,
"cancel_reason": null,
"refund_status": "none",
"refunded_amount": 0,
"updated_at": "2026-11-21T10:15:00Z",
"gift": true,
"gift_message": "Happy celebrations! With best wishes.",
"packaging": {
"name": "Sample Packaging",
"fee": 60,
"gst_rate": 18
}
}
}order.updated#
An order moves to another status (also sent together with order.shipped, order.delivered and the other status events).
{
"id": "evt_example0001",
"type": "order.updated",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 1024,
"number": "GK-261008-7WNM",
"status": "packed",
"payment_method": "cod",
"payment_status": "paid",
"subtotal": 1197,
"discount": 100,
"shipping": 60,
"total": 1217,
"coupon": "WELCOME10",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"address": {
"line1": "12 Sample Street",
"line2": null,
"city": "Sample City",
"state": "Sample State",
"pincode": "123456"
},
"courier": null,
"awb": null,
"items": [
{
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"price": 399,
"qty": 3
}
],
"created_at": "2026-11-21T10:15:00+00:00",
"source": "website",
"tracking_url": null,
"cancel_reason": null,
"refund_status": "none",
"refunded_amount": 0,
"updated_at": "2026-11-21T10:15:00Z",
"gift": true,
"gift_message": "Happy celebrations! With best wishes.",
"packaging": {
"name": "Sample Packaging",
"fee": 60,
"gst_rate": 18
}
}
}order.cancelled#
An order is cancelled.
{
"id": "evt_example0001",
"type": "order.cancelled",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 1024,
"number": "GK-261008-7WNM",
"status": "cancelled",
"payment_method": "cod",
"payment_status": "pending",
"subtotal": 1197,
"discount": 100,
"shipping": 60,
"total": 1217,
"coupon": "WELCOME10",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"address": {
"line1": "12 Sample Street",
"line2": null,
"city": "Sample City",
"state": "Sample State",
"pincode": "123456"
},
"courier": null,
"awb": null,
"items": [
{
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"price": 399,
"qty": 3
}
],
"created_at": "2026-11-21T10:15:00+00:00",
"source": "website",
"tracking_url": null,
"cancel_reason": "Customer asked to cancel",
"refund_status": "none",
"refunded_amount": 0,
"updated_at": "2026-11-21T10:15:00Z",
"gift": true,
"gift_message": "Happy celebrations! With best wishes.",
"packaging": {
"name": "Sample Packaging",
"fee": 60,
"gst_rate": 18
}
}
}order.shipped#
An order is marked shipped.
{
"id": "evt_example0001",
"type": "order.shipped",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 1024,
"number": "GK-261008-7WNM",
"status": "shipped",
"payment_method": "cod",
"payment_status": "paid",
"subtotal": 1197,
"discount": 100,
"shipping": 60,
"total": 1217,
"coupon": "WELCOME10",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"address": {
"line1": "12 Sample Street",
"line2": null,
"city": "Sample City",
"state": "Sample State",
"pincode": "123456"
},
"courier": "Sample Courier",
"awb": "38472910",
"items": [
{
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"price": 399,
"qty": 3
}
],
"created_at": "2026-11-21T10:15:00+00:00",
"source": "website",
"tracking_url": "https://courier.example.com/track/38472910",
"cancel_reason": null,
"refund_status": "none",
"refunded_amount": 0,
"updated_at": "2026-11-21T10:15:00Z",
"gift": true,
"gift_message": "Happy celebrations! With best wishes.",
"packaging": {
"name": "Sample Packaging",
"fee": 60,
"gst_rate": 18
}
}
}order.out_for_delivery#
An order is marked out for delivery.
{
"id": "evt_example0001",
"type": "order.out_for_delivery",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 1024,
"number": "GK-261008-7WNM",
"status": "out_for_delivery",
"payment_method": "cod",
"payment_status": "paid",
"subtotal": 1197,
"discount": 100,
"shipping": 60,
"total": 1217,
"coupon": "WELCOME10",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"address": {
"line1": "12 Sample Street",
"line2": null,
"city": "Sample City",
"state": "Sample State",
"pincode": "123456"
},
"courier": null,
"awb": null,
"items": [
{
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"price": 399,
"qty": 3
}
],
"created_at": "2026-11-21T10:15:00+00:00",
"source": "website",
"tracking_url": null,
"cancel_reason": null,
"refund_status": "none",
"refunded_amount": 0,
"updated_at": "2026-11-21T10:15:00Z",
"gift": true,
"gift_message": "Happy celebrations! With best wishes.",
"packaging": {
"name": "Sample Packaging",
"fee": 60,
"gst_rate": 18
}
}
}order.delivered#
An order is marked delivered.
{
"id": "evt_example0001",
"type": "order.delivered",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 1024,
"number": "GK-261008-7WNM",
"status": "delivered",
"payment_method": "cod",
"payment_status": "paid",
"subtotal": 1197,
"discount": 100,
"shipping": 60,
"total": 1217,
"coupon": "WELCOME10",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"address": {
"line1": "12 Sample Street",
"line2": null,
"city": "Sample City",
"state": "Sample State",
"pincode": "123456"
},
"courier": null,
"awb": null,
"items": [
{
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"price": 399,
"qty": 3
}
],
"created_at": "2026-11-21T10:15:00+00:00",
"source": "website",
"tracking_url": null,
"cancel_reason": null,
"refund_status": "none",
"refunded_amount": 0,
"updated_at": "2026-11-21T10:15:00Z",
"gift": true,
"gift_message": "Happy celebrations! With best wishes.",
"packaging": {
"name": "Sample Packaging",
"fee": 60,
"gst_rate": 18
}
}
}order.refunded#
A refund of an order is recorded as processed (the gateway reports it, or staff record a refund they paid by hand).
{
"id": "evt_example0001",
"type": "order.refunded",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 1024,
"number": "GK-261008-7WNM",
"status": "delivered",
"payment_method": "cod",
"payment_status": "refunded",
"subtotal": 1197,
"discount": 100,
"shipping": 60,
"total": 1217,
"coupon": "WELCOME10",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"address": {
"line1": "12 Sample Street",
"line2": null,
"city": "Sample City",
"state": "Sample State",
"pincode": "123456"
},
"courier": null,
"awb": null,
"items": [
{
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"price": 399,
"qty": 3
}
],
"created_at": "2026-11-21T10:15:00+00:00",
"source": "website",
"tracking_url": null,
"cancel_reason": null,
"refund_status": "processed",
"refunded_amount": 1217,
"updated_at": "2026-11-21T10:15:00Z",
"gift": true,
"gift_message": "Happy celebrations! With best wishes.",
"packaging": {
"name": "Sample Packaging",
"fee": 60,
"gst_rate": 18
}
}
}shipment.updated#
The courier, AWB number or tracking link of an order changes.
{
"id": "evt_example0001",
"type": "shipment.updated",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"order_id": 1024,
"order_number": "GK-261008-7WNM",
"status": "shipped",
"courier": "Sample Courier",
"awb": "38472910",
"tracking_url": "https://courier.example.com/track/38472910",
"updated_at": "2026-11-21T12:00:00Z"
}
}product.created#
A product is added (in the admin or through the API). Product imports do not send this.
{
"id": "evt_example0001",
"type": "product.created",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 7,
"sku": "SAMPLE-001",
"name": "Sample Product",
"slug": "sample-product",
"active": false,
"category": "Sample Category",
"url": "https://example.com/product/sample-product",
"short": "A short description of the product.",
"images": [
"https://example.com/img/products/sample-product.jpg"
],
"variants": [
{
"id": 31,
"label": "250 g",
"price": 399,
"mrp": 449,
"stock": 120
},
{
"id": 32,
"label": "500 g",
"price": 749,
"mrp": 849,
"stock": 60
}
],
"status": "draft",
"category_id": 3,
"hsn": "01234567",
"gst_rate": 5,
"sort": 10,
"created_at": "2026-11-01T09:00:00Z",
"updated_at": "2026-11-21T10:00:00Z",
"description": "A longer description of the product."
}
}product.updated#
A product, its sizes or its prices are edited, or it is published or set back to draft.
{
"id": "evt_example0001",
"type": "product.updated",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 7,
"sku": "SAMPLE-001",
"name": "Sample Product",
"slug": "sample-product",
"active": true,
"category": "Sample Category",
"url": "https://example.com/product/sample-product",
"short": "A short description of the product.",
"images": [
"https://example.com/img/products/sample-product.jpg"
],
"variants": [
{
"id": 31,
"label": "250 g",
"price": 399,
"mrp": 449,
"stock": 120
},
{
"id": 32,
"label": "500 g",
"price": 749,
"mrp": 849,
"stock": 60
}
],
"status": "published",
"category_id": 3,
"hsn": "01234567",
"gst_rate": 5,
"sort": 10,
"created_at": "2026-11-01T09:00:00Z",
"updated_at": "2026-11-21T10:00:00Z",
"description": "A longer description of the product."
}
}product.archived#
A product is archived.
{
"id": "evt_example0001",
"type": "product.archived",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 7,
"sku": "SAMPLE-001",
"name": "Sample Product",
"slug": "sample-product",
"active": false,
"category": "Sample Category",
"url": "https://example.com/product/sample-product",
"short": "A short description of the product.",
"images": [
"https://example.com/img/products/sample-product.jpg"
],
"variants": [
{
"id": 31,
"label": "250 g",
"price": 399,
"mrp": 449,
"stock": 120
},
{
"id": 32,
"label": "500 g",
"price": 749,
"mrp": 849,
"stock": 60
}
],
"status": "archived",
"category_id": 3,
"hsn": "01234567",
"gst_rate": 5,
"sort": 10,
"created_at": "2026-11-01T09:00:00Z",
"updated_at": "2026-11-21T10:00:00Z",
"description": "A longer description of the product."
}
}inventory.low#
A size drops to its reorder level (sent once each time it crosses).
{
"id": "evt_example0001",
"type": "inventory.low",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"variant_id": 31,
"product_id": 7,
"product": "Sample Product",
"size": "250 g",
"sku": "SAMPLE-001-250",
"on_hand": 8,
"reserved": 0,
"available": 8,
"reorder_level": 10,
"status": "low",
"counted_at": "2026-11-01T09:00:00Z",
"updated_at": "2026-11-21T10:00:00Z"
}
}inventory.out#
A size runs out of stock (sent once each time it crosses).
{
"id": "evt_example0001",
"type": "inventory.out",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"variant_id": 31,
"product_id": 7,
"product": "Sample Product",
"size": "250 g",
"sku": "SAMPLE-001-250",
"on_hand": 0,
"reserved": 0,
"available": 0,
"reorder_level": 10,
"status": "out",
"counted_at": "2026-11-01T09:00:00Z",
"updated_at": "2026-11-21T10:00:00Z"
}
}customer.created#
A new person is added to your contact list (a customer, lead or subscriber: see the type field).
{
"id": "evt_example0001",
"type": "customer.created",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 55,
"name": "Sample Customer",
"type": "customer",
"status": "active",
"email": "buyer@example.com",
"phone": "+919000000000",
"city": "Sample City",
"state": "Sample State",
"orders_count": 1,
"paid_orders_count": 1,
"last_order_at": "2026-11-21T10:15:00Z",
"created_at": "2026-11-21T10:15:00Z",
"updated_at": "2026-11-21T10:15:00Z"
}
}review.created#
A customer posts a product review (it may still be waiting for moderation: see the status field).
{
"id": "evt_example0001",
"type": "review.created",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 12,
"product_id": 7,
"rating": 5,
"status": "pending",
"verified_owner": true,
"name": "Sample Customer",
"email": "buyer@example.com",
"body": "Great product, will order again.",
"created_at": "2026-11-21T10:20:00Z"
}
}return.requested#
A customer asks to return items, or a staff member enters a return for a customer.
{
"id": "evt_example0001",
"type": "return.requested",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 21,
"number": "RT-261013-7WNM",
"status": "requested",
"source": "customer",
"order_id": 1024,
"order_number": "GK-261008-7WNM",
"reason": "damaged",
"reason_label": "Damaged product",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"items": [
{
"order_item_id": 5001,
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"qty": 1,
"qty_received": null,
"action": null
}
],
"shipping_payer": "store",
"refund_amount": null,
"refunded_amount": null,
"requested_at": "2026-11-21T10:15:00Z",
"updated_at": "2026-11-22T09:30:00Z"
}
}return.approved#
A return is approved.
{
"id": "evt_example0001",
"type": "return.approved",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 21,
"number": "RT-261013-7WNM",
"status": "approved",
"source": "customer",
"order_id": 1024,
"order_number": "GK-261008-7WNM",
"reason": "damaged",
"reason_label": "Damaged product",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"items": [
{
"order_item_id": 5001,
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"qty": 1,
"qty_received": null,
"action": null
}
],
"shipping_payer": "store",
"refund_amount": null,
"refunded_amount": null,
"requested_at": "2026-11-21T10:15:00Z",
"updated_at": "2026-11-22T09:30:00Z"
}
}return.received#
The items of a return are marked received (each one put back on sale or written off).
{
"id": "evt_example0001",
"type": "return.received",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 21,
"number": "RT-261013-7WNM",
"status": "received",
"source": "customer",
"order_id": 1024,
"order_number": "GK-261008-7WNM",
"reason": "damaged",
"reason_label": "Damaged product",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"items": [
{
"order_item_id": 5001,
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"qty": 1,
"qty_received": 1,
"action": "writeoff"
}
],
"shipping_payer": "store",
"refund_amount": null,
"refunded_amount": null,
"requested_at": "2026-11-21T10:15:00Z",
"updated_at": "2026-11-22T09:30:00Z"
}
}return.refunded#
The refund of a return is recorded as done. Never sent while the refund is only requested.
{
"id": "evt_example0001",
"type": "return.refunded",
"created": "2026-11-21T10:15:00Z",
"api_version": "2026-11-21",
"data": {
"id": 21,
"number": "RT-261013-7WNM",
"status": "refunded",
"source": "customer",
"order_id": 1024,
"order_number": "GK-261008-7WNM",
"reason": "damaged",
"reason_label": "Damaged product",
"customer": {
"name": "Sample Customer",
"email": "buyer@example.com",
"phone": "9000000000"
},
"items": [
{
"order_item_id": 5001,
"product_id": 7,
"name": "Sample Product",
"variant": "250 g",
"qty": 1,
"qty_received": 1,
"action": "writeoff"
}
],
"shipping_payer": "store",
"refund_amount": 399,
"refunded_amount": 399,
"requested_at": "2026-11-21T10:15:00Z",
"updated_at": "2026-11-22T09:30:00Z"
}
}