Channable MCP by usefulapi

v1.13.1
io.usefulapi/channable Checked 2 days ago Published 22 hours ago

Read marketplace orders and returns; send shipment, cancellation and stock updates.

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

channable_list_orders List orders

List the marketplace orders of a project, newest first. Filters combine with AND; dates are read as UTC. Paged: pass next_offset as offset (total is the size of the page, not of all orders). Reply: orders, error_count (orders with an error), count, next_offset. GET /v2/companies/{company}/projects/{project}/orders.

ParameterTypeDescription
end_datestringOrders created on or before this date.
errorsbooleantrue = only orders with an error.
last_modified_afterstringOrders modified after this date.
last_modified_beforestringOrders modified before this date.
limitintegerResults per page, 1-100 (default 100).
offsetintegerSkip this many results (default 0). Use next_offset from the previous reply.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.
retrieved_at_endstringOrders retrieved from the marketplace on or before this date.
retrieved_at_startstringOrders retrieved from the marketplace on or after this date.
searchstringFree-text search (order ids, names, products).
start_datestringOrders created on or after this date (yyyy-mm-dd or ISO 8601, UTC).
statusarrayOnly orders in one of these statuses: shipped, not_shipped, waiting, cancelled, processing, pending_shipment, pending_cancellation, cancellation_request, awaiting_confirmation, partial, manual.

channable_get_order Get an order

One order with its customer, addresses, items, status, fulfillments and event log. order_id is the Channable order id (the id field from channable_list_orders). GET /v2/companies/{company}/projects/{project}/orders/{order_id}.

ParameterTypeDescription
order_id *integerChannable order id.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.

channable_ship_order Mark an order as shipped

Set an order to shipped, with tracking data. Give transporter as a Channable transporter code (channable_list_transporters lists them) and tracking_code. Pass order_item_ids to ship only some items (the order then becomes partial; repeat with the other items later); omit it to ship the whole order. Spartoo and Veepee do not support partial shipments. POST /v1/companies/{company}/projects/{project}/orders/{order_id}/shipment. Channable passes this change on to the marketplace. It cannot be undone through this API and the call is never retried; if it times out, check the order in Channable befor…

ParameterTypeDescription
order_id *integerChannable order id.
delivery_bill_idstringDelivery bill id, if the marketplace asks for it.
order_item_idsarrayOnly these order items are shipped (partial shipment). Omit to ship all.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.
return_tracking_codestringTrack and trace code of the return label.
return_transporterstringTransporter code for the return label, if the marketplace asks for it.
tracking_codestringTrack and trace code of the parcel.
transporterstringChannable transporter code, e.g. POSTNL, DHL, DPD.

channable_cancel_order Cancel an order

Seller-side cancellation: set an order to cancelled. Pass order_item_ids to cancel only some items (the order then becomes partial); omit it to cancel the whole order. Amazon, Cdiscount and Spartoo do not support partial cancellations. A buyer-side cancellation must be confirmed in the marketplace seller account instead. POST /v1/companies/{company}/projects/{project}/orders/{order_id}/cancel. Channable passes this change on to the marketplace. It cannot be undone through this API and the call is never retried; if it times out, check the order in Channable before trying again.

ParameterTypeDescription
order_id *integerChannable order id.
order_item_idsarrayOnly these order items are cancelled (partial cancellation). Omit to cancel all.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.

channable_mark_order_manual Mark an order as handled manually

Tell Channable that you handle this order yourself: Channable takes no further action on it (no status updates to the marketplace). POST /v1/companies/{company}/projects/{project}/orders/{order_id}/manual. Channable passes this change on to the marketplace. It cannot be undone through this API and the call is never retried; if it times out, check the order in Channable before trying again.

ParameterTypeDescription
order_id *integerChannable order id.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.

channable_create_return Create a return for an order

Manually create a return on the marketplace for products of an order. Only Fruugo, Otto, Veepee and Zalando support this. products lists the product ids (the item id of the order), the quantity and optionally accepted or rejected. POST /v1/companies/{company}/projects/{project}/orders/{order_id}/return. Channable passes this change on to the marketplace. It cannot be undone through this API and the call is never retried; if it times out, check the order in Channable before trying again.

ParameterTypeDescription
order_id *integerChannable order id.
products *arrayThe products to return.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.

channable_list_returns List returns

List the returns of a project, newest first. Dates are read as UTC. Paged: pass next_offset as offset. Reply: returns, error_count, count, next_offset. GET /v1/companies/{company}/projects/{project}/returns.

ParameterTypeDescription
end_datestringReturns created on or before this date.
errorsbooleantrue = only returns with an error.
last_modified_afterstringReturns modified after this date.
last_modified_beforestringReturns modified before this date.
limitintegerResults per page, 1-100 (default 100).
offsetintegerSkip this many results (default 0). Use next_offset from the previous reply.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.
retrieved_at_endstringReturns retrieved on or before this date.
retrieved_at_startstringReturns retrieved on or after this date.
searchstringFree-text search.
start_datestringReturns created on or after this date (yyyy-mm-dd or ISO 8601, UTC).

channable_get_return Get a return

One return with its item, reason, customer, status and log. return_id is the id field from channable_list_returns. GET /v1/companies/{company}/projects/{project}/returns/{return_id}.

ParameterTypeDescription
return_id *integerChannable return id.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.

channable_update_return_status Set the status of a return

Set the status of a return: accepted, rejected, repaired, keeps, exchanged, cancelled. Depending on the status the customer does or does not get their money back (accepted and cancelled differ from rejected). POST /v1/companies/{company}/projects/{project}/returns/{return_id}/status. Channable passes this change on to the marketplace. It cannot be undone through this API and the call is never retried; if it times out, check the order in Channable before trying again.

ParameterTypeDescription
return_id *integerChannable return id.
status *stringThe new return status.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.

channable_list_stock_updates List posted stock updates

List the offers (product stock updates) that were posted to a project, newest first: id, stock, price, title, GTIN. Paged: pass next_offset as offset. Reply: offers, count, next_offset. GET /v1/companies/{company}/projects/{project}/offers.

ParameterTypeDescription
end_datestringOffers created on or before this date.
last_modified_afterstringOffers modified after this date.
last_modified_beforestringOffers modified before this date.
limitintegerResults per page, 1-100 (default 100).
offsetintegerSkip this many results (default 0). Use next_offset from the previous reply.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.
searchstringFree-text search (offer id, title, GTIN).
start_datestringOffers created on or after this date (UTC).

channable_update_stock Update product stock on all marketplaces

Set the stock of up to 50 offers. Each item is the offer id as the marketplaces know it, plus the WHOLE new stock value (not a delta). Channable passes the new stock to every marketplace of the project, which changes what customers can buy. POST /v1/companies/{company}/projects/{project}/stock_updates. Channable passes this change on to the marketplace. It cannot be undone through this API and the call is never retried; if it times out, check the order in Channable before trying again.

ParameterTypeDescription
updates *array1-50 stock updates.
project_idintegerChannable project id (Project settings). Default: the project chosen at login.

channable_get_order_statistics Get order statistics

Order statistics of a project for a time frame: orders, ordered products, marketplace commission, shipping costs, revenue and daily revenue, per order connection and in total. Pass order_config_id (the order_config_id field of an order) for one order connection only. GET /v1/companies/{company}/projects/{project}/statistics/orders[/{order_config_id}].

ParameterTypeDescription
end_datestringLast day.
order_config_idintegerOnly this order connection (the order_config_id of an order).
project_idintegerChannable project id (Project settings). Default: the project chosen at login.
start_datestringFirst day (yyyy-mm-dd or ISO 8601, UTC).

channable_list_transporters List transporter codes

Channable transporter codes for shipping updates. With no argument: all codes and labels (transporter_code is what channable_ship_order expects). With transporter_code: the marketplace-specific carriers behind that code. With channel (a marketplace such as bol, amazon, ebay): the carriers that marketplace supports. Give at most one of the two. GET /v1/transporters/all | /transporter/{code} | /channel/{channel}.

ParameterTypeDescription
channelstringA marketplace name, lowercase, e.g. bol, amazon, ebay, otto.
transporter_codestringA Channable transporter code, e.g. DHL.