B2B Documents

Generate B2B Documents

一般注文と卸注文が混在した選択を、1本のPDFにまとめて出力する。

ハイブリッド運用 (2026-08-03): B2B帳票機能を ON にしているショップでも、出荷キューには一般消費者の注文が 普通に並ぶ。ここでは注文ごとに卸かどうかを DB から確定させ、卸だけを法人 書式 (納品書/請求書/…) に回し、一般のお客様には従来の明細書を出す。

Rate limit: 20 requests per minute per user.

post/api/b2b/generate

Request

  • Base URL: https://api.soeru.biz (the document declares no server; this is the origin it was published from)
  • URL: https://api.soeru.biz/api/b2b/generate
  • Auth: none declared. Required headers: authorization

Headers

x-shop-idstring nullable

Optional shop ID

authorizationstring required

Bearer <token>

Request body

document_typesstring[]

グローバルの帳票タイプ(注文別指定がない場合のフォールバック)

ordersobject[] required

注文データ配列。各注文は document_types を含めることが可能

include_ai_messageboolean nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.