CCV Shop MCP by usefulapi
v1.9.1Read 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/.
| Parameter | Type | Description |
|---|---|---|
eannumber | string | Exact EAN barcode. |
orderby | string | Field to sort by. Add _desc to reverse, e.g. create_date_desc (see the list tool's description). |
productname | string | Part of the product name (at least 3 characters). |
productnumber | string | Exact product number (SKU). |
size | integer | Maximum number of items to return. |
start | integer | Element 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
is_completed | boolean | Include completed orders (default true). |
is_paid | boolean | Only paid (true) or unpaid (false) orders. |
max_create_date | string | Created on or before this date (yyyy-mm-dd). |
min_create_date | string | Created on or after this date (yyyy-mm-dd). |
orderby | string | Field to sort by. Add _desc to reverse, e.g. create_date_desc (see the list tool's description). |
ordernumber | integer | Exact order number. |
size | integer | Maximum number of items to return. |
start | integer | Element to start from (default 0). |
status | integer | Order 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
order_id * | The order id. | |
size | integer | Maximum number of items to return. |
start | integer | Element 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/.
| Parameter | Type | Description |
|---|---|---|
note * | string | The 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/.
| Parameter | Type | Description |
|---|---|---|
size | integer | Maximum number of items to return. |
start | integer | Element to start from (default 0). |
ccvshop_list_brands List brands
List the brands of this webshop. Uses GET /api/rest/v1/brands/.
| Parameter | Type | Description |
|---|---|---|
size | integer | Maximum number of items to return. |
start | integer | Element to start from (default 0). |
ccvshop_list_suppliers List suppliers
List the suppliers of this webshop. Uses GET /api/rest/v1/suppliers/.
| Parameter | Type | Description |
|---|---|---|
size | integer | Maximum number of items to return. |
start | integer | Element to start from (default 0). |
ccvshop_list_invoices List invoices
List the invoices of this webshop. Uses GET /api/rest/v1/invoices/.
| Parameter | Type | Description |
|---|---|---|
orderby | string | Field to sort by. Add _desc to reverse, e.g. create_date_desc (see the list tool's description). |
size | integer | Maximum number of items to return. |
start | integer | Element to start from (default 0). |
ccvshop_get_invoice Get an invoice
Get one invoice by id. Uses GET /api/rest/v1/invoices/{id}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
approval_status | string | Only pending or only accepted accounts. |
orderby | string | Field to sort by: id, first_name or last_name (add _desc to reverse). |
size | integer | Maximum number of items to return. |
start | integer | Element 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}/.
| Parameter | Type | Description |
|---|---|---|
user_id * | The customer id. |