Sapo MCP by usefulapi is an MCP server published by io.usefulapi, hosted at sapo.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 20 tools, including sapo_get_store, sapo_list_products, sapo_count_products, sapo_get_product, sapo_list_product_variants.
Read Sapo store products, orders, customers and stock levels; edit order notes and stock.
4,379 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
The Sapo store this login belongs to: name, domain, currency, timezone, plan and other settings. GET /admin/store.json.
No parameters.
{
"name": "sapo_get_store",
"title": "Get store",
"description": "The Sapo store this login belongs to: name, domain, currency, timezone, plan and other settings. GET /admin/store.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get store",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
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 |
|---|---|---|
| ids | array | Only these product ids. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-250 (default 50). |
| query | string | Search by product name. |
| vendor | string | Exact vendor (brand) name. |
| since_id | integer | Only products with an id greater than this. |
| product_type | string | Exact product type. |
| 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. |
| 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. |
{
"name": "sapo_list_products",
"title": "List products",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 250,
"minItems": 1,
"description": "Only these product ids."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 250,
"description": "Results per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Search by product name."
},
"vendor": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact vendor (brand) name."
},
"since_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only products with an id greater than this.",
"exclusiveMinimum": 0
},
"product_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact product type."
},
"collection_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only products in this collection (see sapo_list_custom_collections).",
"exclusiveMinimum": 0
},
"created_on_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z."
}
}
},
"annotations": {
"title": "List products",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Number of products matching the filters. GET /admin/products/count.json.
| Parameter | Type | Description |
|---|---|---|
| vendor | string | Exact vendor (brand) name. |
| product_type | string | Exact product type. |
| 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. |
{
"name": "sapo_count_products",
"title": "Count products",
"description": "Number of products matching the filters. GET /admin/products/count.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"vendor": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact vendor (brand) name."
},
"product_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact product type."
},
"collection_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only products in this collection (see sapo_list_custom_collections).",
"exclusiveMinimum": 0
},
"created_on_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z."
}
}
},
"annotations": {
"title": "Count products",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One product by id, with variants and images. GET /admin/products/{id}.json.
| Parameter | Type | Description |
|---|---|---|
| product_id * | integer | Sapo product id. |
{
"name": "sapo_get_product",
"title": "Get product",
"description": "One product by id, with variants and images. GET /admin/products/{id}.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"product_id"
],
"properties": {
"product_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Sapo product id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get product",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The variants (size, color, SKU, barcode, price) of one product. Paged. GET /admin/products/{product_id}/variants.json.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-250 (default 50). |
| product_id * | integer | Sapo product id. |
{
"name": "sapo_list_product_variants",
"title": "List product variants",
"description": "The variants (size, color, SKU, barcode, price) of one product. Paged. GET /admin/products/{product_id}/variants.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"product_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 250,
"description": "Results per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"product_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Sapo product id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List product variants",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One product variant by id. GET /admin/variants/{id}.json.
| Parameter | Type | Description |
|---|---|---|
| variant_id * | integer | Sapo variant id. |
{
"name": "sapo_get_product_variant",
"title": "Get product variant",
"description": "One product variant by id. GET /admin/variants/{id}.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"variant_id"
],
"properties": {
"variant_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Sapo variant id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get product variant",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List manual product collections (danh mục thủ công). Paged. GET /admin/custom_collections.json.
| Parameter | Type | Description |
|---|---|---|
| name | string | Filter by collection name. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-250 (default 50). |
| product_id | integer | Only collections that contain this product. |
{
"name": "sapo_list_custom_collections",
"title": "List collections",
"description": "List manual product collections (danh mục thủ công). Paged. GET /admin/custom_collections.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Filter by collection name."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 250,
"description": "Results per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"product_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only collections that contain this product.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List collections",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| tag | string | Only orders with this tag. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-250 (default 50). |
| 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. |
| customer_id | integer | Only orders of this customer. |
| 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. |
| 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. |
| 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). |
{
"name": "sapo_list_orders",
"title": "List orders",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"tag": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only orders with this tag."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 250,
"description": "Results per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Search text (order number, customer name, phone, email)."
},
"status": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Order status: open (Sapo default when omitted, so archived orders are left out), closed, or any (all orders). Pass any for date-range totals."
},
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only orders of this customer.",
"exclusiveMinimum": 0
},
"created_on_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "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": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Fulfillment status (for example unfulfilled, fulfilled, partial)."
}
}
},
"annotations": {
"title": "List orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Number of orders matching the filters. GET /admin/orders/count.json.
| Parameter | Type | Description |
|---|---|---|
| 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. |
| 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. |
| 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. |
| 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). |
{
"name": "sapo_count_orders",
"title": "Count orders",
"description": "Number of orders matching the filters. GET /admin/orders/count.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"status": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Order status: open (Sapo default when omitted, so archived orders are left out), closed, or any (all orders). Pass any for date-range totals."
},
"created_on_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "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": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Fulfillment status (for example unfulfilled, fulfilled, partial)."
}
}
},
"annotations": {
"title": "Count orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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. |
{
"name": "sapo_get_order",
"title": "Get order",
"description": "One order by id with line items, addresses, discounts, payment and shipping. GET /admin/orders/{id}.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Sapo order id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get order",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The payment transactions recorded on one order. GET /admin/orders/{order_id}/transactions.json.
| Parameter | Type | Description |
|---|---|---|
| order_id * | integer | Sapo order id. |
{
"name": "sapo_list_order_transactions",
"title": "List order transactions",
"description": "The payment transactions recorded on one order. GET /admin/orders/{order_id}/transactions.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Sapo order id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List order transactions",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List customers with contact details, addresses, order count and total spent. Paged. GET /admin/customers.json.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-250 (default 50). |
| since_id | integer | Only customers with an id greater than this. |
| 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. |
| 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. |
{
"name": "sapo_list_customers",
"title": "List customers",
"description": "List customers with contact details, addresses, order count and total spent. Paged. GET /admin/customers.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 250,
"description": "Results per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"since_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only customers with an id greater than this.",
"exclusiveMinimum": 0
},
"created_on_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "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_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z."
}
}
},
"annotations": {
"title": "List customers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Total number of customers. GET /admin/customers/count.json.
No parameters.
{
"name": "sapo_count_customers",
"title": "Count customers",
"description": "Total number of customers. GET /admin/customers/count.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Count customers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One customer by id. GET /admin/customers/{id}.json.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | integer | Sapo customer id. |
{
"name": "sapo_get_customer",
"title": "Get customer",
"description": "One customer by id. GET /admin/customers/{id}.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Sapo customer id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get customer",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-250 (default 50). |
| query | string | Search by name, code or phone. |
| status | string | Branch status; Sapo spells the inactive value "expried". |
{
"name": "sapo_list_locations",
"title": "List locations",
"description": "List branches, stores and warehouses (id, name, address, whether they track stock). Use the ids for stock levels. Paged. GET /admin/locations.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 250,
"description": "Results per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Search by name, code or phone."
},
"status": {
"enum": [
"active",
"expried"
],
"type": "string",
"description": "Branch status; Sapo spells the inactive value \"expried\"."
}
}
},
"annotations": {
"title": "List locations",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-250 (default 50). |
| query | string | Search by barcode or SKU. |
| product_ids | array | Only these product ids. |
| variant_ids | array | Only these variant ids. |
{
"name": "sapo_list_inventory_items",
"title": "List inventory items",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 250,
"minItems": 1,
"description": "Only these inventory item ids."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 250,
"description": "Results per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Search by barcode or SKU."
},
"product_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 250,
"minItems": 1,
"description": "Only these product ids."
},
"variant_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 250,
"minItems": 1,
"description": "Only these variant ids."
}
}
},
"annotations": {
"title": "List inventory items",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| location_ids | array | Only these location ids (see sapo_list_locations). |
| 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). |
{
"name": "sapo_list_inventory_levels",
"title": "List inventory levels",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"location_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 250,
"minItems": 1,
"description": "Only these location ids (see sapo_list_locations)."
},
"available_max": {
"type": "number",
"description": "Only levels with at most this much available."
},
"available_min": {
"type": "number",
"description": "Only levels with at least this much available."
},
"inventory_item_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 250,
"minItems": 1,
"description": "Only these inventory item ids (see sapo_list_inventory_items)."
}
}
},
"annotations": {
"title": "List inventory levels",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List discount price rules (percentage, fixed amount, fixed price) with validity dates and usage counts. Paged. GET /admin/price_rules.json.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| limit | integer | Results per page, 1-250 (default 50). |
| times_used | integer | Only rules used exactly this many times. |
| 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. |
| 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. |
| 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. |
{
"name": "sapo_list_price_rules",
"title": "List price rules",
"description": "List discount price rules (percentage, fixed amount, fixed price) with validity dates and usage counts. Paged. GET /admin/price_rules.json.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 250,
"description": "Results per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"times_used": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Only rules used exactly this many times."
},
"ends_on_max": {
"type": "string",
"description": "Only rules that end on or before this date."
},
"ends_on_min": {
"type": "string",
"description": "Only rules that end on or after this date."
},
"starts_on_max": {
"type": "string",
"description": "Only rules that start on or before this date."
},
"starts_on_min": {
"type": "string",
"description": "Only rules that start on or after this date."
},
"created_on_max": {
"type": "string",
"description": "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": {
"type": "string",
"description": "ISO 8601 date or date-time (UTC unless it carries an offset), e.g. 2026-10-01 or 2026-10-01T00:00:00Z."
}
}
},
"annotations": {
"title": "List price rules",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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 |
|---|---|---|
| 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). |
| order_id * | integer | Sapo order id. |
{
"name": "sapo_update_order",
"title": "Update order note or tags",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"note": {
"type": "string",
"maxLength": 5000,
"description": "New order note (replaces the old one; empty string clears it)."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"description": "New tag list (replaces all tags; an empty list clears them)."
},
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Sapo order id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Update order note or tags",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}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 |
|---|---|---|
| reason | string | Why the stock changes (default: Sapo's own default). |
| on_hand * | number | Physical on-hand quantity to set (at most 3 decimals are kept). |
| location_id * | integer | Location id (see sapo_list_locations). |
| inventory_item_id * | integer | Inventory item id (see sapo_list_inventory_items). |
{
"name": "sapo_set_inventory_level",
"title": "Set stock quantity",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"inventory_item_id",
"location_id",
"on_hand"
],
"properties": {
"reason": {
"enum": [
"inventory_change_by_damaged",
"inventory_change_by_return_restock",
"inventory_change_by_transfer",
"inventory_change_by_manufacture",
"inventory_change_by_loss",
"inventory_change_by_correction",
"inventory_change_by_other_reason"
],
"type": "string",
"description": "Why the stock changes (default: Sapo's own default)."
},
"on_hand": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "Physical on-hand quantity to set (at most 3 decimals are kept)."
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (see sapo_list_locations).",
"exclusiveMinimum": 0
},
"inventory_item_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Inventory item id (see sapo_list_inventory_items).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Set stock quantity",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Tools for Sapo, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "How many orders came in this week and which ones are still unpaid?"; "Which products are running low on stock at my main branch?"; "Which customers were created since October 1, and how much has each spent?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Sapo data. Free plan: 50 tool calls per month. Run sapo_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run sapo_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run sapo_upgrade without a plan: it returns both plans, each with a payment link for the user to open. sapo_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.