soeru Products API
The Products API from soeru — 16 operation(s) for products.
The Products API from soeru — 16 operation(s) for products.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/soeru-biz:soeru-biz-products-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: soeru Products API
description: AIパーソナライズ明細書メッセージ自動生成SaaS
version: 0.1.0
tags:
- name: Products
paths:
/api/products:
get:
tags:
- Products
summary: List Products
description: 'List products in the shop''s catalog.
q を渡すと item_name / learned_summary / platform_item_id を横断 ilike 検索する
(全件サーバー検索・ページング対応)。'
operationId: list_products_api_products_get
parameters:
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by learning_status
title: Status
description: Filter by learning_status
- name: q
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: 商品名/要約/商品IDの横断検索 (ilike)
title: Q
description: 商品名/要約/商品IDの横断検索 (ilike)
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Offset
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/digest-overlaps:
get:
tags:
- Products
summary: Get Digest Overlaps
description: 'Shop 内の素材リスト重複疑いペアを返す.
UI バッジ + 重複疑い notice に使う.'
operationId: get_digest_overlaps_api_products_digest_overlaps_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/maintenance-status:
get:
tags:
- Products
summary: Product Maintenance Status
description: '商品お手入れカード用の検知を返す (注文駆動4バケツ・cost0)。
unlearned/stale/missing/contaminated + count + page。soeru は LLM を呼ばない。'
operationId: product_maintenance_status_api_products_maintenance_status_get
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Offset
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/{product_id}:
get:
tags:
- Products
summary: Get Product
description: Get full product details including learned knowledge.
operationId: get_product_api_products__product_id__get
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Products
summary: Update Product
description: Manually update product knowledge.
operationId: update_product_api_products__product_id__put
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateProductRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Products
summary: Delete Product
description: Delete a product from the catalog.
operationId: delete_product_api_products__product_id__delete
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/learn:
post:
tags:
- Products
summary: Learn Products
description: Trigger AI learning for specified products.
operationId: learn_products_api_products_learn_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ManualLearnRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/learn-from-orders:
post:
tags:
- Products
summary: Learn From Orders
description: Learn products from existing order history.
operationId: learn_from_orders_api_products_learn_from_orders_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/manual:
post:
tags:
- Products
summary: Add Manual Product
description: Manually add a product to the catalog (before orders arrive).
operationId: add_manual_product_api_products_manual_post
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ManualProductRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/quota/url-learn:
get:
tags:
- Products
summary: Get Url Learn Quota
description: 商品 URL 学習の当月 quota を返す (UI 表示用)。
operationId: get_url_learn_quota_api_products_quota_url_learn_get
parameters:
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/{product_id}/learn-url:
post:
tags:
- Products
summary: Learn From Url
description: '商品ページURLを取得し raw_data に格納する (PL-P7: 取り込みのみ・cost0)。
事実抽出は BYO-AI (MCP) が行うため soeru は LLM を呼ばない。よって月間 quota は撤去
(取得は API/HTTP だけで安価)。取得後は learning_status=''pending'' になり、商品お手入れ
カード / compose_message のインライン学習で店主の AI が学ぶ。'
operationId: learn_from_url_api_products__product_id__learn_url_post
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/URLLearnRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/{product_id}/hint:
patch:
tags:
- Products
summary: Update Manual Hint
description: Set or update a manual hint for a product.
operationId: update_manual_hint_api_products__product_id__hint_patch
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ManualHintRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/{product_id}/canonical:
patch:
tags:
- Products
summary: Confirm Canonical Name
description: Confirm/lock canonical names for this product (Layer 3 manual_2step).
operationId: confirm_canonical_name_api_products__product_id__canonical_patch
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConfirmCanonicalRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/{product_id}/canonicalize:
post:
tags:
- Products
summary: Backfill Canonical Name
description: Run Layer 2 canonicalization on an existing product (backfill).
operationId: backfill_canonical_name_api_products__product_id__canonicalize_post
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/canonicalize-all:
post:
tags:
- Products
summary: Bulk Canonicalize All
description: 'Bulk-canonicalize all learned products that lack canonical_name_*.
Returns counts: processed / succeeded / skipped (manual). Errors per
product are silently logged + counted but don''t abort the batch.'
operationId: bulk_canonicalize_all_api_products_canonicalize_all_post
parameters:
- name: max_products
in: query
required: false
schema:
type: integer
maximum: 500
minimum: 1
default: 100
title: Max Products
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/{product_id}/corrections:
get:
tags:
- Products
summary: List Product Corrections
description: Return the product_name_corrections timeline for this product.
operationId: list_product_corrections_api_products__product_id__corrections_get
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/{product_id}/forbidden:
delete:
tags:
- Products
summary: Unban Forbidden Variant
description: Remove one entry from forbidden_variants (operator override).
operationId: unban_forbidden_variant_api_products__product_id__forbidden_delete
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenVariantRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/products/{product_id}/digest:
get:
tags:
- Products
summary: Get Product Digest
description: 'Get the active product_digest for a product (UI 表示用).
Returns:
digest_text: メッセージ生成時に writer に渡される本文
manual_override: True なら sho が手動で書いた版 (自動再生成されない)
compiled_by_model: どの方法で作られたか
manual_edited_at: 最後の手動編集時刻
compiled_at: 自動生成時刻'
operationId: get_product_digest_api_products__product_id__digest_get
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Products
summary: Update Product Digest
description: 'Manually override product_digest text.
`manual_override=true` を立てると次回の自動再生成で上書きされなくなる.
sho が「これが正しい digest だ」と確定する操作.'
operationId: update_product_digest_api_products__product_id__digest_patch
parameters:
- name: product_id
in: path
required: true
schema:
type: string
title: Product Id
- name: x-shop-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional shop ID
title: X-Shop-Id
description: Optional shop ID
- name: authorization
in: header
required: true
schema:
type: string
description: Bearer <token>
title: Authorization
description: Bearer <token>
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DigestUpdateRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ManualLearnRequest:
properties:
items:
items:
additionalProperties: true
type: object
type: array
title: Items
type: object
required:
- items
title: ManualLearnRequest
description: Request to manually trigger product learning.
DigestUpdateRequest:
properties:
digest_text:
type: string
maxLength: 2000
minLength: 10
title: Digest Text
type: object
required:
- digest_text
title: DigestUpdateRequest
description: Request to manually override product_digest text (2026-05-16).
UpdateProductRequest:
properties:
learned_summary:
anyOf:
- type: string
- type: 'null'
title: Learned Summary
learned_knowledge:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Learned Knowledge
type: object
title: UpdateProductRequest
description: Request to manually update product knowledge.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ManualProductRequest:
properties:
item_name:
type: string
maxLength: 200
minLength: 1
title: Item Name
manual_hint:
type: string
maxLength: 500
title: Manual Hint
default: ''
type: object
required:
- item_name
title: ManualProductRequest
description: Request to manually add a product to the catalog.
URLLearnRequest:
properties:
url:
type: string
maxLength: 2000
minLength: 10
title: Url
type: object
required:
- url
title: URLLearnRequest
description: Request to learn product knowledge from a URL.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
ConfirmCanonicalRequest:
properties:
conversational:
type: string
maxLength: 100
minLength: 1
title: Conversational
formal:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Formal
category:
anyOf:
- type: string
maxLength: 60
- type: 'null'
title: Category
vague:
anyOf:
- type: string
maxLength: 60
- type: 'null'
title: Vague
type: object
required:
- conversational
title: ConfirmCanonicalRequest
description: 'Request to confirm the canonical (4-register) product names.
`conversational` is the primary name SOERU should use when addressing the
customer (e.g., 「スパイスカレーキット」). The other three are optional —
if omitted, we leave the existing value untouched (so Haiku''s prior
canonicalization is preserved where the operator didn''t override it).'
ManualHintRequest:
properties:
hint:
type: string
maxLength: 500
title: Hint
type: object
required:
- hint
title: ManualHintRequest
description: Request to set/update a manual hint for a product.
ForbiddenVariantRequest:
properties:
variant:
type: string
maxLength: 200
minLength: 1
title: Variant
type: object
required:
- variant
title: ForbiddenVariantRequest
description: Request to remove (un-ban) a forbidden variant.