> ## Documentation Index
> Fetch the complete documentation index at: https://developers.paysum.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish theme

> Builds the drafts on the server and makes them the live storefront. Every publish is kept as a version you can restore from the dashboard.

`POST /api/store-api/theme/publish`

Builds the drafts on the server and makes them the live storefront. Every publish is kept as a version you can restore from the dashboard.

Permission: `themes:write`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.