Apilo MCP by usefulapi
v1.8.1Read orders, shipments, products and stock; set order status, notes and stock quantity in Apilo.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
apilo_whoami Get API key info
The Apilo API key (application) this connection uses: client id, name and the date it is valid to. GET /rest/api/whoami/.
apilo_get_map Get lookup table
Apilo's id lookup tables, each a list of { id, key, name, description }: `status` (order statuses, for apilo_list_orders and apilo_update_order_status), `payment` (payment types), `carrier`, `carrier_account`, `platform` (sales channels and their accounts), `tag`, `document` (document types), `shipment_status`. GET /rest/api/orders/<table>/map/.
| Parameter | Type | Description |
|---|---|---|
table * | string | Which lookup table. |
apilo_list_orders List orders
List or search orders (all connected marketplaces and shops), with items, customer address and totals. Filter by date, status, payment, sales channel, carrier, email or phone. Status, payment, carrier and platform ids come from apilo_get_map. Page with limit/offset (reply has totalCount and next_offset). GET /rest/api/orders/.
| Parameter | Type | Description |
|---|---|---|
carrierId | integer | Only orders with this carrier (apilo_get_map carrier). |
createdAfter | string | Created at or after (ISO 8601 date or date-time; offsets are converted to UTC, no zone = UTC). |
createdBefore | string | Created at or before (ISO 8601). |
email | string | Customer email. |
id | string | Apilo order id. |
idExternal | string | The order id in the marketplace or shop. |
isOrderDocument | boolean | Only orders with (true) or without (false) an order document. |
limit | integer | Results per page, 1-512 (default 25). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
orderStatusIds | array | Only these order statuses (ids from apilo_get_map status). |
orderedAfter | string | Ordered by the buyer at or after (ISO 8601). |
orderedBefore | string | Ordered by the buyer at or before (ISO 8601). |
paymentStatus | integer | Payment status code. |
paymentType | integer | Payment type id (apilo_get_map payment). |
phone | string | Customer phone. |
platformAccountId | integer | Only orders of this sales channel account (apilo_get_map platform). |
sort | string | Sort order. |
updatedAfter | string | Updated at or after (ISO 8601). |
updatedBefore | string | Updated at or before (ISO 8601). |
apilo_get_order Get order
One order in full: status, payment, items (SKU, EAN, price, quantity), customer/delivery/invoice addresses, payments, notes, discounts, carrier and sales channel. GET /rest/api/orders/{id}/.
| Parameter | Type | Description |
|---|---|---|
id * | string | Apilo order id, e.g. AL231100017 (the `id` of an order from apilo_list_orders). |
apilo_list_order_notes List order notes
The notes of an order (internal notes and customer messages), with type 1 = customer message, 2 = internal note. GET /rest/api/orders/{id}/note/.
| Parameter | Type | Description |
|---|---|---|
id * | string | Apilo order id, e.g. AL231100017 (the `id` of an order from apilo_list_orders). |
apilo_list_order_documents List order documents
The documents attached to an order (invoices, receipts, labels). GET /rest/api/orders/{id}/documents/.
| Parameter | Type | Description |
|---|---|---|
id * | string | Apilo order id, e.g. AL231100017 (the `id` of an order from apilo_list_orders). |
limit | integer | Results per page, 1-512 (default 25). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
apilo_list_order_shipments List order shipments
The shipments created for an order (Apilo id and carrier's id). GET /rest/api/orders/{id}/shipment/.
| Parameter | Type | Description |
|---|---|---|
id * | string | Apilo order id, e.g. AL231100017 (the `id` of an order from apilo_list_orders). |
limit | integer | Results per page, 1-512 (default 25). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
apilo_get_shipment Get order shipment
One shipment of an order with its details. GET /rest/api/orders/{id}/shipment/{shipment}/.
| Parameter | Type | Description |
|---|---|---|
id * | string | Apilo order id, e.g. AL231100017 (the `id` of an order from apilo_list_orders). |
shipment * | string | Shipment id from apilo_list_order_shipments. |
apilo_list_shipment_tracking List shipment tracking
Tracking status of shipments (status, status date and description, received date and days in transit), filtered by carrier account, post date, received date or status. Page with limit/offset (reply has totalCount and next_offset). GET /rest/api/shipping/shipment/tracking/.
| Parameter | Type | Description |
|---|---|---|
carrierAccountId | array | Carrier account ids (apilo_get_map carrier_account). |
limit | integer | Results per page, 1-512 (default 25). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
postDateAfter | string | Shipment created in Apilo at or after (ISO 8601). |
postDateBefore | string | Shipment created in Apilo at or before (ISO 8601). |
receivedDateAfter | string | Delivered at or after (ISO 8601). |
receivedDateBefore | string | Delivered at or before (ISO 8601). |
status | array | Shipment status codes: 0 new, 1 waiting, 2 registered, 21 in delivery, 9 removed, 31 awaiting collection, 32 returning/error, 100 received, 101 return delivered. |
apilo_list_products List products
List warehouse products with SKU, EAN, name, stock quantity, prices, tax and location. Filter by id, SKU, name, EAN or status. GET /rest/api/warehouse/product/.
| Parameter | Type | Description |
|---|---|---|
ean | string | EAN. |
id | integer | Apilo product id. |
limit | integer | Results per page, 1-512 (default 25). |
name | string | Product name (text). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
sku | string | Exact SKU. |
status | 0 inactive, 1 active, 8 archived. |
apilo_get_product Get product
One warehouse product by Apilo id. GET /rest/api/warehouse/product/{id}/.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Apilo product id. |
apilo_list_categories List categories
Product categories with id, name and parent ids. GET /rest/api/warehouse/category/.
| Parameter | Type | Description |
|---|---|---|
id | integer | Only this category id. |
limit | integer | Results per page, 1-512 (default 25). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
apilo_list_locations List warehouse locations
Warehouse locations (shelves, bins) with id, name and code. GET /rest/api/warehouse/location/.
| Parameter | Type | Description |
|---|---|---|
code | string | Location code. |
id | integer | Only this location id. |
limit | integer | Results per page, 1-512 (default 25). |
name | string | Location name. |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
apilo_list_finance_documents List accounting documents
Accounting documents (invoices, receipts, corrections) with number, amounts, currency and dates. Filter by type and invoice date. GET /rest/api/finance/documents/.
| Parameter | Type | Description |
|---|---|---|
invoiceAfter | string | Invoiced at or after (ISO 8601 date or date-time). |
invoiceBefore | string | Invoiced at or before (ISO 8601 date or date-time). |
limit | integer | Results per page, 1-512 (default 25). |
offset | integer | Records to skip (default 0). Pass the previous reply's next_offset. |
type | Document type: 1 invoice, 5 receipt, 10 proforma, 31 corrective invoice. |
apilo_update_order_status Update order status
WRITE: set an order's status (id from apilo_get_map status). Apilo may run its own automations on a status change (emails, marketplace updates, shipping). Setting the current status changes nothing. PUT /rest/api/orders/{id}/status/.
| Parameter | Type | Description |
|---|---|---|
id * | string | Apilo order id, e.g. AL231100017 (the `id` of an order from apilo_list_orders). |
status * | integer | New status id (apilo_get_map status). |
apilo_add_order_note Add internal order note
WRITE: add an INTERNAL note to an order (never a message to the customer). Not idempotent: calling twice adds two notes. POST /rest/api/orders/{id}/note/.
| Parameter | Type | Description |
|---|---|---|
comment * | string | The note text, up to 1024 characters. |
id * | string | Apilo order id, e.g. AL231100017 (the `id` of an order from apilo_list_orders). |
apilo_set_product_stock Set product stock quantity
WRITE: set the stock quantity of one warehouse product to an absolute number (it replaces the current quantity, so read it with apilo_get_product first if unsure). Apilo may push the new quantity to connected marketplaces. PATCH /rest/api/warehouse/product/.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Apilo product id. |
quantity * | integer | The new stock quantity (units). |