Vendty MCP by usefulapi

v1.6.1
io.usefulapi/vendty Checked 3 days ago Published 1 day ago

Read sales, products, customers, purchases and restaurant tables in Vendty.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

vendty_get_client_info Get API client info

Show the Vendty API client behind this token: name, rate tier, the scopes the token has, and allowed origins. Use it to see which data tools work. Vendty API: GET /v1/me.

vendty_list_products List products

List products of the business: code, name, price, category and active flag. Use updated_since for incremental sync. Use include=stock with warehouse_id for stock levels. Vendty API: GET /v1/products. Scope products:read. Offset pagination.

ParameterTypeDescription
activebooleantrue for active, false for inactive products. Default true.
category_idstringOnly products in this category (cat_…).
includestringComma-separated: stock (needs warehouse_id) and/or category.
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.
searchstringSubstring of name or code, case-insensitive.
sortstringSort order. Default -created_at.
updated_sincestringISO 8601 timestamp: only products created or updated at or after it.
warehouse_idstringWarehouse (wh_…). Required with include=stock.

vendty_get_product Get a product

Get one product by its public ID, with its details. Vendty API: GET /v1/products/{id}. Scope products:read.

ParameterTypeDescription
product_id *stringProduct ID (p_…) from vendty_list_products.

vendty_list_categories List categories

List the product categories of the business. Vendty API: GET /v1/categories. Scope products:read. Offset pagination.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.

vendty_list_customers List customers

List the business's customers (third parties) with tax ID, contact data and group. Use identification for an exact tax ID match. Vendty API: GET /v1/customers. Scope customers:read. Offset pagination.

ParameterTypeDescription
group_idstringOnly customers in this group (cg_…).
identificationstringExact tax ID (NIT or other identification).
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.
searchstringSubstring of business name, trade name or tax ID, case-insensitive.
sortstringSort order. Default -id.
updated_sincestringISO 8601 timestamp: only customers created or updated at or after it.

vendty_get_customer Get a customer

Get one customer by its public ID. Vendty API: GET /v1/customers/{id}. Scope customers:read.

ParameterTypeDescription
customer_id *stringCustomer ID (c_…) from vendty_list_customers.

vendty_list_customer_groups List customer groups

List the customer groups (price or discount groups) of the business. Vendty API: GET /v1/customer-groups. Scope customers:read. Offset pagination.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.

vendty_list_customer_sales List a customer's sales

List the sales of one customer, newest first. Pass meta.next_cursor as cursor for the next page. Vendty API: GET /v1/customers/{id}/sales. Scopes customers:read and sales:read.

ParameterTypeDescription
customer_id *stringCustomer ID (c_…).
cursorstringCursor from meta.next_cursor of the previous page. Omit it on the first page. Stop when the next cursor is null.
per_pageintegerRows per page, 1 to 100.

vendty_list_sales List sales

List sales of the business with customer, seller, warehouse and totals. Cursor pagination: pass meta.next_cursor as cursor. date_from to date_to can span at most 90 days. Vendty API: GET /v1/sales. Scope sales:read.

ParameterTypeDescription
cursorstringCursor from meta.next_cursor of the previous page. Omit it on the first page. Stop when the next cursor is null.
customer_idstringOnly sales of this customer (c_…).
date_fromstringFirst day, yyyy-mm-dd.
date_tostringLast day, yyyy-mm-dd.
includestringComma-separated: details, payments. Customer, seller and warehouse are always loaded.
invoice_numberstringExact invoice number.
per_pageintegerRows per page, 1 to 100.
seller_idstringOnly sales of this seller (sl_…).
sortstringSort order. Default -date.
statusstringvalid (default), voided, or all.
warehouse_idstringOnly sales of this warehouse (wh_…).

vendty_get_sale Get a sale

Get one sale by its public ID, with its lines and payments. Vendty API: GET /v1/sales/{id}. Scope sales:read.

ParameterTypeDescription
sale_id *stringSale ID (s_…) from vendty_list_sales.

vendty_list_payment_methods List payment methods

List the payment methods the business accepts (cash, card, and others). Vendty API: GET /v1/payment-methods. Scope sales:read. Offset pagination.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.

vendty_list_sale_credit_notes List a sale's credit notes

List the credit notes (notas crédito) issued against one sale. Vendty API: GET /v1/sales/{id}/credit-notes. Scope credit-notes:read.

ParameterTypeDescription
sale_id *stringSale ID (s_…).
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.

vendty_list_restaurant_sections List restaurant sections

List the floors and sections of the restaurant. Vendty API: GET /v1/restaurant/sections. Scope restaurant:read. Restaurant businesses only.

ParameterTypeDescription
activebooleantrue (default) for active sections only.
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.
warehouse_idstringWarehouse (wh_…).

vendty_list_restaurant_tables List restaurant tables

List the restaurant tables with their live state (occupied or free). Vendty API: GET /v1/restaurant/tables. Scope restaurant:read. Restaurant businesses only.

ParameterTypeDescription
activebooleantrue (default) for active tables only.
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.
section_idstringOnly tables of this section (rs_…).
statusstringTable state. Default all.
warehouse_idstringWarehouse (wh_…).

vendty_get_restaurant_table_order Get a table's active order

Get the open order of one restaurant table, with its items, additions and kitchen state. Vendty API: GET /v1/restaurant/tables/{id}/order. Scope restaurant:read.

ParameterTypeDescription
table_id *stringTable ID (rt_…) from vendty_list_restaurant_tables.

vendty_list_quick_service_orders List Quick Service orders

List the open Quick Service orders (zone -1), grouped by virtual table. Vendty API: GET /v1/quick-service/orders. Scope restaurant:read.

ParameterTypeDescription
warehouse_idstringWarehouse (wh_…).

vendty_list_warehouses List warehouses

List the warehouses (almacenes, bodegas) of the business. Vendty API: GET /v1/warehouses. Scope catalogs:read. Offset pagination.

ParameterTypeDescription
activebooleantrue (default) for active warehouses, false for inactive ones.
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.

vendty_list_taxes List taxes

List the taxes (impuestos) configured for the business. Vendty API: GET /v1/taxes. Scope catalogs:read.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.

vendty_list_sellers List sellers

List the sellers (vendedores, commission agents) of the business. Vendty API: GET /v1/sellers. Scope catalogs:read.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.
warehouse_idstringOnly sellers of this warehouse (wh_…).

vendty_list_users List users

List the human users of the business (not API clients). Vendty API: GET /v1/users. Scope catalogs:read.

ParameterTypeDescription
is_adminbooleantrue for admins only, false for non-admins only.
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.

vendty_list_price_lists List price lists

List the price lists (listas de precio) of the business. Vendty API: GET /v1/price-lists. Scope catalogs:read.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.
warehouse_idstringOnly price lists of this warehouse (wh_…).

vendty_list_suppliers List suppliers

List the suppliers (proveedores) of the business. Vendty API: GET /v1/suppliers. Scope purchases:read. Offset pagination.

ParameterTypeDescription
identificationstringExact tax ID.
pageintegerPage number, from 1 (default 1).
per_pageintegerRows per page, 1 to 200.
searchstringSubstring of the supplier name, case-insensitive.

vendty_list_purchase_orders List purchase invoices

List purchase invoices (facturas de compra) with supplier and totals. Cursor pagination: pass meta.next_cursor as cursor. Vendty API: GET /v1/purchase-orders. Scope purchases:read.

ParameterTypeDescription
cursorstringCursor from meta.next_cursor of the previous page. Omit it on the first page. Stop when the next cursor is null.
date_fromstringFirst day, yyyy-mm-dd.
date_tostringLast day, yyyy-mm-dd.
per_pageintegerRows per page, 1 to 100.
statusstringvalid (default), voided, or all.
supplier_idstringSupplier (sup_…).
warehouse_idstringWarehouse (wh_…).

vendty_get_purchase_order Get a purchase invoice

Get one purchase invoice by its public ID, with its lines and payments. Vendty API: GET /v1/purchase-orders/{id}. Scope purchases:read.

ParameterTypeDescription
purchase_order_id *stringPurchase invoice ID (po_…).

vendty_list_support_documents List support documents

List DIAN support documents (documentos soporte) for purchases from suppliers. Cursor pagination: pass meta.next_cursor as cursor. Vendty API: GET /v1/support-documents. Scope purchases:read.

ParameterTypeDescription
cursorstringCursor from meta.next_cursor of the previous page. Omit it on the first page. Stop when the next cursor is null.
date_fromstringFirst day, yyyy-mm-dd.
date_tostringLast day, yyyy-mm-dd.
per_pageintegerRows per page, 1 to 100.
supplier_idstringSupplier (sup_…).
warehouse_idstringWarehouse (wh_…).

vendty_get_support_document Get a support document

Get one support document by its public ID. Vendty API: GET /v1/support-documents/{id}. Scope purchases:read.

ParameterTypeDescription
support_document_id *stringSupport document ID (supdoc_…).

vendty_list_reports List report jobs

List the asynchronous report jobs generated for the business, with their status. Cursor pagination: pass meta.next_cursor as cursor. Vendty API: GET /v1/reports. Scope reports:read.

ParameterTypeDescription
cursorstringCursor from meta.next_cursor of the previous page. Omit it on the first page. Stop when the next cursor is null.
per_pageintegerRows per page, 1 to 100.
report_typestringOnly jobs of this report type.
statusstringOnly jobs in this status.

vendty_get_report Get a report job

Get one report job by its public ID: status and, when ready, where to download the file. Vendty API: GET /v1/reports/{id}. Scope reports:read.

ParameterTypeDescription
report_id *stringReport job ID (rj_…) from vendty_list_reports.