analytics_listingsread-only | Read views and leads (times a buyer opened contact) per listing per day over a date range, the last 30 days unless you choose one, with each listing's all-time totals. Answers a page of listings at a time with `next_cursor` for the next. Use analytics_summary for the shop's overall totals. Changes nothing. |
analytics_summaryread-only | Read this shop's totals in one call: how many listings it has, how many are active, sold or hidden, how many still wait for eno's check, and the total views and leads (times a buyer opened contact) across all of them. For per-listing, per-day figures use analytics_listings. Changes nothing. |
bulk_create_listings | Post up to 200 new listings in one call, one row each (category, title, price in VND, optional text and photos as public image URLs). Rows are independent: a bad row fails alone and the others are created. Returns how many were created and failed, and a result per row with the new id or the reason it failed. To keep eno matched to your own system by your own ids, use sync_catalogue instead. |
create_listing | Post one new listing for this shop: a category, a title and a price in VND (a job gives its monthly salary in `salaryM` instead), with optional text, location, condition and photos as public image URLs that eno copies to its own storage (the first 8 are used). Longer text is cut to fit: title 140 characters, description 5,000, district 80, condition 60. The listing goes live at once unless eno must check it first (`verified: false` in the result). Refused with a reason, and nothing created, when the text holds a phone number, the category is unknown or the account may not post right now. Returns the new listing's `id` (for update_listing and set_listing_status), `verified` (true when it is already public) and `held` (true while it waits for eno's licence check). Use it for a listing the seller has asked to post. |
delete_listingdestructive | Permanently delete one of this shop's listings; it cannot be undone (use set_listing_status hidden to take it down instead). While the shop or the listing is under investigation (an open report, or the account is held or suspended) it is hidden instead of deleted: the result then says `deleted: false, hidden: true` and why. |
delete_webhookdestructive | Remove one of this shop's webhook endpoints; eno stops sending it events at once. It cannot be undone: registering the address again gives a new id and a new secret. |
get_listingread-only | Read one of this shop's listings by id, in any status, with all its fields: title, text, price, status, category, location, photos, views and leads. Use it to see the current values before update_listing. Fails with `not_found` when the id is not one of this shop's listings. Changes nothing. |
get_shopread-only | Read the storefront this connection acts for: its id, name, bio, location, phone, logo, trust score and tier, response rate, member-since date and how many listings are live now. Use it to confirm which shop this connection acts for. Changes nothing. |
list_listingsread-only | List this shop's own listings, newest first, in every status unless you ask for one: active (on sale), sold or hidden. Each page returns the listings with price, status, category and photos, plus `next_cursor` to fetch the next page. Use get_listing to read one listing by id. Changes nothing. |
list_webhooksread-only | List the webhook endpoints registered for this shop: where events are sent, which events, whether delivery is on, and recent failures. Signing secrets are never returned. Changes nothing. |
register_webhook | Register an HTTPS endpoint of yours that eno will POST signed events to when this shop's listings are created, updated, change status or are deleted. Returns the webhook with its signing secret, shown only this once: store it to verify each event's signature. A shop can have up to 10 webhooks. |
set_listing_statusdestructive | Put one of this shop's listings on sale (active), mark it sold, or hide it from the site without deleting it. Use sold when the item is gone and hidden to take it down for now; either can be undone by setting active again. Re-activating is refused with a reason when the account is held or suspended, or with `licence_check_required` while the listing waits for eno's licence check. Returns the status the listing now has. |
sync_cataloguedestructive | Make this shop's listings match your own catalogue, matched by your externalId: a new externalId creates a listing, a known one updates it in place, and a row's status can mark it sold or hidden. In mode "full", every active listing whose externalId is missing from this payload is also hidden (listings without an externalId, such as ones posted on the website, are never touched). Up to 200 rows per call. Returns counts of created, updated, retired and failed rows and a result per row; when the account may not publish new listings, new rows are refused while edits still apply, and `publish_blocked` says why. |
update_listingdestructive | Change one of this shop's listings: only the fields you send change. Photos you send replace the current set (public URLs are copied to eno's storage; the first 8 are used), and text is cut to the same lengths as create_listing. A job's pay is `salaryM`; a `price` sent for a job is read as its monthly salary in VND. An edit of a listing waiting for eno's licence check is saved with the listing kept unpublished until eno approves it (the result says `held: true`); this tool cannot change a subcategory or the licence values. |
update_shopdestructive | Change this shop's profile: the name, bio, location and logo buyers see on its page, and the contact phone eno shares with a buyer inside its chat. Send only the fields to change; the others stay as they are (get_shop shows the current values). Long text is shortened to fit: name 120 characters, bio 1,000, location 120; a name needs at least 2. A phone number another shop already uses is refused with `phone_taken`. Returns `ok: true` once the change is saved. |