MyCashflow MCP by usefulapi

v1.5.1
io.usefulapi/mycashflow Checked 4 days ago Published 1 day ago

Read orders, products, stock and customers; add private comments and change stock in MyCashflow.

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

mycashflow_list_orders List orders

List store orders, filterable by status and by created or updated date. Use it to find orders to review or ship. Returns one page; use page and page_size to read more. API: GET /v0/orders.

ParameterTypeDescription
created_fromstringISO 8601 date or date-time.
created_tostringISO 8601 date or date-time.
expandstringComma-separated sub-resources to include, for example translations.
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).
statusstringOnly orders with this status.
updated_fromstringISO 8601 date or date-time.
updated_tostringISO 8601 date or date-time.

mycashflow_get_order Get an order

Get one order by its numeric id, with its products, customer, payments and status. API: GET /v0/orders/{orderID}.

ParameterTypeDescription
order_id *stringNumeric id.
expandstringComma-separated sub-resources to include, for example translations.

mycashflow_get_order_by_external_id Get an order by external ID

Get one order by the external id that your shop or system set on it (for example a marketplace order number). API: GET /v0/orders/external-id={externalID}.

ParameterTypeDescription
external_id *stringThe external id of the order.
expandstringComma-separated sub-resources to include, for example translations.

mycashflow_list_order_shipments List order shipments

List the shipments of one order, with their status and tracking data. API: GET /v0/orders/{orderID}/shipments.

ParameterTypeDescription
order_id *stringNumeric id.
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).

mycashflow_list_products List products

List products in the store, filterable by created or updated date. Returns one page; use page and page_size to read more. API: GET /v1/products.

ParameterTypeDescription
created_fromstringISO 8601 date or date-time.
created_tostringISO 8601 date or date-time.
expandstringComma-separated sub-resources to include, for example translations.
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).
updated_fromstringISO 8601 date or date-time.
updated_tostringISO 8601 date or date-time.

mycashflow_get_product Get a product

Get one product by its numeric id, with its variations, options and visibility. API: GET /v1/products/{productID}.

ParameterTypeDescription
product_id *stringNumeric id.
expandstringComma-separated sub-resources to include, for example translations.

mycashflow_get_product_by_code Get a product by product code

Get one product by its product code (SKU as set in the store). API: GET /v1/products/product_code={productCode}.

ParameterTypeDescription
product_code *stringThe product code (SKU).
expandstringComma-separated sub-resources to include, for example translations.

mycashflow_list_categories List categories

List the product categories of the store. API: GET /v1/categories.

ParameterTypeDescription
expandstringComma-separated sub-resources to include, for example translations.
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).

mycashflow_list_customers List customers

List customer accounts, filterable by created, updated or last login date. Customer data is personal data: request only what you need. API: GET /v1/customers.

ParameterTypeDescription
created_fromstringISO 8601 date or date-time.
created_tostringISO 8601 date or date-time.
expandstringComma-separated sub-resources to include, for example translations.
last_login_fromstringISO 8601 date or date-time.
last_login_tostringISO 8601 date or date-time.
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).
updated_fromstringISO 8601 date or date-time.
updated_tostringISO 8601 date or date-time.

mycashflow_get_customer Get a customer

Get one customer account by its numeric id. API: GET /v1/customers/{customerID}.

ParameterTypeDescription
customer_id *stringNumeric id.
expandstringComma-separated sub-resources to include, for example translations.

mycashflow_get_customer_by_email Get a customer by email

Get one customer account by its email address. API: GET /v1/customers/email={email}.

ParameterTypeDescription
email *stringThe customer's email address.
expandstringComma-separated sub-resources to include, for example translations.

mycashflow_list_stock List stock items

List the stock items (balance per product), filterable by the update date. API: GET /v1/stock.

ParameterTypeDescription
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).
updated_fromstringISO 8601 date or date-time.
updated_tostringISO 8601 date or date-time.

mycashflow_get_stock_item Get a stock item

Get the stock item of one product by its product code. API: GET /v1/stock/{productCode}.

ParameterTypeDescription
product_code *stringThe product code (SKU).

mycashflow_list_stock_changes List stock changes

List the stock movements, each with its balance change and reason. API: GET /v1/stock-changes.

ParameterTypeDescription
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).

mycashflow_list_shipping_methods List shipping methods

List the shipping methods the store offers. API: GET /v1/shipping-methods.

ParameterTypeDescription
expandstringComma-separated sub-resources to include, for example translations.
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).

mycashflow_list_payment_methods List payment methods

List the payment methods the store offers. API: GET /v1/payment-methods.

ParameterTypeDescription
expandstringComma-separated sub-resources to include, for example translations.
pageintegerPage number, starting at 0 (default 0).
page_sizeintegerItems per page (default 50).
sortstringSort order (default id-asc).

mycashflow_add_order_comment Add a private order comment

Add a PRIVATE comment to an order. It is visible only to store admins and sends no email to the customer. Use it for internal notes. API: POST /v0/orders/{orderID}/comments.

ParameterTypeDescription
order_id *stringNumeric id.
text *stringThe comment text.

mycashflow_update_stock_balance Change a stock balance

Add to or subtract from the stock balance of one product by product code. Use a negative balance_change to subtract. Each call changes the live stock count. API: POST /v1/stock/{productCode}/update-balance.

ParameterTypeDescription
balance_change *integerThe amount to add (positive) or subtract (negative).
product_code *stringThe product code (SKU).