soeru Settings API

The Settings API from soeru — 5 operation(s) for settings.

GitHub OpenAPI

Operations 7

GET /api/settings Get Settings #
PATCH /api/settings Patch Settings #
POST /api/settings/upload-logo Upload Logo #
GET /api/settings/message-sync/shops List Message Syncable Shops #
POST /api/settings/message-sync Enable Message Sync #
DELETE /api/settings/message-sync Disable Message Sync #
GET /api/settings/message-sync/status Get Message Sync Status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/soeru-biz:soeru-biz-settings-api"
All apis
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.

Get an API 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 Specification

soeru-biz-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: soeru Settings API
  description: AIパーソナライズ明細書メッセージ自動生成SaaS
  version: 0.1.0
tags:
- name: Settings
paths:
  /api/settings:
    get:
      tags:
      - Settings
      summary: Get Settings
      description: 'Get current shop settings (including shop info).


        Voice Link Option α (2026-05-03): 同期 shop の場合、voice 系 frozen

        フィールド + voice_dna は親の値で overlay して返す。これにより UI が

        「実際に生成で使われる値」を表示でき、矛盾 (子で OFF / 親で全 ON 等) が

        起きない。同期情報も `voice_sync.is_synced / source_shop_id /

        source_shop_name` として公開し、フロントが read-only banner を出せる。'
      operationId: get_settings_api_settings_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'
    patch:
      tags:
      - Settings
      summary: Patch Settings
      description: Update shop settings.
      operationId: patch_settings_api_settings_patch
      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/UpdateSettingsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/settings/upload-logo:
    post:
      tags:
      - Settings
      summary: Upload Logo
      description: Upload a logo image (stored as base64 data URL in settings).
      operationId: upload_logo_api_settings_upload_logo_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:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_logo_api_settings_upload_logo_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/settings/message-sync/shops:
    get:
      tags:
      - Settings
      summary: List Message Syncable Shops
      description: List other shops owned by the same user that have message settings configured.
      operationId: list_message_syncable_shops_api_settings_message_sync_shops_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/settings/message-sync:
    post:
      tags:
      - Settings
      summary: Enable Message Sync
      description: 'Enable message sync: copy message settings from source shop and link.'
      operationId: enable_message_sync_api_settings_message_sync_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/MessageSyncRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Settings
      summary: Disable Message Sync
      description: 'Disable message sync: this shop will use its own settings.'
      operationId: disable_message_sync_api_settings_message_sync_delete
      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/settings/message-sync/status:
    get:
      tags:
      - Settings
      summary: Get Message Sync Status
      description: Get the current message sync status.
      operationId: get_message_sync_status_api_settings_message_sync_status_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'
components:
  schemas:
    Body_upload_logo_api_settings_upload_logo_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
        logo_type:
          type: string
          title: Logo Type
          default: marketplace
      type: object
      required:
      - file
      title: Body_upload_logo_api_settings_upload_logo_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UpdateSettingsRequest:
      properties:
        shop_name:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Shop Name
        shop_url:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Shop Url
        message_tone:
          anyOf:
          - type: string
          - type: 'null'
          title: Message Tone
        min_length:
          anyOf:
          - type: integer
            maximum: 2000.0
            minimum: 10.0
          - type: 'null'
          title: Min Length
        max_length:
          anyOf:
          - type: integer
            maximum: 5000.0
            minimum: 50.0
          - type: 'null'
          title: Max Length
        seasonal_greeting:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Seasonal Greeting
        required_phrases:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Required Phrases
        required_phrases_position:
          anyOf:
          - type: string
          - type: 'null'
          title: Required Phrases Position
        forbidden_words:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Forbidden Words
        repeat_customer_message_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Repeat Customer Message Enabled
        repeat_rules:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Repeat Rules
        product_keyword_rules:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Product Keyword Rules
        review_request:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Review Request
        review_request_text:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Review Request Text
        coupon_code:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Coupon Code
        coupon_text:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Coupon Text
        closing_text:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Closing Text
        opening_text:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Opening Text
        message_blocks:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Message Blocks
        addressee_format:
          anyOf:
          - type: string
          - type: 'null'
          title: Addressee Format
        font_id:
          anyOf:
          - type: string
            maxLength: 50
          - type: 'null'
          title: Font Id
        paper_size:
          anyOf:
          - type: string
          - type: 'null'
          title: Paper Size
        font_size:
          anyOf:
          - type: integer
            maximum: 72.0
            minimum: 6.0
          - type: 'null'
          title: Font Size
        text_color:
          anyOf:
          - type: string
            pattern: ^#[0-9a-fA-F]{6}$
          - type: 'null'
          title: Text Color
        rakuten_service_secret:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Rakuten Service Secret
        rakuten_license_key:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Rakuten License Key
        anthropic_api_key:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Anthropic Api Key
        yahoo_app_id:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Yahoo App Id
        yahoo_secret:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Yahoo Secret
        yahoo_seller_id:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Yahoo Seller Id
        yahoo_public_key:
          anyOf:
          - type: string
            maxLength: 4000
          - type: 'null'
          title: Yahoo Public Key
        yahoo_public_key_version:
          anyOf:
          - type: string
            maxLength: 20
          - type: 'null'
          title: Yahoo Public Key Version
        amazon_seller_id:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Amazon Seller Id
        amazon_mws_auth_token:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Amazon Mws Auth Token
        amazon_marketplace_id:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Amazon Marketplace Id
        brand_profile:
          anyOf:
          - type: string
            maxLength: 5000
          - type: 'null'
          title: Brand Profile
        brand_profile_urls:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Brand Profile Urls
        company_name:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Company Name
        company_address:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Company Address
        company_phone:
          anyOf:
          - type: string
            maxLength: 50
          - type: 'null'
          title: Company Phone
        company_url:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Company Url
        company_fax:
          anyOf:
          - type: string
            maxLength: 50
          - type: 'null'
          title: Company Fax
        company_postal:
          anyOf:
          - type: string
            maxLength: 20
          - type: 'null'
          title: Company Postal
        marketplace_logo_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Marketplace Logo Url
        brand_logo_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Brand Logo Url
        default_output_mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Default Output Mode
        slip_sections:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Slip Sections
        accent_color:
          anyOf:
          - type: string
            pattern: ^#[0-9a-fA-F]{6}$
          - type: 'null'
          title: Accent Color
        header_style:
          anyOf:
          - type: string
          - type: 'null'
          title: Header Style
        message_border_style:
          anyOf:
          - type: string
          - type: 'null'
          title: Message Border Style
        custom_rules:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Custom Rules
        soeru_link_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Soeru Link Enabled
        message_sync_source_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Message Sync Source Id
        notify_batch_completion:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Notify Batch Completion
      type: object
      title: UpdateSettingsRequest
    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
    MessageSyncRequest:
      properties:
        source_shop_id:
          type: string
          title: Source Shop Id
      type: object
      required:
      - source_shop_id
      title: MessageSyncRequest
      description: Enable message settings sync from another shop.