Sapo MCP by usefulapi
v1.19.1Read Sapo store products, orders, customers and stock levels; edit order notes and stock.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sapo_get_store Get store
The Sapo store this login belongs to: name, domain, currency, timezone, plan and other settings. GET /admin/store.json.
sapo_list_products List products
List products with their variants, prices, SKUs and images. Filter by name, vendor, type, collection or created/modified dates. Paged: pass next_page as page. GET /admin/products.json.
| Parameter | Type | Description |
|---|---|---|
collection_id | integer | Only products in this collection (see sapo_list_custom_collections). |
created_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
created_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
ids | array | Only these product ids. |
limit | integer | Results per page, 1-250 (default 50). |
modified_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
modified_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
product_type | string | Exact product type. |
query | string | Search by product name. |
since_id | integer | Only products with an id greater than this. |
vendor | string | Exact vendor (brand) name. |
sapo_count_products Count products
Number of products matching the filters. GET /admin/products/count.json.
| Parameter | Type | Description |
|---|---|---|
collection_id | integer | Only products in this collection (see sapo_list_custom_collections). |
created_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
created_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
product_type | string | Exact product type. |
vendor | string | Exact vendor (brand) name. |
sapo_get_product Get product
One product by id, with variants and images. GET /admin/products/{id}.json.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | Sapo product id. |
sapo_list_product_variants List product variants
The variants (size, color, SKU, barcode, price) of one product. Paged. GET /admin/products/{product_id}/variants.json.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | Sapo product id. |
limit | integer | Results per page, 1-250 (default 50). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
sapo_get_product_variant Get product variant
One product variant by id. GET /admin/variants/{id}.json.
| Parameter | Type | Description |
|---|---|---|
variant_id * | integer | Sapo variant id. |
sapo_list_custom_collections List collections
List manual product collections (danh mục thủ công). Paged. GET /admin/custom_collections.json.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-250 (default 50). |
name | string | Filter by collection name. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
product_id | integer | Only collections that contain this product. |
sapo_list_orders List orders
List orders with line items, customer, totals, payment and fulfillment status. Filter by status, tag, customer or dates. Paged: pass next_page as page. GET /admin/orders.json.
| Parameter | Type | Description |
|---|---|---|
created_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
created_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
customer_id | integer | Only orders of this customer. |
financial_status | string | Payment status: authorized, pending, paid, refunded, voided, or any. Sapo default when omitted: authorized, pending and paid only (refunded and voided are left out). |
fulfillment_status | string | Fulfillment status (for example unfulfilled, fulfilled, partial). |
limit | integer | Results per page, 1-250 (default 50). |
modified_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
modified_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
query | string | Search text (order number, customer name, phone, email). |
status | string | Order status: open (Sapo default when omitted, so archived orders are left out), closed, or any (all orders). Pass any for date-range totals. |
tag | string | Only orders with this tag. |
sapo_count_orders Count orders
Number of orders matching the filters. GET /admin/orders/count.json.
| Parameter | Type | Description |
|---|---|---|
created_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
created_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
financial_status | string | Payment status: authorized, pending, paid, refunded, voided, or any. Sapo default when omitted: authorized, pending and paid only (refunded and voided are left out). |
fulfillment_status | string | Fulfillment status (for example unfulfilled, fulfilled, partial). |
modified_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
modified_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
status | string | Order status: open (Sapo default when omitted, so archived orders are left out), closed, or any (all orders). Pass any for date-range totals. |
sapo_get_order Get order
One order by id with line items, addresses, discounts, payment and shipping. GET /admin/orders/{id}.json.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Sapo order id. |
sapo_list_order_transactions List order transactions
The payment transactions recorded on one order. GET /admin/orders/{order_id}/transactions.json.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Sapo order id. |
sapo_list_customers List customers
List customers with contact details, addresses, order count and total spent. Paged. GET /admin/customers.json.
| Parameter | Type | Description |
|---|---|---|
created_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
created_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
limit | integer | Results per page, 1-250 (default 50). |
modified_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
modified_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
since_id | integer | Only customers with an id greater than this. |
sapo_count_customers Count customers
Total number of customers. GET /admin/customers/count.json.
sapo_get_customer Get customer
One customer by id. GET /admin/customers/{id}.json.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | Sapo customer id. |
sapo_list_locations List locations
List branches, stores and warehouses (id, name, address, whether they track stock). Use the ids for stock levels. Paged. GET /admin/locations.json.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-250 (default 50). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
query | string | Search by name, code or phone. |
status | string | Branch status; Sapo spells the inactive value "expried". |
sapo_list_inventory_items List inventory items
List inventory items (one per variant) by SKU/barcode search, variant or product ids. The id is what stock levels use as inventory_item_id. Paged. GET /admin/inventory_items.json.
| Parameter | Type | Description |
|---|---|---|
ids | array | Only these inventory item ids. |
limit | integer | Results per page, 1-250 (default 50). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
product_ids | array | Only these product ids. |
query | string | Search by barcode or SKU. |
variant_ids | array | Only these variant ids. |
sapo_list_inventory_levels List inventory levels
Stock per item and location: on_hand, available, committed, incoming, reserved. Filter by inventory item or location ids, or by a minimum/maximum available quantity. Sapo documents no paging for this list, so narrow it with ids. GET /admin/inventory_levels.json.
| Parameter | Type | Description |
|---|---|---|
available_max | number | Only levels with at most this much available. |
available_min | number | Only levels with at least this much available. |
inventory_item_ids | array | Only these inventory item ids (see sapo_list_inventory_items). |
location_ids | array | Only these location ids (see sapo_list_locations). |
sapo_list_price_rules List price rules
List discount price rules (percentage, fixed amount, fixed price) with validity dates and usage counts. Paged. GET /admin/price_rules.json.
| Parameter | Type | Description |
|---|---|---|
created_on_max | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
created_on_min | string | ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z. |
ends_on_max | string | Only rules that end on or before this date. |
ends_on_min | string | Only rules that end on or after this date. |
limit | integer | Results per page, 1-250 (default 50). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
starts_on_max | string | Only rules that start on or before this date. |
starts_on_min | string | Only rules that start on or after this date. |
times_used | integer | Only rules used exactly this many times. |
sapo_update_order Update order note or tags
WRITE: set the note and/or the tags of an order (Sapo only lets an order's items and quantities stay fixed after creation). The value REPLACES the existing note or tags: read the order first to keep what is there. PUT /admin/orders/{id}.json.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Sapo order id. |
note | string | New order note (replaces the old one; empty string clears it). |
tags | array | New tag list (replaces all tags; an empty list clears them). |
sapo_set_inventory_level Set stock quantity
WRITE: set the physical stock (on_hand) of one inventory item at one location to an exact quantity, with a reason. This OVERWRITES the current number and is recorded as a stock adjustment: read the level first (sapo_list_inventory_levels). PUT /admin/inventory_levels/set.json.
| Parameter | Type | Description |
|---|---|---|
inventory_item_id * | integer | Inventory item id (see sapo_list_inventory_items). |
location_id * | integer | Location id (see sapo_list_locations). |
on_hand * | number | Physical on-hand quantity to set (at most 3 decimals are kept). |
reason | string | Why the stock changes (default: Sapo's own default). |