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#

EventSent whenData
order.createdA customer places an order (cash on delivery, or an online order before it is paid).Order
order.paidAn online payment is confirmed, or staff mark an order as paid.Order
order.updatedAn order moves to another status (also sent together with order.shipped, order.delivered and the other status events).Order
order.cancelledAn order is cancelled.Order
order.shippedAn order is marked shipped.Order
order.out_for_deliveryAn order is marked out for delivery.Order
order.deliveredAn order is marked delivered.Order
order.refundedA refund of an order is recorded as processed (the gateway reports it, or staff record a refund they paid by hand).Order
shipment.updatedThe courier, AWB number or tracking link of an order changes.Shipment

Products#

EventSent whenData
product.createdA product is added (in the admin or through the API). Product imports do not send this.Product
product.updatedA product, its sizes or its prices are edited, or it is published or set back to draft.Product
product.archivedA product is archived.Product

Stock#

EventSent whenData
inventory.lowA size drops to its reorder level (sent once each time it crosses).Stock row
inventory.outA size runs out of stock (sent once each time it crosses).Stock row

People#

EventSent whenData
customer.createdA new person is added to your contact list (a customer, lead or subscriber: see the type field).Contact
review.createdA customer posts a product review (it may still be waiting for moderation: see the status field).Review

Returns#

EventSent whenData
return.requestedA customer asks to return items, or a staff member enters a return for a customer.Return
return.approvedA return is approved.Return
return.receivedThe items of a return are marked received (each one put back on sale or written off).Return
return.refundedThe 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.

FieldTypeMeaning
idintegerThe order id.
numberstringThe 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.
statusstringplaced, packed, shipped, out_for_delivery, delivered or cancelled.
payment_methodstringHow the order is paid, for example cod for cash on delivery.
payment_statusstringpending, awaiting, paid, failed, partially_refunded or refunded. It cannot be changed through the API.
subtotalintegerTotal of the item lines, in whole units of the store's currency.
discountintegerDiscount applied, in whole units of the store's currency.
shippingintegerShipping charge, in whole units of the store's currency.
totalintegerAmount to pay, in whole units of the store's currency.
couponstring or nullThe coupon code used, if any.
customerobjectThe customer who placed the order.
customer.namestringThe customer's name.
customer.emailstring or nullThe customer's email address.
customer.phonestring or nullThe customer's phone number.
addressobjectThe delivery address.
address.line1stringFirst address line.
address.line2string or nullSecond address line.
address.citystring or nullCity.
address.statestring or nullState.
address.pincodestringPincode.
courierstring or nullThe courier, once shipment details are saved.
awbstring or nullThe AWB (consignment) number.
itemsarrayThe order lines. They cannot be changed through the API.
items[].product_idinteger or nullThe product id.
items[].namestringThe product name when it was ordered.
items[].variantstringThe size label when it was ordered.
items[].priceintegerPrice of one unit, in whole units of the store's currency.
items[].qtyintegerUnits ordered.
created_atstringWhen the order was placed (ISO 8601, with its UTC offset).
sourcestringWhere 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_urlstring or nullThe tracking link.
cancel_reasonstring or nullWhy the order was cancelled.
refund_statusstringnone when no refund is recorded. Other values describe the refund; order.refunded is sent when one is processed.
refunded_amountnumberAmount refunded, in the store's currency. 0 when nothing was refunded.
updated_atstringWhen the order was last changed (ISO 8601, UTC).
giftbooleantrue when the shopper marked the order as a gift. Read only.
gift_messagestring or nullThe 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.
packagingobject or nullThe gift packaging chosen, as it was when the order was placed. null when none was chosen. Read only.
packaging.namestringThe name of the packaging option.
packaging.feeintegerThe packaging fee, in whole units of the store's currency. It is already inside the order total.
packaging.gst_ratenumber or nullThe GST rate of the packaging fee, in percent.

The product#

It is the full product, with the expand=full fields.

FieldTypeMeaning
idintegerThe product id. Ids never change and are never reused.
skustring or nullThe product SKU. null when the product has none.
namestringThe product name.
slugstringThe web address part of the product page.
activebooleantrue when the product is published. false for a draft or an archived product (status tells which).
categorystring or nullThe name of the category.
urlstringThe address of the product page in the shop.
shortstring or nullThe short description.
imagesarrayAddresses of the product pictures.
variantsarrayThe sizes of the product.
variants[].idintegerThe size id.
variants[].labelstringThe size label, for example "250 g".
variants[].priceintegerSelling price, in whole units of the store's currency.
variants[].mrpintegerMRP, in whole units of the store's currency.
variants[].stockintegerUnits available to sell. Read only: stock changes only through stock adjustments.
statusstringpublished, draft or archived.
category_idinteger or nullThe category id.
hsnstring or nullHSN code used on GST invoices.
gst_ratenumber or nullGST rate in percent. null means the store default applies.
sortintegerPosition in lists (lower first).
created_atstringWhen the product was created (ISO 8601, UTC).
updated_atstringWhen the product was last changed (ISO 8601, UTC).
descriptionstringThe description as plain text.

The stock row#

The same row the stock list returns.

FieldTypeMeaning
variant_idintegerThe size id.
product_idintegerThe product id.
productstringThe product name.
sizestringThe size label.
skustring or nullThe SKU of the size (or of the product when it has one size).
on_handintegerUnits counted on the shelf.
reservedintegerUnits held for orders.
availableintegerUnits the shop can sell from.
reorder_levelinteger or nullThe level at which the size counts as low. null means the store's default level applies.
statusstringin_stock, low or out.
counted_atstring or nullWhen the size was last counted (ISO 8601, UTC).
updated_atstring or nullWhen the stock level last changed (ISO 8601, UTC).

The contact#

With personal details switched off, email and phone are masked.

FieldTypeMeaning
idintegerThe contact id.
namestringThe contact's name. A contact without a name shows as "Contact #id" while personal details are hidden.
typestringcustomer, lead, partner, subscriber, retailer, distributor, restaurant, bulk_buyer, consumer or other.
statusstringactive, inactive or archived.
emailstring or nullEmail address. Masked (for example c***@example.com) unless the key has the personal details option.
phonestring or nullPhone number. Masked (only the last 4 digits show) unless the key has the personal details option.
citystring or nullCity.
statestring or nullState.
orders_countintegerHow many orders the contact has placed.
paid_orders_countintegerHow many of those orders are paid.
last_order_atstring or nullWhen the contact last ordered (ISO 8601, UTC).
created_atstringWhen the contact was added (ISO 8601, UTC).
updated_atstringWhen the contact was last changed (ISO 8601, UTC).

The review#

With personal details switched off, name and email are masked.

FieldTypeMeaning
idintegerThe review id.
product_idintegerThe product the review is about.
ratinginteger or nullThe star rating.
statusstringThe moderation status. A new review may still be waiting for moderation, for example pending.
verified_ownerbooleantrue when the reviewer really bought the product.
namestringThe reviewer's name (first letter and *** when personal details are off).
emailstring or nullThe reviewer's email address (masked when personal details are off).
bodystringThe review text.
created_atstringWhen the review was posted (ISO 8601, UTC).

The shipment#

The courier, AWB and tracking link of an order.

FieldTypeMeaning
order_idintegerThe order id.
order_numberstringThe order number.
statusstringThe order status.
courierstring or nullThe courier.
awbstring or nullThe AWB (consignment) number.
tracking_urlstring or nullThe tracking link.
updated_atstringWhen 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.

FieldTypeMeaning
idintegerThe return id.
numberstringThe return number. It is text: RT-, the date as yymmdd, a dash and four letters or digits.
statusstringrequested, 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.)
sourcestringWho started the return: customer (the shopper asked) or staff (a team member entered it).
order_idintegerThe id of the order the items were bought on.
order_numberstringThe number of that order. Use it to read the order from the API.
reasonstringA short code for the reason chosen when the return was made.
reason_labelstringThe reason in words.
customerobjectThe customer who placed the order.
customer.namestringThe customer's name.
customer.emailstring or nullThe customer's email address. Masked when the endpoint is set not to include personal details.
customer.phonestring or nullThe customer's phone number. Masked when the endpoint is set not to include personal details.
itemsarrayThe items being returned.
items[].order_item_idintegerThe id of the order line.
items[].product_idinteger or nullThe product id.
items[].namestringThe product name when it was ordered.
items[].variantstringThe size label when it was ordered.
items[].qtyintegerUnits the customer wants to return.
items[].qty_receivedinteger or nullUnits that arrived. null until the return is marked received.
items[].actionstring or nullWhat was done with the received items: resell (back on sale) or writeoff (not sellable). null until the return is marked received.
shipping_payerstringWho pays to send the items back: store or customer.
refund_amountnumber or nullThe refund amount worked out or set for this return, in whole units of the store's currency. null until a refund is started.
refunded_amountnumber or nullThe amount refunded, in whole units of the store's currency. null until the refund is recorded as done.
requested_atstringWhen the return was requested (ISO 8601, UTC).
updated_atstringWhen 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"
    }
}