Daras MCP by usefulapi

v1.5.1
io.usefulapi/daras Checked 3 days ago Published 1 day ago

Read products, stock, orders, returns and shipments; update prices and stock in Daras.

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

daras_list_products List products

List the store's products (catalog). Cursor paging: pass nextCursor back as cursor. Merchant API: GET /catalog/products.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.

daras_get_product Get a product

Get one product with its variants and images. Merchant API: GET /catalog/products/{id}.

ParameterTypeDescription
id *stringThe id from a list call.

daras_list_categories List categories

List the store's product categories. Cursor paging. Merchant API: GET /catalog/categories.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.

daras_list_collections List collections

List the store's collections (curated product groups). Cursor paging. Merchant API: GET /catalog/collections.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.

daras_get_collection Get a collection

Get one collection and its products. Merchant API: GET /catalog/collections/{id}.

ParameterTypeDescription
id *stringThe id from a list call.

daras_list_low_stock List low-stock variants

List variants at or below their low-stock threshold. Good first call for restocking. Cursor paging. Merchant API: GET /catalog/inventory/low-stock.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.

daras_list_warehouses List warehouses

List the store's warehouses (stock locations). Cursor paging. Merchant API: GET /warehouses.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.

daras_list_warehouse_stock List stock in a warehouse

List the stock levels of one warehouse, per product and variant. Cursor paging. Merchant API: GET /warehouses/{id}/stock.

ParameterTypeDescription
warehouseId *stringThe id from a list call.
cursorstringnextCursor from the previous page; omit for the first page.

daras_list_orders List orders for a customer

List the store's orders for one customer. Daras requires customerId on this endpoint; get it from daras_list_customers. Cursor paging. Merchant API: GET /orders.

ParameterTypeDescription
customerId *stringThe id from a list call.
cursorstringnextCursor from the previous page; omit for the first page.

daras_get_order Get an order

Get one order with its lines, totals, payment and shipping state. Merchant API: GET /orders/{id}.

ParameterTypeDescription
id *stringThe id from a list call.

daras_list_order_events List order events

List the event history of one order (status changes, payments, notes). Cursor paging. Merchant API: GET /orders/{id}/events.

ParameterTypeDescription
id *stringThe id from a list call.
cursorstringnextCursor from the previous page; omit for the first page.

daras_list_returns List returns

List return requests, optionally for one order or one status (REQUESTED, APPROVED, RECEIVED, REFUNDED, REJECTED, CANCELLED). Cursor paging. Merchant API: GET /returns.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.
orderIdstringOnly returns for this order id.
statusstringOnly returns in this status.

daras_get_return Get a return

Get one return request with its items and status history. Merchant API: GET /returns/{id}.

ParameterTypeDescription
id *stringThe id from a list call.

daras_list_customers List customers

List the store's customers. Cursor paging. Merchant API: GET /customers.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.

daras_get_customer Get a customer

Get one customer's profile and addresses. Merchant API: GET /customers/{id}.

ParameterTypeDescription
id *stringThe id from a list call.

daras_list_fulfillment_orders List fulfillment orders

List fulfillment orders (the warehouse work per order), optionally filtered by status (OPEN, IN_PROGRESS, HOLD, FULFILLED, CANCELLED, CLOSED). Merchant API: GET /fulfillment-orders.

ParameterTypeDescription
limitintegerResults per page (max 200).
orderIdstringOnly fulfillment orders for this order id.
pageintegerPage number (default 1).
statusstringOnly this status.
warehouseIdstringOnly this warehouse.

daras_get_fulfillment_order Get a fulfillment order

Get one fulfillment order with its lines and status. Merchant API: GET /fulfillment-orders/{id}.

ParameterTypeDescription
id *stringThe id from a list call.

daras_list_carriers List shipping carriers

List the shipping carriers available to the store. Cursor paging. Merchant API: GET /shipments/carriers.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.

daras_track_shipment Track a shipment

Get the tracking events of one shipment. Merchant API: GET /shipments/{id}/tracking.

ParameterTypeDescription
id *stringThe id from a list call.

daras_list_webhooks List webhooks

List the webhook subscriptions of the store (their URLs and events). Cursor paging. Merchant API: GET /webhooks.

ParameterTypeDescription
cursorstringnextCursor from the previous page; omit for the first page.

daras_update_variant Update a product variant

Change a variant's name, barcode, price, compare-at price or low-stock threshold. This changes the live shop price or label. Set only the fields to change. Merchant API: PATCH /catalog/variants/{id}.

ParameterTypeDescription
id *stringThe id from a list call.
barcodestringNew barcode (EAN/GTIN).
compareAtPricenumberNew compare-at (strike-through) price.
lowStockThresholdintegerStock level that triggers the low-stock list.
namestringNew variant name.
pricenumberNew selling price, in the store currency.

daras_set_warehouse_stock Set warehouse stock

Set the on-hand quantity of one product (or variant) in one warehouse. It replaces the stored quantity, so repeating the call gives the same result. This changes live stock. Merchant API: POST /warehouses/stock.

ParameterTypeDescription
productId *stringThe id from a list call.
quantity *integerNew on-hand quantity (replaces the old value).
warehouseId *stringThe id from a list call.
incomingintegerQuantity on order, not yet received.
lowStockThresholdintegerStock level that triggers the low-stock list.
variantIdstringVariant id, when the product has variants.