---
title: "POST /v1/shops/{shopId}/setup/generate-theme"
method: POST
path: "/v1/shops/{shopId}/setup/generate-theme"
tags: ["Endpoints"]
---

# POST /v1/shops/{shopId}/setup/generate-theme

`POST /v1/shops/{shopId}/setup/generate-theme`

## Request

- Base URL: `https://api.sellauth.com`
- URL: `https://api.sellauth.com/v1/shops/{shopId}/setup/generate-theme`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sellauth/apis/sellauth-api/docs/v1/shops/:shopId/setup/generate-theme/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `accent_color` string, nullable: Must match the regex /^#[0-9A-Fa-f]{6}$/.
  - `theme_id` integer, nullable: Must be at least 1.

## Response `200`

## Changes

- **2026-11-02** `ff0d59c98d7a`: 2 info
  - the request property `accent_color` became nullable
  - the request property `theme_id` became nullable
- **2026-09-20** `b029c1ca97a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sellauth/apis/sellauth-api/changes/v1/shops/:shopId/setup/generate-theme/post.md)

---

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