---
title: "Patch Settings"
method: PATCH
path: "/api/settings"
tags: ["Settings"]
---

# Patch Settings

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

Update shop settings.

## Headers

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

## Request body

- UpdateSettingsRequest
  - `shop_name` string, nullable
  - `shop_url` string, nullable
  - `message_tone` string, nullable
  - `min_length` integer, nullable
  - `max_length` integer, nullable
  - `seasonal_greeting` boolean, nullable
  - `required_phrases` unknown[], nullable
    - unknown
  - `required_phrases_position` string, nullable
  - `forbidden_words` unknown[], nullable
    - unknown
  - `repeat_customer_message_enabled` boolean, nullable
  - `repeat_rules` object, nullable
  - `product_keyword_rules` unknown[], nullable
    - unknown
  - `review_request` boolean, nullable
  - `review_request_text` string, nullable
  - `coupon_code` string, nullable
  - `coupon_text` string, nullable
  - `closing_text` string, nullable
  - `opening_text` string, nullable
  - `message_blocks` unknown[], nullable
    - unknown
  - `addressee_format` string, nullable
  - `font_id` string, nullable
  - `paper_size` string, nullable
  - `font_size` integer, nullable
  - `text_color` string, nullable
  - `rakuten_service_secret` string, nullable
  - `rakuten_license_key` string, nullable
  - `anthropic_api_key` string, nullable
  - `yahoo_app_id` string, nullable
  - `yahoo_secret` string, nullable
  - `yahoo_seller_id` string, nullable
  - `yahoo_public_key` string, nullable
  - `yahoo_public_key_version` string, nullable
  - `amazon_seller_id` string, nullable
  - `amazon_mws_auth_token` string, nullable
  - `amazon_marketplace_id` string, nullable
  - `brand_profile` string, nullable
  - `brand_profile_urls` unknown[], nullable
    - unknown
  - `company_name` string, nullable
  - `company_address` string, nullable
  - `company_phone` string, nullable
  - `company_url` string, nullable
  - `company_fax` string, nullable
  - `company_postal` string, nullable
  - `marketplace_logo_url` string, nullable
  - `brand_logo_url` string, nullable
  - `default_output_mode` string, nullable
  - `slip_sections` unknown[], nullable
    - unknown
  - `accent_color` string, nullable
  - `header_style` string, nullable
  - `message_border_style` string, nullable
  - `custom_rules` unknown[], nullable
    - unknown
  - `soeru_link_enabled` boolean, nullable
  - `message_sync_source_id` string, nullable
  - `notify_batch_completion` boolean, 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)
