---
title: "Update B2B Settings"
method: PUT
path: "/api/b2b/settings"
tags: ["B2B Documents"]
---

# Update B2B Settings

`PUT /api/b2b/settings`

## 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/settings`
- Auth: none declared. Required headers: `authorization`

Update B2B settings.

## Headers

- `x-shop-id` string, nullable: Optional shop ID
- `authorization` string, required: Bearer <token>

## Request body

- B2BSettingsUpdate: B2B設定更新リクエスト
  - `shopify_b2b_enabled` boolean, nullable
  - `shopify_b2b_ai_message` boolean, nullable
  - `invoice_registration_number` string, nullable
  - `invoice_payment_terms` string, nullable
  - `invoice_notes` string, nullable
  - `stamp_image` string, nullable
  - `stamp_width_cm` number, nullable
  - `stamp_position_top_cm` number, nullable
  - `stamp_position_right_cm` number, nullable
  - `bank_transfer_info` BankTransferInfo: 振込先情報
    - `bank_name` string
    - `branch_name` string
    - `account_type` '普通' | '当座'
    - `account_number` string
    - `account_holder` string
  - `b2b_addressee_format` 'company_name_御中' | 'company_name_person_様' | 'person_様', nullable
  - `quotation_validity_days` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/soeru/apis/soeru-api.md) · [All operations](https://skmtc.dev/soeru/apis/soeru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soeru/apis/soeru-api/revisions/63f8d371abed?raw)
