MarketTime MCP by usefulapi
v1.12.1MCP server for MarketTime — wholesale orders, customers, catalog and shipment tracking.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
markettime_list_manufacturers List manufacturers
List the manufacturers (brands) connected to this account: id, name, email, city, category, connection date. Sort fields: name (default), manufacturerID, connectionDate, dateAdded, dateModified, city. GET /manufacturers.
| Parameter | Type | Description |
|---|---|---|
active | boolean | true = only active manufacturers, false = only inactive. |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
sort | string | Sort field, e.g. name, connectionDate, dateModified. |
sort_direction | string | Sort direction (MarketTime's default is descending). |
markettime_get_manufacturer Get manufacturer
One manufacturer's details by its id (like M123). GET /manufacturers/{id}.
| Parameter | Type | Description |
|---|---|---|
manufacturer_id * | string | The MarketTime id. |
markettime_list_orders List orders
Search wholesale orders (for the newest first use sort_field orderDate with sort_direction desc). Convenience filters: status (the manufacturer's order status, e.g. NEW, SENT, SHIPPED), rep_group_status (Rep Group accounts only), po_number, customer_name (contains), manufacturer_id, customer_id, ordered_from/ordered_to (order date), modified_since. Order lines are left out unless include_details is true (they make replies large; use markettime_list_order_details for the lines of one order). Card tokens are never returned. POST /orders/get.
| Parameter | Type | Description |
|---|---|---|
customer_id | string | Customer (retailer) id, like B123. |
customer_name | string | Customer (retailer) name contains this text. |
filters | array | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. |
include_details | boolean | Include the order lines (default false). |
manufacturer_id | string | The MarketTime id. |
modified_since | string | Only orders changed on or after this date. |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
ordered_from | string | A date, yyyy-mm-dd. |
ordered_to | string | A date, yyyy-mm-dd. |
page_size | integer | Rows per page, 1-250 (default 50). |
po_number | string | Purchase order number equals this value. |
rep_group_status | string | repGroupOrderStatus equals this value (Rep Group accounts). |
sort_direction | string | Sort direction (MarketTime's default is descending). |
sort_field | string | Sort field, e.g. orderDate, dateModified, orderTotal, poNumber. |
status | string | manufacturerOrderStatus equals this value. |
markettime_list_order_details List order lines
List order lines (item, quantity, unit price) across orders or for one order (order_id). Filters: order dates, statuses, manufacturer, PO number, unit price range. GET /orders/orderdetails.
| Parameter | Type | Description |
|---|---|---|
manufacturer_id | string | The MarketTime id. |
manufacturer_status | string | |
max_unit_price | number | |
min_unit_price | number | |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
order_id | integer | Only the lines of this order (the order's recordID). |
ordered_from | string | A date, yyyy-mm-dd. |
ordered_to | string | A date, yyyy-mm-dd. |
page_size | integer | Rows per page, 1-250 (default 50). |
po_number | string | |
rep_group_status | string | |
sort_direction | string | Sort direction (MarketTime's default is descending). |
sort_field | string |
markettime_get_order_changes_history Get order changes history
The audit trail of one order: who changed what and when (Rep Group accounts). POST /orders/{orderId}/orderChangesHistory/get (a read-only search).
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | The order's recordID. |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
markettime_list_order_shipments List order shipments
Shipment and tracking records of one order (tracking number, link, carrier, ship date, invoice). GET /orders/{orderId}/trackingdetails/get.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | The order's recordID. |
markettime_list_customers List customers
List customers (retailers/buyers) with name, email, address, status (ACTIVE, INACTIVE, LEAD), customer number and salesperson. Filters: name (contains), state, status, modified_since. The customers' own API keys are never returned. POST /customers/get.
| Parameter | Type | Description |
|---|---|---|
filters | array | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. |
modified_since | string | Only customers changed on or after this date. |
name | string | Customer name contains this text. |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
rep_group_id | string | Manufacturer accounts only: limit to this Rep Group's customers. |
sort_direction | string | Sort direction (MarketTime's default is descending). |
sort_field | string | customerNumber: Rep Group accounts only; accountNumber and shipToAccountNumber: Manufacturer accounts only. |
state | string | State equals this value. |
status | string |
markettime_get_customer Get customer
One customer's full record by id (like B123): addresses, contacts, ship-to locations, terms, pricing method. Their API key is never returned. GET /customers/{id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The MarketTime id. |
rep_group_id | string | Manufacturer accounts only: the Rep Group the customer belongs to. |
markettime_list_customer_contacts List customer contacts
The contact people of one customer (name, email, phone, title). GET /customers/{id}/contacts.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The MarketTime id. |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
markettime_list_customer_ship_to_locations List customer ship-to locations
The ship-to locations of one customer (name, address, account number). GET /customers/{id}/shiptolocations.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The MarketTime id. |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
markettime_list_items List items
Search the product catalog: item number, name, prices, case quantity, stock, UPC, categories, images. Filters: name (contains), item_number, manufacturer_id, modified_since. POST /items/get.
| Parameter | Type | Description |
|---|---|---|
filters | array | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. |
item_number | string | Item number equals this value. |
manufacturer_id | string | The MarketTime id. |
modified_since | string | Only items changed on or after this date. |
name | string | Item name contains this text. |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
sort_direction | string | Sort direction (MarketTime's default is descending). |
sort_field | string |
markettime_get_item Get item
One catalog item by its numeric record id (the recordID/itemID in item lists). GET /items/{itemID}.
| Parameter | Type | Description |
|---|---|---|
item_id * | integer |
markettime_list_item_inventory List item inventory
Stock levels per item: quantity available, quantity on the water, next available date, availability flag. Sort fields: itemNumber, nextAvailableDate, qtyAvailable, isAvailable. GET /items/inventory.
| Parameter | Type | Description |
|---|---|---|
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
sort | string | |
sort_direction | string | Sort direction (MarketTime's default is descending). |
markettime_list_item_pricing List item pricing
Pricing detail per item (unit price, retail price, price codes, discounts). GET /items/pricing.
| Parameter | Type | Description |
|---|---|---|
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
markettime_list_salespersons List salespersons
List the Rep Group's salespeople (name, abbreviation, status, ids). Rep Group accounts only. POST /salespersons/get.
| Parameter | Type | Description |
|---|---|---|
name | string | Name contains this text. |
offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
page_size | integer | Rows per page, 1-250 (default 50). |
sort_direction | string | Sort direction (MarketTime's default is descending). |
sort_field | string |
markettime_list_commission_order_payments List commission order payments
Order payment and commission records (what was paid on which order, commission percent), Rep Group accounts only. Filters: order_id, modified_since, or custom filters (allowed fields: orderID, checkLogID, invoiceNumber, type, commissionPayDate, salespersonPaidID, dateAdded, dateModified). Card tokens and card data are never returned. Paged by page number. POST /commissions/orderpayments/get.
| Parameter | Type | Description |
|---|---|---|
filters | array | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. |
modified_since | string | A date, yyyy-mm-dd. |
order_id | integer | Only payments of this order (field orderID). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Rows per page, 1-250 (default 50). |
markettime_create_order_shipment Create order shipment
WRITE: add a shipment with tracking to an order (manufacturer accounts only). This creates a new shipment record each time it is called (it is not idempotent) and MarketTime may notify the customer of the tracking details; calling it twice makes a duplicate. Check markettime_list_order_shipments first. POST /orders/{orderId}/trackingdetails.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | The order's recordID. |
shipping_method * | string | Carrier / shipping method, e.g. UPS Ground. |
tracking_link * | string | The carrier's tracking URL (https). |
tracking_number * | string | |
invoice_amount | number | |
invoice_number | string | |
notes | string | |
ship_date | string | A date, yyyy-mm-dd. |
markettime_create_customer Create customer
WRITE: create a new customer (retailer) account record. It is not idempotent: calling it twice may create two customers, so search with markettime_list_customers by name first. Does not send an invitation by itself. POST /customers.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
name * | string | |
phone * | string | Phone number, at most 12 characters (MarketTime limit). |
address1 | string | |
address2 | string | |
city | string | |
country | string | Country code, at most 4 characters (e.g. US). |
external_id | string | Your own id for this customer, to link external systems. |
notes | string | |
state | string | |
status | string | Customer status (default chosen by MarketTime). |
website | string | |
zip | string |