Live product search from your own software
Point the agent at a search URL your inventory software already exposes. It searches live when a customer asks, with no catalogue sync, and only the catalogue fields you select reach the AI.
For developers · checked against the product 7 Oct 2026
Dvaarik's Custom Commerce API lets a store that is not on Shopify, WooCommerce or Magento work with the AI agent in both directions. Your store sends events, such as a checkout left open, a cash-on-delivery order waiting for confirmation, a cancellation or a failed delivery, as HTTPS POSTs signed with HMAC-SHA256 under version 2026-08-30. The agent contacts the customer the way the business chose, on WhatsApp or by phone, and records the answer. With an actions URL saved, Dvaarik then sends your store a signed action under version 2026-10-06 to carry that decision out.
Free signup, no card. The connection URL and signing key are created in your dashboard.
One event: a cash-on-delivery order to confirm
POST <connection URL from your dashboard>
Content-Type: application/json
X-Webhook-Api-Version: 2026-08-30
X-Webhook-Topic: order/cod_pending
X-Webhook-Event-Id: 2a1f0d7e-1c4b-4b6e-9f5a-3f2b1c0d9e8a
X-Webhook-Timestamp: 1791300000
X-Webhook-Signature: sha256=<hex>
{"order_id":"ORD-1042","order_number":"#1042",
"customer_phone":"+919876543210","amount":"2499.00",
"currency":"INR","item_count":2}Dvaarik's Custom Commerce API accepts six event topics: three for checkouts, two for cash-on-delivery orders and one for failed deliveries. Your store reports what happened; the business's own settings decide what the agent does next.
| Topic | Send it when | What Dvaarik does |
|---|---|---|
checkout/updated | A shopper's checkout is still open and something changed: items, amount, phone or their permission to be messaged. | Opens or refreshes one cart case. If cart recovery is on, a reminder goes out after the delay you chose, only to the audience you allowed. |
checkout/completed | The checkout became an order. | Stops every reminder for that checkout. |
checkout/cancelled | The checkout was closed for good. | Stops every reminder for that checkout. |
order/cod_pending | A cash-on-delivery order was placed and nobody has confirmed the customer still wants it. | Asks the customer to confirm or cancel, on WhatsApp or by phone as you configured, and records the decision. |
order/cancelled | The order stopped being live, for any reason. | Stops any follow-up already running for that order. |
shipment/ndr | A delivery attempt failed. Send the tracking number (AWB) and which attempt it was. | Asks the customer whether to try delivery again or send the parcel back, and records the answer. |
In short, a custom store sends Dvaarik facts, never instructions: there is no “send a WhatsApp now” event. Each topic reads a short list of fields, such as the order id, the customer's phone, the amount and the item count, and ignores everything else. Checkout events also carry a rising revision number and the customer's own link back to your checkout.
Every Custom Commerce API request is signed with HMAC-SHA256 using your business's one private signing key: your store signs the events it sends, and Dvaarik signs the actions it sends back, with “action.” in front so a signature is only ever valid in one direction.
The signature, in both directions
events: signed_payload = timestamp + "." + raw_request_body
actions: signed_payload = "action." + timestamp + "." + raw_request_body
signature = "sha256=" + hex(HMAC_SHA256(signing_key, signed_payload))Event headers start with X-Webhook-: Api-Version, Topic, Event-Id, Timestamp and Signature. Events are limited to 64 KB each and 600 a minute for one business. Actions carry Api-Version, Action-Id, Timestamp and Signature.
Your store sends a new lower-case UUID for each genuine event and repeats the same one on every retry, so Dvaarik stores each event once. Duplicates are also collapsed on the order id, or on the tracking number and attempt for a failed delivery, so the customer is not asked twice.
| Response | Meaning and what to do |
|---|---|
| 202 | Stored durably. The event is Dvaarik's now; nothing else to do. |
| 400 | Malformed: unsupported version or topic, bad event id or a timestamp outside the window. Fix the request; do not retry it. |
| 401 | The signature did not verify. Check the key and that you signed the exact bytes you sent. |
| 409 | That event id was already used for a different event. Use a new UUID for each genuine event. |
| 429 | Too many deliveries this minute. Back off and retry. |
| 503 | The event could not be stored. Retry with the same event id. |
The custom store API asks you to retry only on 503, 429 or a timeout. A 202 means the event is stored, not that the customer has been contacted: the business's workflow, calling hours, the customer's permission and Do Not Contact decide that.
Dvaarik turns each event into one case on the business's COD confirmations, Failed deliveries or Cart recovery page, and the owner's settings decide whether the agent messages, calls or leaves it for the team.
Dvaarik sends each customer decision to the actions URL your developer exposes and the owner saves under Order actions: one signed JSON POST per delivery, under its own version, 2026-10-06. Your store carries it out and answers applied, rejected or pending.
| Action | Sent when | What your store does |
|---|---|---|
order.confirm_cod | The customer confirmed a cash-on-delivery order. | Marks the order confirmed and releases it for shipping. Takes no payment. |
order.cancel | The customer does not want the order. | Cancels it and restocks. If it has shipped or been paid, answers rejected. |
order.update_address | The customer gave a new delivery address before shipping. | Replaces the order's shipping address with the address in the body, or answers rejected once it has shipped. |
shipment.reattempt | A delivery failed and the customer wants another attempt. | Asks its courier to deliver again, using the AWB and shipment id in the body. |
shipment.return | A delivery failed and the customer does not want the parcel. | Asks its courier to return the parcel. |
In short, the custom store API sends five kinds of action: two for a cash-on-delivery order's confirmation or cancellation, one for its new address, and two for a parcel after a failed delivery. Each refers only to ids your store sent in its events, carries the new address only on order.update_address and the AWB and shipment id only on the shipment actions, and never asks the store to charge or refund anyone.
Customer confirmations and cancellations go out once the owner's COD workflow is on, a new address before shipping needs no approval, and deliver-again or return requests follow the owner's automatic-reattempt and return switches. Send test action in the dashboard posts test.ping, which names no order and must change nothing. Without an actions URL, every decision waits on the owner's dashboard, and changing or removing the URL sends decisions on orders received before the change to the owner.
One action: the customer confirmed a COD order
POST <your actions URL>
Content-Type: application/json
X-Webhook-Api-Version: 2026-10-06
X-Webhook-Action-Id: 6f1c2a3e-9b7d-4c1e-8a2f-0d5e4b3c2a19
X-Webhook-Timestamp: 1791300000
X-Webhook-Signature: sha256=<hex>
{"action_id":"6f1c2a3e-9b7d-4c1e-8a2f-0d5e4b3c2a19",
"api_version":"2026-10-06","channel":"whatsapp",
"order_id":"ORD-1042","order_number":"#1042",
"requested_at":"2026-10-06T09:30:15Z",
"type":"order.confirm_cod"}
Your answer, within 8 seconds:
{"status":"applied","reference":"CNF-1042"}Besides events and actions, a custom store can let the Dvaarik agent search its live catalogue and answer with product photos and links, while every message goes out from the business's own WhatsApp number.
Point the agent at a search URL your inventory software already exposes. It searches live when a customer asks, with no catalogue sync, and only the catalogue fields you select reach the AI.
When your feed includes a product's image and page address, the agent's answers in chat can show the photo with a link to that product on your own site.
Confirmation, failed-delivery and cart messages go out from your own WhatsApp Business number. Meta bills its message charges to that account, and Dvaarik adds no markup.
The Dvaarik dashboard gives your developer everything needed to connect: on the COD confirmations, Failed deliveries or Cart recovery page, open the follow-up settings and choose Connect my own checkout or delivery software.
Prefer to read the contract before signing up? Ask us for the API guide and we will send it to your developer.
Dvaarik's custom store connection takes events and carries out customer decisions today; placing orders and reading delivery status through your own API are not switched on yet.
Dvaarik's Custom Commerce API is described below as the product works on 7 Oct 2026. Prices in force from 5 October 2026.
No. Any store that can send an HTTPS POST when a checkout changes, a cash-on-delivery order is placed, an order is cancelled or a delivery fails can use Dvaarik's Custom Commerce API. Shopify, WooCommerce and Magento stores can connect directly instead, and WooCommerce stores can use this API for cart events.
Each request is signed with HMAC-SHA256 over the timestamp, a dot and the raw request body, using the private signing key your dashboard creates for your business. Dvaarik rejects a timestamp more than five minutes from its own clock in either direction, and the business is identified by the key, never by anything in the body. Requests also carry the API version, 2026-08-30, the topic and a unique event id.
Yes, once your developer builds an actions endpoint and the owner saves its HTTPS address under Order actions on the store connection. Dvaarik then sends each customer decision there as a signed action, version 2026-10-06: confirm a cash-on-delivery order, cancel it, change its address, deliver again or return the parcel. Your store carries it out and answers applied, rejected or pending. Without an actions URL, every decision waits on the owner's dashboard to be carried out by hand.
Actions use the same signing key as your events, with the text “action.” in front of the timestamp: the HMAC-SHA256 covers “action.” + timestamp + “.” + the raw body. That prefix makes every signature valid in one direction only, so an action can never pass as an event or an event as an action. Each action carries the headers X-Webhook-Signature, X-Webhook-Timestamp, X-Webhook-Action-Id and X-Webhook-Api-Version.
A customer's confirmation or cancellation of a cash-on-delivery order is sent once the owner's COD confirmations workflow is on, and a customer's new address before shipping needs no approval. Deliver-again and return requests after a failed delivery are sent automatically only if the owner switched on automatic reattempts or returns; otherwise they wait for the owner's OK. A decision the owner makes in the dashboard is sent directly.
Send the same event id on every retry and Dvaarik stores the event once. As a second safeguard, duplicates are also collapsed on the order id, or on the tracking number and attempt for a failed delivery, so a queue that retries with a fresh id still does not ask the customer twice. Reusing one event id for a different event returns 409.
No. A 202 means Dvaarik has stored the event durably. Whether and when the customer is contacted depends on the workflow the business has switched on: the contact method, the waiting time, calling hours, the customer's permission and Do Not Contact.
Inside the dashboard. On the COD confirmations, Failed deliveries or Cart recovery page, open the follow-up settings and use Connect my own checkout or delivery software. It creates your connection URL and private signing key and gives your developer a guide to copy or download, with the event and action versions, signing steps, supported events and actions and an example. You can also write to hello@dvaarik.com for the full guide; there is no public documentation site yet.
Nothing per event or action. Dvaarik's usual usage prices apply when the agent works: ₹0.05 per successful AI reply and ₹0.50 a call minute in 30-second steps, with no monthly fee. WhatsApp template messages are billed by Meta to your own WhatsApp Business account.
Sign up as a D2C brand, create your connection, send a test event and a test action, and watch them land before you switch anything on.