CCV Shop MCP by usefulapi

v1.9.1
io.usefulapi/ccv-shop Checked 2 days ago Published 23 hours ago

Read products, orders, customers and invoices; add internal order notes in CCV Shop.

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

ccvshop_list_products List products

List the products of this webshop, filtered by product number, EAN or a part of the name. Returns items with ids, prices and stock. Uses GET /api/rest/v1/products/.

ParameterTypeDescription
eannumberstringExact EAN barcode.
orderbystringField to sort by. Add _desc to reverse, e.g. create_date_desc (see the list tool's description).
productnamestringPart of the product name (at least 3 characters).
productnumberstringExact product number (SKU).
sizeintegerMaximum number of items to return.
startintegerElement to start from (default 0).

ccvshop_get_product Get a product

Get one product by id, with its prices, stock, description and attributes. Uses GET /api/rest/v1/products/{id}/.

ParameterTypeDescription
product_id *The product id.

ccvshop_list_orders List orders

List orders of this webshop. Filter by order number, status, paid state or a creation date range (yyyy-mm-dd). Use this to find recent sales. Uses GET /api/rest/v1/orders/.

ParameterTypeDescription
is_completedbooleanInclude completed orders (default true).
is_paidbooleanOnly paid (true) or unpaid (false) orders.
max_create_datestringCreated on or before this date (yyyy-mm-dd).
min_create_datestringCreated on or after this date (yyyy-mm-dd).
orderbystringField to sort by. Add _desc to reverse, e.g. create_date_desc (see the list tool's description).
ordernumberintegerExact order number.
sizeintegerMaximum number of items to return.
startintegerElement to start from (default 0).
statusintegerOrder status code (as set in the webshop).

ccvshop_get_order Get an order

Get one order by id: customer, totals, payment and delivery data. Uses GET /api/rest/v1/orders/{id}/.

ParameterTypeDescription
order_id *The order id.

ccvshop_list_order_rows List order rows

List the order lines (products, quantities, prices) of one order. Uses GET /api/rest/v1/orders/{id}/orderrows/.

ParameterTypeDescription
order_id *The order id.
sizeintegerMaximum number of items to return.
startintegerElement to start from (default 0).

ccvshop_add_order_note Add an internal order note

Add an INTERNAL note to one order. The note is not emailed to the customer and does not change the order. Uses POST /api/rest/v1/orders/{id}/ordernotes/.

ParameterTypeDescription
note *stringThe text of the internal note.
order_id *The order id.

ccvshop_list_categories List categories

List the product categories of this webshop. Uses GET /api/rest/v1/categories/.

ParameterTypeDescription
sizeintegerMaximum number of items to return.
startintegerElement to start from (default 0).

ccvshop_list_brands List brands

List the brands of this webshop. Uses GET /api/rest/v1/brands/.

ParameterTypeDescription
sizeintegerMaximum number of items to return.
startintegerElement to start from (default 0).

ccvshop_list_suppliers List suppliers

List the suppliers of this webshop. Uses GET /api/rest/v1/suppliers/.

ParameterTypeDescription
sizeintegerMaximum number of items to return.
startintegerElement to start from (default 0).

ccvshop_list_invoices List invoices

List the invoices of this webshop. Uses GET /api/rest/v1/invoices/.

ParameterTypeDescription
orderbystringField to sort by. Add _desc to reverse, e.g. create_date_desc (see the list tool's description).
sizeintegerMaximum number of items to return.
startintegerElement to start from (default 0).

ccvshop_get_invoice Get an invoice

Get one invoice by id. Uses GET /api/rest/v1/invoices/{id}/.

ParameterTypeDescription
invoice_id *The invoice id.

ccvshop_list_users List customers

List the customer accounts (users) of this webshop, optionally by approval status (pending or accepted). Uses GET /api/rest/v1/users/.

ParameterTypeDescription
approval_statusstringOnly pending or only accepted accounts.
orderbystringField to sort by: id, first_name or last_name (add _desc to reverse).
sizeintegerMaximum number of items to return.
startintegerElement to start from (default 0).

ccvshop_get_user Get a customer

Get one customer account (user) by id. Uses GET /api/rest/v1/users/{id}/.

ParameterTypeDescription
user_id *The customer id.