Skip to content

Car listings site

A recipe for a site where private sellers and dealers sell cars. The goal of the program is more complete, high-quality listings, fast replies to buyers and purchases of paid services.

Type When to send Key fields
user.phone_verified the seller verified their phone seller_type
listing.published the listing passed moderation seller_type, listing.id, listing.photos, listing.has_vin, listing.description_chars
listing.updated the seller edited the listing listing.id
listing.rejected moderation rejected the listing listing.id
message.replied the seller replied to a buyer —
service.paid a paid service was bought: bump, VIP, package order_id, amount, currency, items
complaint.confirmed a complaint about the listing was confirmed listing.id
listing.closed the listing was taken down listing.id
{
"event_id": "evt_40217",
"type": "listing.published",
"user_ref": "s_81c3",
"seller_type": "private",
"occurred_at": "2026-11-05T10:14:52Z",
"listing": { "id": "L-552918", "photos": 14, "has_vin": true, "description_chars": 640 }
}
  • seller_type (private or dealer) is marked in the vocabulary as a user attribute: send it in events, and scenario audiences will know who the seller is.
  • listing.rejected and complaint.confirmed are rollbacks: they refer to the listing by listing.id and exclude its publication. A listing that passes moderation again counts.
  • listing.closed marked “sold” is the seller’s word; the site doesn’t verify it. We count it in statistics but don’t reward it.
Scenario Steps Reward
Complete listing the listing passed moderation: 10+ photos, VIN, description of 300+ characters; counted for each listing separately 30% off bumping this listing
Active dealer 20 complete listings in any 30 days, dealers only a badge and 15% off the VIP package

“Complete listing” is a scenario with an object: each listing has its own progress and reward. The reward carries applies_to: listing_boost and applies_to_ref: L-552918, the listing the discount belongs to.

{
"reward_id": "rw_7730",
"status": "available",
"name": "Bump discount",
"percent": 30,
"applies_to": "listing_boost",
"applies_to_ref": "L-552918",
"scenario": { "key": "complete_listing", "object_ref": "L-552918" },
"expires_at": "2026-12-19T10:15:00Z"
}
  1. On the reward.available webhook, fetch the terms with GET /v1/rewards/{reward_id} and create a discount in your billing: on the service from applies_to, for the listing from applies_to_ref if it is set.
  2. When the seller buys the service, reserve the reward (reserve) with the order number and redeem it after payment (redeem). Details are in the Checkout guide.
  3. Send service.paid with the amount after the discount.

Public badges such as “Verified seller” can be shown to buyers. For a listings page, fetch them in one request for up to 100 sellers:

GET /v1/badges?user_refs=s_81c3,s_9f20

You can cache the response for up to 5 minutes, or store badges on your side and update them from the badge.earned and badge.revoked webhooks.

  • events from the table are sent from the server, signed, and listing.published only after moderation
  • seller_type arrives in events
  • webhooks are received, the signature is verified, duplicates are dropped
  • the service discount is created once per reward_id
  • reserve at service checkout, redeem after payment, and payment without the discount if Zirva fails
  • with group: control the program isn’t shown to the seller
  • an export of listing and service history is handed to us for a one-time import