soeru Brands API

The Brands API from soeru — 4 operation(s) for brands.

GitHub OpenAPI

Operations 4

GET /api/brands List Brands #
PATCH /api/brands/{brand_id} Rename Brand #
POST /api/brands/{brand_id}/archive Archive Brand #
POST /api/brands/{brand_id}/restore Restore Brand #

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-brands-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-brands-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: soeru Brands API
  description: AIパーソナライズ明細書メッセージ自動生成SaaS
  version: 0.1.0
tags:
- name: Brands
paths:
  /api/brands:
    get:
      tags:
      - Brands
      summary: List Brands
      description: 'owner の active brands 一覧 + 現在の plan (primary brand 基準) を返す。


        フロント /dashboard/settings/brands ページで brand 一覧と plan バッジを

        描画するために使う。'
      operationId: list_brands_api_brands_get
      parameters:
      - 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/brands/{brand_id}:
    patch:
      tags:
      - Brands
      summary: Rename Brand
      description: ブランド名を変更。owner 認証 + 同名衝突チェック。
      operationId: rename_brand_api_brands__brand_id__patch
      parameters:
      - name: brand_id
        in: path
        required: true
        schema:
          type: string
          title: Brand 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/BrandUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/brands/{brand_id}/archive:
    post:
      tags:
      - Brands
      summary: Archive Brand
      description: 'ブランドを archive する。14 日後に cron が物理削除。


        制約:

        - primary brand (owner の最古 active brand) は archive 不可

        - archive 時、紐付く Stripe Subscription は cancel_at_period_end で

        予約キャンセル (月末まで使える、自動課金停止)'
      operationId: archive_brand_api_brands__brand_id__archive_post
      parameters:
      - name: brand_id
        in: path
        required: true
        schema:
          type: string
          title: Brand 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/brands/{brand_id}/restore:
    post:
      tags:
      - Brands
      summary: Restore Brand
      description: 'archive 期間中 (14日以内) に復活させる。


        archive 時に Stripe sub は cancel_at_period_end=True (= 月末まで使える)

        にしていたので、restore では cancel_at_period_end=False に戻すことで

        サブスクをそのまま継続させる。月を跨いでいなければ課金・利用に影響なし。'
      operationId: restore_brand_api_brands__brand_id__restore_post
      parameters:
      - name: brand_id
        in: path
        required: true
        schema:
          type: string
          title: Brand 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:
    BrandUpdateRequest:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 100
            minLength: 1
          - type: 'null'
          title: Name
      type: object
      title: BrandUpdateRequest
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError