ChannelEngine MCP by usefulapi

v1.9.1
io.usefulapi/channelengine Checked 1 day ago Published 6 hours ago

Read orders, products, stock and returns; acknowledge orders and set stock in ChannelEngine.

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

channelengine_list_channels List channels

List the marketplaces and webshops (channels) connected to this merchant account, with their ids. Good first call: channel ids are used by the other filters. Merchant API: GET /api/v2/channels.

channelengine_get_settings Get account settings

Get the merchant account settings in ChannelEngine. Merchant API: GET /api/v2/settings.

channelengine_list_stock_locations List stock locations

List the stock locations (warehouses) of this merchant account, with their ids. Merchant API: GET /api/v2/stocklocations.

channelengine_list_orders List orders

List orders with filters: status, order numbers, channel, order date range and acknowledgement state. Returns Content plus TotalCount. Merchant API: GET /api/v2/orders.

ParameterTypeDescription
channel_idsarrayFilter on one or more channel ids (see channelengine_list_channels).
channel_order_nosarrayFilter on one or more channel order numbers.
from_datestringOrder date from (inclusive).
is_acknowledgedbooleanOnly acknowledged (true) or unacknowledged (false) orders.
merchant_order_nosarrayFilter on one or more merchant order numbers.
pageintegerPage number (default 1).
statusesarrayFilter on one or more order statuses (for example NEW, IN_PROGRESS or SHIPPED). AWAITING_PAYMENT orders are excluded unless listed.
to_datestringOrder date until (exclusive).

channelengine_get_new_orders Get new orders

Get the orders that are new and not yet processed by the merchant (the usual order-intake call). Merchant API: GET /api/v2/orders/new.

ParameterTypeDescription
stock_location_idintegerOnly orders for this stock location id.

channelengine_acknowledge_order Acknowledge order (write)

WRITE: acknowledge one order, which tells the channel the merchant accepted it. Needs the ChannelEngine OrderId (from channelengine_list_orders). Optionally sets your own MerchantOrderNo on it. Merchant API: POST /api/v2/orders/acknowledge.

ParameterTypeDescription
order_id *integerThe ChannelEngine order id (the Id field of the order).
merchant_order_nostringYour own order reference to store on the order.

channelengine_list_products List products

Search the merchant product catalogue by name, merchant product number, EAN or brand, or by explicit lists of product numbers or EANs. Merchant API: GET /api/v2/products.

ParameterTypeDescription
eansarrayFilter on one or more EAN codes.
merchant_product_nosarrayFilter on one or more merchant product numbers (SKUs).
pageintegerPage number (default 1).
page_sizeintegerProducts per page (default: all).
searchstringSearch by name, merchant product number, EAN or brand.

channelengine_get_product Get product

Get one product by its merchant product number (SKU). Merchant API: GET /api/v2/products/{merchantProductNo}.

ParameterTypeDescription
merchant_product_no *stringThe merchant product number (SKU).

channelengine_list_channel_listings List products on a channel

List the products listed on one channel (marketplace or webshop), optionally for given merchant product numbers. Merchant API: GET /api/v2/channels/{channelId}/products.

ParameterTypeDescription
channel_id *integerThe channel id (see channelengine_list_channels).
merchant_product_nosarrayFilter on one or more merchant product numbers (SKUs).
pageintegerPage number (default 1).

channelengine_get_stock Get stock levels

Get the stock level per product across all stock locations. Pages start at index 0 here. Merchant API: GET /api/v2/offer/stock.

ParameterTypeDescription
page_indexintegerPage index, starting at 0.
page_sizeintegerItems per page (default 100).
skusarrayFilter on one or more product SKUs (merchant product numbers).
stock_location_idsarrayFilter on one or more stock location ids.

channelengine_update_stock Update stock levels (write)

WRITE: set the absolute stock for products at stock locations. This changes live stock on every connected channel. Send the full stock per location, not a change. Merchant API: PUT /api/v2/offer/stock.

ParameterTypeDescription
updates *arrayStock updates, one entry per product (max 100).

channelengine_list_shipments List shipments

List shipments created for merchant orders, with filters on order, shipment, create date and channel. Merchant API: GET /api/v2/shipments/merchant.

ParameterTypeDescription
channel_idintegerOnly shipments for this channel id.
channel_order_nosarrayFilter on one or more channel order numbers.
from_create_datestringCreated from (inclusive).
merchant_order_nosarrayFilter on one or more merchant order numbers.
merchant_shipment_nosarrayFilter on one or more merchant shipment numbers.
pageintegerPage number (default 1).
to_create_datestringCreated until (exclusive).

channelengine_list_returns List returns

List returns for merchant orders, with filters on channel, order, status, date and acknowledgement. Merchant API: GET /api/v2/returns/merchant.

ParameterTypeDescription
channel_idsarrayFilter on one or more channel ids.
channel_order_nosarrayFilter on one or more channel order numbers.
from_datestringCreated from (inclusive).
is_acknowledgedbooleanOnly acknowledged (true) or unacknowledged (false) returns.
merchant_order_nosarrayFilter on one or more merchant order numbers.
pageintegerPage number (default 1).
statusesarrayFilter on one or more return statuses.
to_datestringCreated until (exclusive).

channelengine_list_cancellations List cancellations

List order cancellations for this merchant, with filters on creation date and order numbers. Merchant API: GET /api/v2/cancellations/merchant.

ParameterTypeDescription
channel_order_nosarrayFilter on one or more channel order numbers.
created_sincestringCreated since this date-time.
created_tostringCreated until this date-time.
merchant_order_nosarrayFilter on one or more merchant order numbers.
pageintegerPage number (default 1).

channelengine_list_notifications List notifications

List notifications ChannelEngine raised for this merchant (for example order or shipment problems), with date and order filters. Merchant API: GET /api/v2/notifications.

ParameterTypeDescription
channel_order_nosarrayFilter on one or more channel order numbers.
from_datestringFrom this date-time.
merchant_order_nosarrayFilter on one or more merchant order numbers.
pageintegerPage number (default 1).
to_datestringUntil this date-time.
typesarrayFilter on one or more notification types.